Skip to content

Instantly share code, notes, and snippets.

View alrayyes's full-sized avatar

Ryan Kes alrayyes

View GitHub Profile
@alrayyes
alrayyes / osx-for-hackers.sh
Created September 22, 2015 15:43 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
@alrayyes
alrayyes / lostchildren.sh
Created April 29, 2014 22:41
Command to list songs iTunes mangled when I tried moving my library to my Nas and back. Moral of the story: Don't use iTunes.
#!/bin/sh
find ~/Music/iTunes/iTunes\ Media/Music -depth 3 -type d
echo "Number of files remaining:" && find ~/Music/iTunes/iTunes\ Media/Music -depth 3 -type d | wc -l
#!/bin/sh
# This assumes you have:
# 1) A user called `hubot` in charge of the bot.
# 2) A file called /home/hubot/.hubotrc that contains the Hubot credentials.
#
# To set the adapter either edit bin/hubot to specify what you want or append
# `-- -a campfire` to the $DAEMON variable below.
#
### BEGIN INIT INFO