Skip to content

Instantly share code, notes, and snippets.

View raid5's full-sized avatar

Adam McDonald raid5

View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 15WndKeKkqFRxp6nogiqc4EWwTWatfwsxR https://explorer.blockstack.org/address/15WndKeKkqFRxp6nogiqc4EWwTWatfwsxR
@raid5
raid5 / buddybuild_carthage_command.sh
Created December 20, 2017 17:21
Custom BuddyBuild Carthage script to strip out unneeded schemes.
#!/bin/bash
# Save current directory to var
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Fetch dependencies but do not build
carthage update --no-build
# Remove AWSAuthSDK project as this is not needed
rm -r Carthage/Checkouts/aws-sdk-ios/AWSAuthSDK/
0xC104ab95959104b6b1978044486e9186fCa5F9dF
@raid5
raid5 / rinkeby.txt
Created July 30, 2017 22:38
rinkeby faucet
0xC104ab95959104b6b1978044486e9186fCa5F9dF

Keybase proof

I hereby claim:

  • I am raid5 on github.
  • I am raid5 (https://keybase.io/raid5) on keybase.
  • I have a public key whose fingerprint is 4837 E525 CA99 7F0C 373B 9C56 AAAC 60BC F10E CD70

To claim this, I am signing this object:

import java.io.IOException;
import java.lang.reflect.Method;
import java.util.AbstractCollection;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import android.media.AudioManager;
import android.media.MediaPlayer;
@raid5
raid5 / Wha?
Created December 14, 2012 18:26 — forked from anonymous/Wha?
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
for (UITouch* t in touches)
{
[self updateGameStatusWithPoint:[t locationInView:self]];
}
}
@raid5
raid5 / android_rsync.sh
Created March 27, 2011 01:58
A simple shell script to sync media to my Atrix (android) phone.
#!/bin/sh
RSYNC_DEFAULT_OPTIONS="-r -t -v -L --ignore-existing --delete --stats --progress"
RSYNC_TEMP_DIR="./tmp_rsync_dir/"
# Sources
ITUNES_PODCASTS_DIR="/Users/adam/Music/iTunes/iTunes Music/Podcasts/"
ITUNES_MUSIC_DIR="/Users/adam/Music/iTunes/iTunes Music/"
ALBUMS=(
"Bone Thugs-N-Harmony/Strength & Loyalty"
node.js:278
var cwd = process.cwd();
^
Error: No such file or directory
at Function.resolveArgv0 (node.js:278:23)
at startup (node.js:22:13)
at node.js:432:3