Skip to content

Instantly share code, notes, and snippets.

"" Basic
set nocompatible " Use vim, no vi defaults
set number " Show line numbers
set ruler " Show line and column number
syntax enable " Turn on syntax highlighting allowing local overrides
set encoding=utf-8 " Set default encoding to UTF-8
filetype off " required
set colorcolumn=80
"" Pane sizing

Sourdough brioche

Source: http://www.thefreshloaf.com/node/42250/sourdough-brioche-hambuger-buns-your-kitchen-aid-mixer

The recipe has been slightly modified to cater for smaller buns and some measurements written in metric units.

If you’re new to brioche, check out the instructions on the yeast based recipe by Chef Steps. They’re a bit more pragmatic and have movies covering the hard steps (as in shaping and creating tin foil strips).

  • 500g bread flour = 100% I use King Arthur brand.
  • 300g whole milk = 60% of flour weight.
@gish
gish / var-de-conv.js
Created January 26, 2015 09:59
variable declaration convention
// Option 1
var foo = 21;
var baz, bar;
// Option 2
var foo = 21;
var baz;
var bar;

foo

  • the bar
  • the baz

Foo

[ ] Bar the foo [ ] Foo the bar

Checkout

Desktop

[x] Default state [x] Challenge with PNO skip link [x] Yellow/red flow w payment selector [x] Checkout with shipping [x] Input with tooltip [x] Challenge with PIN [x] Challenge with incorrect PIN [x] Edit billing address

var Child, Person,
__hasProp = {}.hasOwnProperty,
__extends = function (child, parent) {
for (var key in parent) {
if (__hasProp.call(parent, key)) child[key] = parent[key];
}
function ctor() {
this.constructor = child;

Intervju med Joakim på Tictail

Jag har haft förmånen att intervjua [Joakim Ekberg][6] på [Tictail][5] om hans syn på CoffeeScript.

Berätta lite om dig och din bakgrund i webbutveckling.

Jag heter Joakim Ekberg och jobbar idag som fullstackutvecklare på Tictail, en startup som gör e-handel enkelt och tillgängligt för alla.

Jag började min utvecklarbana på sent 90-tal och till en början var det PHP och HTML, 1x1.gif och   som var dina bästa vänner.

Spola fram bandet några år och jag är där jag är idag med många projekt i bagaget. Jag har varit medgrundare till Wrapp, startat en byrå, anordnat Nordens största hackathon och mycket mycket mer.

@gish
gish / gist:6551018
Created September 13, 2013 13:53
My reaction to JSFuck
[][(![]+[])[+[[+[]]]]+([][[]]+[])[+[[!+[]+!+[]+!+[]+!+[]+!+[]]]]+(![]+[])[+[[!+[]+!+[]]]]+(!![]+[])[+[[+[]]]]+(!![]+[])[+[[!+[]+!+[]+!+[]]]]+(!![]+[])[+[[+!+[]]]]][([][(![]+[])[+[[+[]]]]+([][[]]+[])[+[[!+[]+!+[]+!+[]+!+[]+!+[]]]]+(![]+[])[+[[!+[]+!+[]]]]+(!![]+[])[+[[+[]]]]+(!![]+[])[+[[!+[]+!+[]+!+[]]]]+(!![]+[])[+[[+!+[]]]]]+[])[+[[!+[]+!+[]+!+[]]]]+([][(![]+[])[+[[+[]]]]+([][[]]+[])[+[[!+[]+!+[]+!+[]+!+[]+!+[]]]]+(![]+[])[+[[!+[]+!+[]]]]+(!![]+[])[+[[+[]]]]+(!![]+[])[+[[!+[]+!+[]+!+[]]]]+(!![]+[])[+[[+!+[]]]]]+[])[+[[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]]]+([][[]]+[])[+[[+!+[]]]]+(![]+[])[+[[!+[]+!+[]+!+[]]]]+(!![]+[])[+[[+[]]]]+(!![]+[])[+[[+!+[]]]]+([][[]]+[])[+[[+[]]]]+([][(![]+[])[+[[+[]]]]+([][[]]+[])[+[[!+[]+!+[]+!+[]+!+[]+!+[]]]]+(![]+[])[+[[!+[]+!+[]]]]+(!![]+[])[+[[+[]]]]+(!![]+[])[+[[!+[]+!+[]+!+[]]]]+(!![]+[])[+[[+!+[]]]]]+[])[+[[!+[]+!+[]+!+[]]]]+(!![]+[])[+[[+[]]]]+([][(![]+[])[+[[+[]]]]+([][[]]+[])[+[[!+[]+!+[]+!+[]+!+[]+!+[]]]]+(![]+[])[+[[!+[]+!+[]]]]+(!![]+[])[+[[+[]]]]+(!![]+[])[+[[!+[]+!+[]+!+[
@gish
gish / index.html
Last active December 18, 2015 16:48
Test<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<head><!-- UrUW03fTkbD3UpLvaWSRFcUdPco -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<script type="text/javascript">