Skip to content

Instantly share code, notes, and snippets.

View balduran's full-sized avatar

balduran balduran

View GitHub Profile

Idiot-Proof Git Aliases

anonymous
anonymous / list
Created August 21, 2011 01:33
Demos
http://animatable.com/demos/madmanimation/
http://www.mozillademos.org/demos/planetarium/demo.html
http://www.chrysaora.com/
http://mozillademos.org/demos/remixingreality/demo.html
http://playbiolab.com
http://chrome.angrybirds.com
http://helloracer.com/webgl/
http://videos.mozilla.org/serv/blizzard/audio-slideshow/
http://paulrouget.com/TheSanbox
http://hacks.mozilla.org/2011/08/speak-js-text-to-speech-on-the-web/
/*!
*
* Imgur CORS Image upload
*
* Author & Copyright: timdream ([email protected]; http://timdream.org/)
* License: MIT LICENSE
*
*/
"use strict";
#!/usr/bin/python
import sys #for cmd line argv
#take command line args as the input string
input_string = sys.argv
#remove the program name from the argv list
input_string.pop(0)
#convert to google friendly url (with + replacing spaces)
@cspickert
cspickert / GoogleSpreadsheets.py
Created January 20, 2012 23:40
Export a Google Spreadsheet using python.
#!/usr/bin/python
import re, urllib, urllib2
class Spreadsheet(object):
def __init__(self, key):
super(Spreadsheet, self).__init__()
self.key = key
class Client(object):
@ryin
ryin / tmux_local_install.sh
Last active May 27, 2025 08:36
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8
@gleicon
gleicon / pyslow.py
Created July 26, 2012 02:56
python, phantomjs and yslow
import sys, os, logging, subprocess, json
import gevent
logging.basicConfig(level=logging.DEBUG)
APP_ROOT = os.path.dirname(os.path.realpath(__file__))
YSLOW = os.path.join(APP_ROOT, 'js/yslow.js')
PHANTOMJS = "/usr/local/bin/phantomjs"
@dergachev
dergachev / README.md
Created October 10, 2012 16:49
Vagrant tutorial

Vagrant Setup

This tutorial guides you through creating your first Vagrant project.

We start with a generic Ubuntu VM, and use the Chef provisioning tool to:

  • install packages for vim, git
  • create user accounts, as specified in included JSON config files
  • install specified user dotfiles (.bashrc, .vimrc, etc) from a git repository

Afterwards, we'll see how easy it is to package our newly provisioned VM

@dergachev
dergachev / GIF-Screencast-OSX.md
Last active October 31, 2025 16:45
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@adamwiggins
adamwiggins / adams-heroku-values.md
Last active November 10, 2025 18:54
My Heroku values

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style