(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: aria2 | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: $local_fs $remote_fs | |
# Should-Start: $network | |
# Should-Stop: $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: aria2c init script. |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Use case: You have repository A with remote location rA, and repository B (which may or may not have remote location rB). You want to do one of two things:
NB: Check out git subtree
/git submodule
and this Stack Overflow question before going through the steps below. This gist is just a record of how I solved this problem on my own one day.
Before starting, make sure your local and remote repositories are up-to-date with all changes you need. The following steps use the general idea of changing the remote origin and renaming the local master branch of one of the repos in order to combine the two master branches.
# This might break all the things. Be careful. | |
# | |
# So I got a new Kodi media thing. | |
# And I wanted to create a new (clear) library. | |
# But I also wanted to keep watched status for things I'd watched. | |
# What follows are manual steps I took. | |
# | |
# dump the data on the old server | |
sqlite3 ~/.kodi/userdata/Database/MyVideos93.db |
// Install the latest Xcode, with the Command Line Tools. | |
// Install Homebrew | |
// Install aircrack-ng: | |
brew install aircrack-ng | |
// Create the following symlink: | |
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/sbin/airport | |
// Figure out which channel you need to sniff: | |
sudo airport -s |
/* | |
* This is free and unencumbered software released into the public domain. | |
* | |
* For more information, please refer to <https://unlicense.org> | |
*/ | |
//Regular text | |
#define BLK "\e[0;30m" | |
#define RED "\e[0;31m" | |
#define GRN "\e[0;32m" |
#!/bin/bash | |
# Pre: make sure you have the find-rom-name binary available in your PATH | |
# binaries available @ https://www.luigidifraia.com/software/#Filename_extractors | |
for filename in *.TAP; do | |
echo -n "Parsing $filename: " | |
cbm_name=$(find-rom-name "$filename" | grep "^FOUND:" | awk '{ print $2 }' | sed -e "s/\"//g") | |
if [ ! -z $cbm_name ]; then | |
mv "${filename}" "${filename%.*}_${cbm_name}.${filename##*.}" |
All the projects below are Open Hardware or Free Software, please refer to the license of the individual project for more details.
Note that the repositories of some projects might be private and thus inaccessible. This means that the projects is still in development but it should be released soon.