Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
nmkdir kalua
mfa@debian:~$ cd kalua
mfa@debian:~/kalua$ pipe-pane 'cat >>$HOME/tmux.loggit clone git://nbd.name/openwrt.git
Cloning into openwrt...
remote: Counting objects: 72  remote: Counting objects: 11255  remote: Counting objects: 30159  remote: Counting objects: 30307  remote: Counting objects: 30428  remote: Counting objects: 47943  remote: Counting objects: 119132  remote: Counting objects: 182337  remote: Counting objects: 189834, done.
remote: Compressing objects: 0% (1/59783)  remote: Compressing objects: 1% (598/59783)  remote: Compressing objects: 2% (1196/59783)  remote: Compressing objects: 3% (1794/59783)  remote: Compressing objects: 4% (2392/59783)  remote: Compressing objects: 5% (2990/59783)  remote: Compressing objects: 6% (3587/59783)  remote: Compressing objects: 7
@eins78
eins78 / vbox_to_kvm.txt
Created March 22, 2012 11:34 — forked from bdha/vbox_to_kvm.txt
Migrating from VirtualBox to KVM on ZFS
# It's important to convert the vbox image (VMDK or VDI or whatever) using
# the same version of VirtualBox that created it. You can try converting the image
# with qemu-img or kvm-img, but weird version mismatches will possibly make it not
# work.
# On your VirtualBox machine:
cd $VBOX_ROOT/$MACHINE_ROOT/
VBoxManage clonehd machine.vmdk machine.img --format RAW
scp machine.img root@kvm-host:/somewhere
@eins78
eins78 / hack.sh
Created March 31, 2012 11:57 — forked from erikh/hack.sh
OSX For Hackers
#!/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
#
@eins78
eins78 / mr-closed.sh
Created May 25, 2012 11:59
Shell Script: Check if the Maschinenraum is Closed
#!/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 / startsl-nginx-step1.sh
Created November 13, 2012 20:06
startssl + nginx
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 / README.md
Created November 18, 2015 19:02 — forked from mbostock/.block
Radial Reingold–Tilford Tree

The tree layout implements the Reingold-Tilford algorithm for efficient, tidy arrangement of layered nodes. The depth of nodes is computed by distance from the root, leading to a ragged appearance. Cartesian orientations are also supported. Implementation based on work by Jeff Heer and Jason Davies using Buchheim et al.'s linear-time variant of the Reingold-Tilford algorithm. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

Compare to this Cartesian layout.

@eins78
eins78 / backbone.pdf
Last active December 15, 2015 16:59
docco-pandoc for LaTeX output
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eins78
eins78 / index.html
Last active December 20, 2015 08:59
boostrap scrollspy test
// 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 / .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! ;)