Skip to content

Instantly share code, notes, and snippets.

@collegeman
collegeman / setup-statsd.sh
Created March 9, 2011 16:12
Turn an Ubuntu 10.04 linode into a StatsD/Graphite server
# install git
sudo apt-get install g++ curl libssl-dev apache2-utils
sudo apt-get install git-core
# download the Node source, compile and install it
git clone https://github.com/joyent/node.git
cd node
./configure
make
sudo make install
# install the Node package manager for later use
@dsanson
dsanson / any2pandoc.sh
Created August 30, 2011 17:52
any2pandoc.sh: script that tries to convert documents thrown at it to pandoc's extended markdown
#!/bin/sh
# any2pandoc.sh
#
# A shell script that tries its best to convert documents thrown at it
# to pandoc's extended markdown.
#
# https://gist.github.com/1181510
#
# Depends on:
@bryanwoods
bryanwoods / 2011books.txt
Created December 18, 2011 00:47
The 11 books I most enjoyed reading in 2011
The 11 books I most enjoyed reading in 2011, alphabetical by author:
Infidel - Ayaan Hirsi Ali
The Pregnant Widow - Martin Amis
The Flight of the Intellectuals - Paul Berman
Freedom - Jonathan Franzen
The Art of Fielding - Chad Harbach
The Moral Landscape - Sam Harris
Letters to a Young Contrarian - Christopher Hitchens
Child of God - Cormac McCarthy
@rodw
rodw / backup-github.sh
Last active June 4, 2024 16:06
A simple script to backup an organization's GitHub repositories, wikis and issues.
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
#-------------------------------------------------------------------------------
# NOTES:
#-------------------------------------------------------------------------------
# * Under the heading "CONFIG" below you'll find a number of configuration
# parameters that must be personalized for your GitHub account and org.
# Replace the `<CHANGE-ME>` strings with the value described in the comments
# (or overwrite those values at run-time by providing environment variables).
config.json
reading-image.png
@ndarville
ndarville / business-models.md
Last active January 13, 2024 17:27
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@mxriverlynn
mxriverlynn / marionette.gauntlet.js
Last active September 25, 2018 18:13
Marionette.Gauntlet - an event based "state machine" of sorts, used for building wizard, breadcrumb and tab UI and navigation systems
// Marionette.Gauntlet v0.0.0
// --------------------------
//
// Build wizard-style workflows with an event-emitting state machine
// Requires Backbone.Picky (http://github.com/derickbailey/backbone.picky)
//
// Copyright (C) 2012 Muted Solutions, LLC.
// Distributed under MIT license
Marionette.Gauntlet = (function(Backbone, Picky, Marionette, $, _){
@jescalan
jescalan / instructions.md
Last active December 13, 2015 19:29
I often run php apps alongside ruby, node, etc. MAMP drives me crazy because it's slow, doesn't work with pow, and only uses it's own mysql install, when i already have a system mysql install for everything else. This is how to get php apps running without MAMP on OSX Lion.

Running PHP Apps Without MAMP on OSX Lion

  1. Create a ~/Sites folder if you don’t already have one
  2. Enable PHP by uncommenting the php5_module line in /etc/apache2/httpd.conf
  3. Find the line that read User _www and change the _www to your username (whoami)
  4. Find the DirectoryIndex line and change it to DirectoryIndex index.php index.html index.htm
  5. Change the DocumentRoot line to DocumentRoot "/Users/yourusername/Sites/"
  6. Change the <Directory line to <Directory "/Users/yourusername/Sites/">
  7. Run sudo apachectl restart
  8. Restart your computer (yes, this is necessary)

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

@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active June 13, 2024 10:59
A badass list of frontend development resources I collected over time.