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 | |
# given url (arg 1), alert user when it contains "open" | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <url>" | |
exit 1 | |
fi | |
URL="$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 Computer//DTD PLIST 1.0//EN | |
http://www.apple.com/DTDs/PropertyList-1.0.dtd > | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>some-unique-label</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>osascript</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
#!/bin/sh | |
# get title from stdin | |
/bin/echo -n "Title : " | |
read TITLE | |
SAFETITLE=$(/bin/echo -n $TITLE | tr -sc [:alpha:] - | tr [:upper:] [:lower:]) | |
FILENAME=$(date -j +%Y-%m-%d)-${SAFETITLE}.md |
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
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
ignorecase = true | |
autcrlf = input | |
[remote "origin"] | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
url = https://github.com/torvalds/linux.git |
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
git diff --cached |
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
for i in *.flac; do ffmpeg -i "$i" -map_meta_data 0:0 -acodec alac "`basename "$i" .flac`.m4a"; done; |
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
next = 'http://localhost:8080/auth' | |
# h9 scope for development | |
#scope = 'https://www.google.com/health/feeds/' | |
scope = 'https://www.google.com/calendar/feeds/' | |
#scope = 'https://www.google.com/h9/feeds/' | |
url_format = 'https://www.google.com/accounts/AuthSubRequest?next=%s&scope=%s&secure=%d&session=%d' | |
auth_sub_url = url_format % (next, scope, 0, 1) | |
#auth_sub_url = service.GenerateAuthSubURL(next, scope, secure = secure, session = session) | |
# replace this last line with whatever method you use to write out to the page |
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
#facebook div#pagelet_netego_questions { | |
display:none; | |
} |