Skip to content

Instantly share code, notes, and snippets.

View woodworker's full-sized avatar
💭
Brömpf!

Martin Holzhauer woodworker

💭
Brömpf!
View GitHub Profile

Ramendan

Ponyo Ramen

Find out more about the @ramendan event on their website http://ramendan.com.

Preparation

There is only a few days left, and here is how I prepare myself for Ramendan. First of all, I did some research to find restaurants in Berlin that serve Ramen.

@jed
jed / LICENSE.txt
Created November 28, 2011 15:47 — forked from 140bytes/LICENSE.txt
turn the `new` keyword into a function
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@malef
malef / Deferred.js
Created December 30, 2011 23:26
Simple implementation of Deferred/Deferred Promise pattern in JavaScript.
var Deferred = (function () {
var states = {
SUCCESS: 1,
FAILURE: 2,
COMPLETE: 3
},
Deferred;
function updateCallbacks(requiredStates, callback) {
@mislav
mislav / readme.md
Created January 25, 2012 14:42
CLI tool that checks the build status of current branch on Travis CI

Check build status of a project on the command line

Install (copy & paste):

curl -sL raw.github.com/gist/1676577/travis.rb > ~/bin/travis \
  && chmod +x ~/bin/travis

gem install hub | tail -2
ruby -e 'require "json"' 2&gt;/dev/null || gem install json
@ziadoz
ziadoz / awesome-php.md
Last active July 13, 2024 05:29
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.
@janl
janl / gist:3110170
Created July 14, 2012 09:23
CoUp Coffee Chemex Guide

Chemex Quick Guide

Not this is rocket sience :)

Water

Fill the water heater with a finger more than 1 liter of water. Set it on its power-base, hit the button that’s all the way out on the handle. This starts the heating process. Now hit the “minus” (“-”) button so you see a red light on the 90° marker. Let it heat up. In the meantime:

Beans

[alias]
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/$1"
pg = !"git log --pretty=format:'%h : %s' --date-order --graph"
tc = !sh -c 'git rev-list $0 | head -n 1'
[color]
branch = auto
diff = auto
interactive = auto
status = auto
<?php
class Foo {
public $bar;
function __construct($bar)
{
$this->bar = $bar;
}
}
@woodworker
woodworker / raw.html
Last active December 20, 2015 18:19
GitHub Bookmark Plugin
<li>
<div class="select-menu js-menu-container js-select-menu">
<span class="minibutton select-menu-button js-menu-target">
Bookmark
</span>
<div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax="">
@jbenet
jbenet / simple-git-branching-model.md
Last active June 17, 2024 14:53
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.