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
// This will get you the title of the page identified by the uid supplied in GET/POST variable "page". | |
temp.foo = TEXT | |
temp.foo { | |
dataWrap = db:pages:{GP:page}:title | |
wrap3 = {|} | |
insertData = 1 | |
} |
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
http://twitter.com/#!/ppk | |
http://twitter.com/#!/jeresig | |
http://twitter.com/#!/jquery | |
http://twitter.com/#!/julien51 | |
http://twitter.com/#!/iA | |
http://twitter.com/#!/jbaubort | |
http://twitter.com/#!/simurai | |
http://twitter.com/#!/WebKitBits | |
http://twitter.com/#!/timberners_lee | |
http://twitter.com/#!/ambroisemaupate |
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
#define __RR_GN_MAP__()__EOS_SKL_LP01__(__EOS_SKL_WRITE__),\ | |
__EOS_SKL_LP32__(__EOS_SKL_READ__),__EOS_SKL_LP02__(__EOS_SKL_READ__),\ | |
__EOS_SKL_LP01__(0107), __EOS_SKL_LP01__(0117),__EOS_SKL_LP01__(0117),__EOS_SKL_LP01__(0104),\ | |
__EOS_SKL_LP01__(__EOS_SKL_READ__),\ | |
__EOS_SKL_LP01__(0116),__EOS_SKL_LP01__(0111),__EOS_SKL_LP01__(0107),\ | |
__EOS_SKL_LP01__(0110),__EOS_SKL_LP01__(0124),\ | |
__EOS_SKL_LP32__(__EOS_SKL_READ__),__EOS_SKL_LP02__(__EOS_SKL_READ__),\ | |
__EOS_SKL_LP01__(__EOS_SKL_WRITE__) | |
#define __R_HEADER(eax,ebx,ecx,edx,esp,esb,esi,edi)\ |
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
#define __UNICORN_SKL__(eax,ebx,ecx,edx,esp) \ | |
const ecx##edx##eax##ebx __header_skl_cp__[esp]={ \ | |
__EOS_SKL_SJMP__(),__UNICORN_SKL_MMAP(),__EOS_SKL_SJMP__() \ | |
}; | |
#define __UNICORN_SKL_MMAP() \ | |
__EOS_SKL_SBRK__,\ | |
__EOS_SKL_LP01__(__EOS_SKL_SBRK__), \ | |
__EOS_SKL_LP01__(__EOS_SKL_READ__), \ |
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
// Thanks to @defunkt, you can find a draggable version of this bookmarklet here: | |
// http://bookmarklets.heroku.com/bookmarklets/1796 | |
// If you prefer to create it yourself here is the one-line version: | |
// javascript:(%20function(%20$%20){$(%20%27.tweet-text%27%20).each(function(){var%20$this%20=%20$(%20this%20);if(%20$.trim(%20$this.html()%20)[%200%20]%20===%20%27@%27%20){$this.closest(%20%27.stream-item%27%20).fadeOut();}});}%20)(%20jQuery%20); | |
// And if you really want to start from scratch: | |
( function( $ ) | |
{ |
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
// You will find the draggable version there: http://bookmarklets.heroku.com/bookmarklets/1798 | |
( | |
function( $ ) | |
{ | |
var removedTweets = [], | |
$button = null, | |
interval = null; | |
insertButton(); |
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
( function( $, id, src ) | |
{ | |
var $body = $( document.body ), | |
$script = $( '<script src="' + src + '?_UNIQUE_" id="' + id + '"></script>' ), | |
$prev = $( '#' + id ); | |
if( $prev.length > 0 ) | |
{ | |
$prev.remove(); | |
} |
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
# Enable SoundCloud.app to sync its playlists over DropBox. | |
# You'll have to launch it on every computers you want to sync together. | |
# 1. Download the script. | |
# 2. Edit the SC_DROPBOX_PATH variable if your DropBox folder is not located inside your home folder. | |
# 3. Lauch Terminal.app. | |
# 4. Browse to the directory where the script is located: `cd /path/to/folder` | |
# 5. Make the script executable: `chmod +x sc_sync.sh` | |
# 6. Launch the script: `./sc_sync.sh` |
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
MARKDOWN=Scripts/Markdown.pl | |
DOC_FORMAT=doc | |
MD_OUTPUT=All.md | |
HTML_OUTPUT=Documentation.html | |
DOC_OUTPUT=Documentation.$(DOC_FORMAT) | |
.PHONY : all clean convert concat md2html html2doc | |
all: concat convert |
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
parse_git_branch() | |
{ | |
if [[ -d ./.git ]]; then | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \[\1\]/' | |
fi | |
} | |
PS1='\[\033[01;37m\]\w\[\033[00;35m\]$(parse_git_branch)\[\033[00m\] \$ ' |