Skip to content

Instantly share code, notes, and snippets.

@eins78
eins78 / .gitignore
Last active December 20, 2015 11:39
flatiron-nconf-wtf
/node_modules/
@eins78
eins78 / gist:8463493
Last active January 3, 2016 12:29
Re: The Next Phase of Node.js
From: "Max F. Albrecht" <1@178.is>
Subject: Re: [npm] Re: The Next Phase of Node.js
Date: Thu, 16 Jan 2014 22:07:09 +0100
To: "npm-@googlegroups.com" <npm-@googlegroups.com>
Am 15.01.2014 um 22:49 schrieb Isaac Schlueter <i@izs.me>:
> if you're happy with the current status quo, you can just take it easy and maybe eventually get a job where you use npm for > work stuff also :)
Hey, that's me! ;)
@eins78
eins78 / gut-das-an-nichts-gespart-wird.md
Last active August 29, 2015 13:57
Engangene Einnahmen durch Cannabisprohibition Deutschland 2012

@de-DE

Engangene Einnahmen durch Cannabisprohibition 2012

Wieviel Mehrwertsteuer hätte die BRD eingenommen, wenn die sichergestellte Menge Cannabis im Jahr 2012 zum Preis von 10€ pro Gramm verkauft worden wäre?

gras = 4942,0kg

@eins78
eins78 / unfix-navbar.css
Created April 25, 2014 15:37
unfix-navbar.css — für fefe <http://blog.fefe.de/?ts=adb04062>
nav, .navbar,
.navbar-fixed-top,
.navbar-fixed-bottom {
position: initial !important;
}
body {
padding: initial !important;
}
@eins78
eins78 / keybase.md
Created May 24, 2014 10:37
keybase.io proof

Keybase proof

I hereby claim:

  • I am eins78 on github.
  • I am mfa (https://keybase.io/mfa) on keybase.
  • I have a public key whose fingerprint is 79DC 7E64 39A8 1E18 A826 2C4F D10A 52BC 9651 13EA

To claim this, I am signing this object:

嬽ἒ
@eins78
eins78 / Screen Shot 2014-08-04 at 11.56.25.png
Last active May 25, 2018 04:28
testing Input typeface with Atom editor
Screen Shot 2014-08-04 at 11.56.25.png
@eins78
eins78 / for_want_of_a_nail.md
Last active August 29, 2015 14:14
For Want of a Nail

"For Want of a Nail"

Info on Wikipedia

Original Poem:

For want of a nail the shoe was lost.
For want of a shoe the horse was lost.
For want of a horse the rider was lost.
For want of a rider the message was lost.

@eins78
eins78 / rails_error_classes.yaml
Created May 11, 2015 20:26
rails_error_classes.yaml
# class StandardError
# def descendants
# ObjectSpace.each_object(::Class).select {|klass| klass < self }
# end
# end
# puts (StandardError.descendants.map(&:to_s).sort.group_by {|s|s.split('::')[0]}).to_yaml
# output for <https://github.com/Madek/madek-webapp>:
---
@eins78
eins78 / index.js
Last active September 11, 2015 16:14
requirebin sketch
React = require('react')
curry = require('lodash/function/curry')
var List = React.createClass({
// this component expects a 'items' prop containing an array of strings
// we want to track here how often what was clicked
getInitialState: function(){
return {
items: this.props.items.map(function(item, index){