See html5.org/r/6884
/^[a-zA-Z0-9.!#$%&'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
<?php | |
/** | |
* generate a subhead with an anchor tag | |
* | |
* Usage: | |
* echo subhead("How it Actually Works"); | |
* Prints: | |
* <h2 id="how-it-actually-works">How it Actually Works</h2> | |
* | |
* @param string $name |
# www.robotstxt.org/ | |
# www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449 | |
User-agent: * | |
Disallow: /admin | |
# Development | |
Disallow: / | |
# Allow: / |
<script type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-65432-1']); | |
_gaq.push(['_trackPageview']); | |
/** | |
* add a second GA Account | |
* @see http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gaq.html |
/** | |
* | |
* ___ __ _ | |
* / __|__ _ _ __ _ __ / _(_)_ _ ___ | |
* | (__/ _` | ' \| '_ \ _| | '_/ -_) | |
* \___\__,_|_|_|_| .__/_| |_|_| \___| | |
* |_| | |
**/ | |
/* Remove "Entered the room" -- "left the room" type messages */ | |
body.chat table.chat #chat tr.timestamp_message + tr.timestamp_message, |
javascript:(function(){var%20script=document.createElement('script');script.src='http://mir.aculo.us/dom-monster/dommonster.js?'+Math.floor((+new Date)/(864e5));document.body.appendChild(script);})() |
{ | |
"searchEngine": "http://www.google.com/search?q=", | |
"commandEngine": "quix", | |
"quixUrl": "https://dl.dropbox.com/s/jpc1gu600xunbs5/quix.txt", | |
"searchBookmarks": true, | |
"scrollingSpeed": "500", | |
"outsideScrolling": false, | |
"shortcutKey": "71", | |
"upScrollingKey": "87", | |
"downScrollingKey": "83", |
#!/usr/bin/env php | |
<?php | |
$system_support_dir = '/Library/Application Support/TextMate'; | |
$system_bundles_dir = $system_support_dir . "/Bundles"; | |
$official_bundles = array( | |
"ActionScript" => "https://github.com/textmate/actionscript.tmbundle", | |
"Apache" => "https://github.com/textmate/apache.tmbundle", | |
"AppleScript" => "https://github.com/textmate/applescript.tmbundle", |
See html5.org/r/6884
/^[a-zA-Z0-9.!#$%&'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
@Brett's searches | |
@Brett's custom searches | |
go https://duckduckgo.com/?q=%21%20%s Open first result (DuckDuckGo) | |
b https://duckduckgo.com/?q=%21%s Bang search (DuckDuckGo) | |
grep https://www.cueup.com/?q=%s&fq=1 Greplin | |
ss https://duckduckgo.com/site:%d%20%s Current site (DuckDuckGo) | |
bt https://duckduckgo.com/site:brettterpstra.com%20%s BrettTerpstra.com (DuckDuckGo) | |
gh http://github.com/search?q=%s&type=Everything&repo=&langOverride=&start_value=1 Search GitHub (everything) | |
hints http://hints.macworld.com/search.php?query=%s&keyType=all&datestart=&dateend=&topic=0&type=stories&results=50&mode=search Search Mac OS X Hints | |
mu http://www.macupdate.com/find/mac/%s Search MacUpdate (Software) |
<IfModule mod_rewrite.c> | |
# Force www | |
RewriteEngine on | |
RewriteCond %{HTTPS} (on)? | |
RewriteCond %{HTTP_HOST} !^www\..+$ [NC] | |
RewriteRule ^ http(?%1s)://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
</IfModule> | |