Find and delete old git branches that are no longer needed.
Clone the repo and add to your path (just for ease of use):
#!/usr/bin/env ruby | |
# A quick and dirty implementation of an HTTP proxy server in Ruby | |
# because I did not want to install anything. | |
# | |
# Copyright (C) 2009-2014 Torsten Becker <[email protected]> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, |
// origin: http://www.google.com/support/forum/p/Chrome/thread?tid=1a37ccbdde5902fd&hl=en | |
javascript: | |
timeout=prompt("Set timeout [s]"); | |
current=location.href; | |
if(timeout>0) | |
setTimeout('reload()',1000*timeout); | |
else | |
location.replace(current); | |
function reload(){ |
# Author: Pieter Noordhuis | |
# Description: Simple demo to showcase Redis PubSub with EventMachine | |
# | |
# Update 7 Oct 2010: | |
# - This example does *not* appear to work with Chrome >=6.0. Apparently, | |
# the WebSocket protocol implementation in the cramp gem does not work | |
# well with Chrome's (newer) WebSocket implementation. | |
# | |
# Requirements: | |
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby |
vendor/ | |
.bundle/ | |
node_modules/ | |
Gemfile.lock |
javascript: (function($) { | |
var bookmarklet = document.getElementById( | |
'DELI_save_link_slidedown'); | |
if (bookmarklet) { | |
$('#DELI_mist').show(); | |
$('#DELI_save_link_slidedown').slideDown('normal'); | |
return | |
}; | |
if (!window.jQuery) { | |
node = document.createElement('SCRIPT'); |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
A quick comparison/ benchmark between Hogan, Dust, doT and underscore
Developed by Twitter (same team as Bootstrap), use exactly the same syntax as Mustache, but more performant and more stuff available server side.
My name is {{ name }}
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.