Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| #!/usr/bin/python3 | |
| # | |
| # If you are using Thunderbird and other todo clients that do not support | |
| # creation of new calendars on a CalDav backend (such as Fastmail), you'll | |
| # need to tell Fastmail directly via CalDav. | |
| # | |
| # Dependencies: On Debian/Ubuntu, install python3-caldav: | |
| # | |
| # sudo apt install python3-caldav | |
| # |
| # gitignore template for Jupyter Notebooks | |
| # website: http://jupyter.org/ | |
| .ipynb_checkpoints | |
| */.ipynb_checkpoints/* | |
| # IPython | |
| profile_default/ | |
| ipython_config.py |
If you own an AMEX card, you can add a bunch of offers to the card in this link: https://global.americanexpress.com/offers/eligible
There are many offers, and they change all the time. Instead of clicking "Add to card" repeatedly, I created this bookmarklet.
In Chrome, add a new bookmark (right click on bookmarks bar -> "Add Page...") with the following URL:
Ever felt envious of those pretty green lock on sites like Github.com or Google.com? Ever wished to have one of those for services on your homelab? Well wish no more because I have a guide for you!
This guide is written for Ubuntu 16.04 server with domain registered on NameSilo and nameservers using Cloudflare. However it will work for any OS that Caddy supports (this includes Linux, Windows, macOS and many others on several architectures) and any other DNS provider with an API that Caddy supports.
Reed Slaby, March 2018
Having grown tired of wasting a perfectly good monitor on my ethereum mining rig, I finally decided to replace the Ubuntu Desktop 16.04 installation with Ubuntu Server 16.04. Many of the gtutorials available at the time of this writing range from unecessarily complicated to flat-out wrong. This guide is intended to address many of those shortfalls.
To complete this guide, you should already have:
| # | |
| # This script is depricated go to this repo to get the latest version: | |
| # https://github.com/shokinn/emby-updater | |
| # | |
| # | |
| # | |
| # If you still need the old (bash) version, you can find it in the older Versions of this gist. | |
| # |
As of January 2018, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it. There is also an ansible role attached that automates it all for you.
You may want to be able to pick between a NethunterOS (based on LineageOS) and a different ROM to seperate work from please.
Multirom allows you to pick which OS (or ROM) to load on boot (think of GRUB).
| #!/bin/bash | |
| # Thanks to Josh Highland! | |
| # http://joshhighland.com/2011/07/14/rename-all-files-names-in-a-directory-to-lower-case/ | |
| for i in *; do mv "$i" "$(echo $i|tr A-Z a-z)"; done |