-
github
https://github.com/search?q={query}
-
grooveshark
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/bash | |
tmsupportpath="/Library/Application Support/TextMate" | |
bundlepath="$tmsupportpath/Bundles" | |
if [ ! -d "$bundlepath" ] | |
then | |
echo "First time, eh? Making $bundlepath..." | |
mkdir -p "$bundlepath" | |
fi | |
if [ ! -d "$tmsupportpath/Support" ] |
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
javascript: | |
if (window.hah){ | |
hah.removeHints(); | |
} | |
window.hah = { | |
hintKeys : new String('asdfghjkl'), | |
selector: 'a[href]:not([href^="mailto:"]), input:not([type="hidden"]), textarea, select, img[onclick], button', | |
xpath: '//a[@href]|//input[not(@type=\x22hidden\x22)]|//textarea|//select|//img[@onclick]|//button', | |
xpathMode : true, | |
hintColorLink : '\x23FFFF00', |
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
<key>UTExportedTypeDeclarations</key> | |
<array> | |
<dict> | |
<key>UTTypeConformsTo</key> | |
<array> | |
<string>public.text</string> | |
<string>public.source-code</string> | |
</array> | |
<key>UTTypeDescription</key> | |
<string>Ruby HTML Template file</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
require 'growl' | |
module Jekyll | |
class GrowlPreHook < Hook | |
safe false | |
sequence :pre | |
def run(site) | |
Growl.notify 'Building...', :title => 'Jekyll' | |
end |
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
on run {input, parameters} | |
repeat with n in input | |
set z to (n as alias) | |
set n to (info for z)'s name | |
tell application "Finder" to set P to z's container as alias | |
set zP to POSIX path of (P as text) & n | |
try | |
set the_URL to do shell script "mdls -name kMDItemWhereFroms" & space & zP & space & "|" & space & "grep -o '\"'.*'\"'" | |
set the_URL to replace_chars(the_URL, "\"", "") | |
tell application "Finder" |
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
tell application "Safari" | |
tell front document | |
set theURL to URL | |
set theName to (do JavaScript "(getSelection())") | |
if length of theName is equal to 0 then set theName to name | |
end tell | |
end tell | |
tell application "TaskPaper" | |
tell front document | |
tell project named "Inbox" |
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
<?php | |
class Fetcher | |
{ | |
private $_torIp = '127.0.0.1'; | |
private $_torProxyPort = '8118'; | |
protected function _request($url) |
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
# | |
# This script will install the following Textmate bundles | |
# | |
# Languages | |
# - c https://github.com/textmate/c.tmbundle | |
# - coffeescript https://github.com/jashkenas/coffee-script-tmbundle | |
# - context free https://github.com/textmate/context-free.tmbundle | |
# - erlang https://github.com/textmate/erlang.tmbundle | |
# - haskell https://github.com/textmate/haskell.tmbundle.git | |
# - html https://github.com/textmate/html.tmbundle |
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
on run {input, parameters} | |
tell application "Google Chrome" | |
set myURL to URL of active tab of window 1 | |
set myTitle to title of active tab of window 1 | |
end tell | |
tell application "Paparazzi!" | |
capture myURL min size {1024, 728} |
OlderNewer