This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
find . -name "*.mp3" -print | sort > "tracks.pls" | |
if [[ "$1" == "openmic" ]]; then | |
liquidsoap 'output.icecast(%mp3(bitrate=192), host="anonradio.net", port=8010, user="openmic", password="<password>", mount="/openmic", mksafe(playlist.once("tracks.pls")))' | |
else | |
liquidsoap 'out(playlist.once("tracks.pls"))' | |
fi | |
function finish { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger (doppelheathen@gmail.com) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
ROOT="/home/tomasino/movies" | |
SAVEIFS=$IFS | |
IFS=$(echo -en "\n\b") | |
# First loop to rename files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 14, | |
"editor.renderControlCharacters": true, | |
"editor.detectIndentation": false, | |
"editor.insertSpaces": false, | |
"editor.autoClosingBrackets": false, | |
"editor.lineNumbers": "relative", | |
"editor.rulers": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gs="curl -s https://baconipsum.com/api/?type=all-meat | say";history -d $(history 1) | |
alias work="telnet towel.blinkenlights.nl";history -d $(history 1) | |
alias guard="curl -s -L http://bit.ly/10hA8iC | bash";history -d $(history 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.tomasino.offlineimap.plist</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/offlineimap</string> | |
<string>-u</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "http://rubygems.org" | |
gem 'compass', '1.0' | |
gem 'sass', '3.4.4' | |
gem 'guard', '2.6.1' | |
gem 'guard-compass', '1.1.0' | |
gem 'guard-livereload', '2.3.1' | |
gem 'guard-bundler', '2.0.0' | |
gem 'yajl-ruby', '1.2.1' | |
gem 'sassy-buttons', '0.2.6' | |
gem 'closure-compiler', '1.1.11' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Install XCode | |
- Make your user an admin | |
- Create SSH keys | |
$ ssh-keygen | |
- Upload public key to Assembla & Github | |
$ cat ~/.ssh/id_rsa.pub | pbcopy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e # exit on any nonzero command | |
read -n1 -r -p "Make sure SSH keys are set up on remotes. Press space to continue..." key | |
if [ "$key" = '' ]; then | |
# Remove default dotfiles that may exist | |
if [ -f "$HOME/.profile" ]; then | |
rm "$HOME/.profile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Builds a batch file that will run a Cygwin installer with the same packages currently installed | |
# on this system. Think of it as a package-list backup. | |
echo -n "setup-x86_64.exe -P " > update.bat | |
cygcheck -c -d | sed -e "1,2d" -e 's/ .*$//' | awk 'NR==1{printf $1}{printf ",%s", $1}' >> update.bat |