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
// ==UserScript== | |
// @name Use Markdown, sometimes, in your HTML. | |
// @author Paul Irish <http://paulirish.com/> | |
// @link http://git.io/data-markdown | |
// @match * | |
// ==/UserScript== | |
// If you're not using this as a userscript just delete from this line up. It's cool, homey. |
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 | |
# Configure your account. | |
USER=espadrine | |
# Ask for the password. | |
echo -n password\ ; read -s PASS | |
curl -u $USER:$PASS -d status="$1" http://twitter.com/statuses/update.xml |
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
Some other generals links | |
http://palagpat-coding.blogspot.com/2010/09/in-case-you-missed-it-jsconfeu-2010-day.html | |
http://www.blueskyonmars.com/2010/09/30/jsconf-eu-2010-a-weekend-of-awesome/ | |
http://www.delicious.com/spacecowboy/jsconf+berlin+2010 | |
http://speakerrate.com/events/589-jsconf-eu-2010?all (all the presentation on speakerrate) | |
http://www.delicious.com/mattscape/jsconfeu2010 | |
http://phpugmunich.org/dokuwiki/jsconfeu | |
https://twitter.com/buyog/jsconf-eu-2010 | |
http://dailyjs.com/2010/09/27/jsconfeu/ |
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
// 1: how could you rewrite the following to make it shorter? | |
if (foo) { | |
bar.doSomething(el); | |
} else { | |
bar.doSomethingElse(el); | |
} | |
// ---------- | |
bar[foo?'doSomething':'doSomethingElse'](el); |
NewerOlder