This file contains hidden or 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/bash | |
diskutil reformat AS30V | |
if [ ! -d "/Volumes/AS30V" ]; then | |
echo "Volume not remounted" | |
exit | |
fi | |
mkdir -p /Volumes/AS30V/private/SONY/GPS | |
wget http://control.d-imaging.sony.co.jp/GPS/assistme.dat -O /Volumes/AS30V/private/SONY/GPS/assistme.dat |
This file contains hidden or 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 | |
if git-rev-parse --verify HEAD >/dev/null 2>&1; then | |
against=HEAD | |
else | |
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
fi | |
for FILE in `git diff --cached --name-only` ; do | |
# Check if the file contains 'debugger' |
This file contains hidden or 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/python | |
import sys | |
import shlex | |
def main(): | |
for line in sys.stdin: | |
args = shlex.split(line) | |
protoLine = '*%d' % len(args) | |
protoLine += "\r\n" | |
for a in args: |