The maintained version now lives at Installation Step-by-Step, part of scyto/homelab-docs.
Questions or troubleshooting? Continue the conversation here — a Q&A discussion where replies thread properly, answers can be marked, and everything is searchable. The 27 comments below stay exactly where they are as an archive.
| CC = gcc | |
| RM = rm -f | |
| INSTRUMENT_FOR_PROMETHEUS := false | |
| ifeq ($(INSTRUMENT_FOR_PROMETHEUS),true) | |
| CFLAGS = -Wall -DINSTRUMENT_FOR_PROMETHEUS | |
| LIBS = -lbcm2835 -lprom -lpromhttp -lmicrohttpd | |
| else | |
| CFLAGS = -Wall |
| kodi-send --action='RunPlugin(plugin://plugin.video.themoviedb.helper?info=trakt_collection_tv)' | |
| ###~/.kodi/addons/plugin.video.themoviedb.helper/resources/lib/container.py | |
| def router(self): | |
| # ROUTER LIST FUNCTIONS | |
| if self.params.get('info') == 'stream': | |
| from resources.lib.player import Player | |
| xbmcplugin.setResolvedUrl(self.handle, True, xbmcgui.ListItem(path=str())) | |
| params = self.params.copy() |
- Install iTerm2 from https://www.iterm2.com/
- Install oh-my-zsh from https://ohmyz.sh/ or https://github.com/robbyrussell/oh-my-zsh
- Set iTerm2 theme tab theme to Dark -
Preferences | Appearance | Tabs | Theme > Dark - Install Fira Code fonts from https://github.com/tonsky/FiraCode (Clone and navigate to
dstr > ttf, install all font files by double clicking) - Install Powerline fonts from https://github.com/powerline/fonts
- Set fonts for iTerm2 -
Preferences | Profiles | Text- Change
Fontto14pt Fira code regularand CheckUse Ligaturescheckbox - Change
Non ASCII Fontto14pt Fira monoand CheckUse Ligaturescheckbox
- Change
- Install iTerm2 snazzy theme from https://github.com/sindresorhus/iterm2-snazzy
- Navigate to
Preferences | Profiles | Color Presets > Snazzy
- Navigate to
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
| # ======================================================== | |
| # Setup a Dumb AP, Wired backbone for OpenWRT / LEDE | |
| # ======================================================== | |
| # Set lan logical interface as bridge (to allow bridge multiple physical interfaces) | |
| uci set network.lan.type='bridge' | |
| # assign WAN physical interface to LAN (will be available as an additional LAN port now) | |
| uci set network.lan.ifname="$(uci get network.lan.ifname) $(uci get network.wan.ifname)" | |
| uci del network.wan.ifname | |
| # Remove wan logical interface, since we will not need it. | |
| uci del network.wan |
| /* | |
| Automatically click all "Verify your email" links in the welcome e-mail from | |
| Nintendo Pokémon Trainer Club's signup e-mails. | |
| Only unread emails in inbox will be processed. | |
| All processed e-mails will be marked as read if verification was successful, | |
| and optionally moved to trash if it's enabled in your settings. | |
| How to use: | |
| 1. Login to Gmail |
| import java.awt.Point; | |
| import java.io.BufferedReader; | |
| import java.io.FileReader; | |
| import java.io.IOException; | |
| import java.util.HashSet; | |
| import java.util.Set; | |
| public class Day3 { | |
| public static void main(String[] args) { |
The most important part of Jupyter for our purposes is the Notebook, a tool for developing and documenting code across a variety of languages. Take a moment and check out a gallery of fantastic notebooks to get an idea of what it is used for.
All users can install Jupyter according to the installation instructions in the Jupyter documentation. I will refer to this as the "Anaconda method" because that is the package manager recommended in the official documentation. This should work smoothly, especially if you primarily intend to use Python in Jupyter.
However, for Mac users, I would recommend an alternative installation method (the "Homebrew method") that should make it easier to support alternative languages.
| #!/usr/bin/env bash | |
| # Create a page in the current dir | |
| echo "My Test Page" > test.html | |
| # Start server | |
| python -m SimpleHTTPServer 8000 &> /dev/null & | |
| pid=$! | |
| # Give server time to start up |