Skip to content

Instantly share code, notes, and snippets.

Avatar

Max Albrecht eins78

View GitHub Profile
@eins78
eins78 / keybase.md
Created May 24, 2014
keybase.io proof
View keybase.md

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:

View unfix-navbar.css
nav, .navbar,
.navbar-fixed-top,
.navbar-fixed-bottom {
position: initial !important;
}
body {
padding: initial !important;
}
@eins78
eins78 / gut-das-an-nichts-gespart-wird.md
Last active Aug 29, 2015
Engangene Einnahmen durch Cannabisprohibition Deutschland 2012
View gut-das-an-nichts-gespart-wird.md

@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 / gist:8463493
Last active Jan 3, 2016
Re: The Next Phase of Node.js
View gist:8463493
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 / .gitignore
Last active Dec 20, 2015
flatiron-nconf-wtf
View .gitignore
/node_modules/
@eins78
eins78 / index.html
Last active Dec 20, 2015
boostrap scrollspy test
View index.html
// from <https://github.com/twbs/bootstrap-examples/blob/2998929b39eb3a4d587c6237d98095f9f5b0df2f/starter-template/starter-template.css>
body {
padding-top: 50px;
}
.starter-template {
padding: 40px 15px;
text-align: center;
}
@eins78
eins78 / backbone.pdf
Last active Dec 15, 2015
docco-pandoc for LaTeX output
View backbone.pdf
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View startsl-nginx-step1.sh
APP=nginx
HOST=ars
CLASS=2
#echo "make key: $APP.$HOST.encrypted.key"
#openssl genrsa -des3 -out $APP.$HOST.encrypted.key 2048
echo "make CSR: $APP.$HOST.csr"
openssl req -new -key $APP.$HOST.encrypted.key -out $APP.$HOST.csr
@eins78
eins78 / mr-closed.sh
Created May 25, 2012
Shell Script: Check if the Maschinenraum is Closed
View mr-closed.sh
#!/bin/sh
# script to get open/closed status of MR
## use manually: $ sh mr-closed.sh
## use in scripts: ./mr-closed.sh && ./do_this_when_closed.sh || ./do_this_when_open.sh
# logic
## 1. `curl` latest tweet from @MR_door_status
## 2. `grep` for 'MR is open'
## 3a. if MR is open, echo it and exit 1
@eins78
eins78 / hack.sh
Created Mar 31, 2012 — forked from erikh/hack.sh
OSX For Hackers
View hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#