Skip to content

Instantly share code, notes, and snippets.

// how_much_netflix.js
// A script that looks through your Netflix viewing activity and
// tallys up how much time you've spent watching Netflix
//
// INSTRUCTIONS TO USE:
// Open https://www.netflix.com/WiViewingActivity and the developer console
// Copy and paste this script into the developer console and press enter
//
(function() {
var fetchAllViewedItems = function() {

(a gist based on the old toolmantim article on setting up remote repos)

To collaborate in a distributed development process you’ll need to push code to remotely accessible repositories.

This is somewhat of a follow-up to the previous article setting up a new rails app with git.

For the impatient

Set up the new bare repo on the server:

@eyeyen
eyeyen / hack.sh
Created March 31, 2012 20:30 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@eyeyen
eyeyen / gist:2253050
Created March 30, 2012 17:15 — forked from rick/gist:2186708
emacs daemon/client command-line aliases for Emacs 24 .dmg installation
alias em='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient'
alias emc='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c'
alias emd='/Applications/Emacs.app/Contents/MacOS/Emacs --daemon'
alias emt='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t'