Skip to content

Instantly share code, notes, and snippets.

🍼
Parenting

Bodo Tasche bitboxer

🍼
Parenting
Block or report user

Report or block bitboxer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am bitboxer on github.
  • I am bitboxer (https://keybase.io/bitboxer) on keybase.
  • I have a public key whose fingerprint is 44CA 071B 2F98 7A7C 30EE FFF0 75CF 15D5 BE5B 07AA

To claim this, I am signing this object:

@bitboxer
bitboxer / network-socks
Last active Aug 29, 2015
Enable Socks on all network devices and create ssh connection, remove it afterwards
View network-socks
#!/bin/sh
echo "Setting up Socks Network"
networksetup listallnetworkservices|grep -v "*"|while read device
do
echo "$device"
sudo networksetup -setsocksfirewallproxy "$device" localhost 8080
sudo networksetup -setsocksfirewallproxystate "$device" on
done
View gist:427342
brew install Gource
==> Downloading http://downloads.sourceforge.net/project/ftgl/FTGL%20Source/2.1.3~rc5/ftgl-2.1.3-rc5.tar.gz
File already downloaded and cached to /Users/bodo/Library/Caches/Homebrew
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/ftgl/2.1.3-rc5 --disable-freetype
==> make install
Making install in src
/bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -I/usr/X11R6/include -I../src -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -I/usr/local/include/freetype2 -I/usr/local/include -O3 -march=core2 -w -pipe -c -o libftgl_la-FTBuffer.lo `test -f 'FTBuffer.cpp' || echo './'`FTBuffer.cpp
/bin/sh ../libtool --tag=CXX --mode=compile /usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -IFTGlyph -IFTFont -IFTLayout -I/usr/X11R6/include -I../src -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare -I/usr/local/include/freetype2 -I/usr/local/include -O3 -march=core2
View gist:428233
brew install gource
==> Cloning git://github.com/acaudwell/Gource.git
Updating /Users/bodo/Library/Caches/Homebrew/gource-HEAD
==> autoreconf -f -i
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/gource/HEAD --disable-sdltest --disable-freetypet
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
View gist:443318
# Logfile created on Fri Jun 18 08:12:29 +0200 2010 by logger.rb/22285
[06/18/10 08:12:29 +0200 local.putpat.tv (20506)] INFO : Dispatcher: passenger
[06/18/10 08:12:29 +0200 local.putpat.tv (20506)] INFO : Connecting workers after forking.
[06/18/10 08:12:29 +0200 local.putpat.tv (20506)] INFO : New Relic RPM Agent 2.12.3 Initialized: pid = 20506
[06/18/10 08:12:29 +0200 local.putpat.tv (20506)] INFO : Agent Log found in /Users/btasche/tr/ruby/ror/putpat/log/newrelic_agent.log
[06/18/10 08:12:29 +0200 local.putpat.tv (20506)] DEBUG : Processing instrumentation file '/Users/btasche/tr/ruby/ror/putpat/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/active_merchant.rb'
[06/18/10 08:12:29 +0200 local.putpat.tv (20506)] DEBUG : Processing instrumentation file '/Users/btasche/tr/ruby/ror/putpat/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/active_record_instrumentation.rb'
[06/18/10 08:12:29 +0200 local.putpat.tv (20506)] DEBUG : Traced method: class = , method = find_by_sql, metr
@bitboxer
bitboxer / devise.de.yml
Created Oct 11, 2011 — forked from chrugail/devise.de.yml
german i18n for devise
View devise.de.yml
de:
errors:
messages:
expired: "ist abgelaufen, bitte fordern Sie es neu an"
not_found: "nicht gefunden"
already_confirmed: "wurde bereits bestätigt"
not_locked: "ist nicht gesperrt"
not_saved:
one: "1 Fehler verhinderte, das %{resource} gespeichert werden konnte:"
other: "%{count} Fehler verhinderten, das %{resource} gespeichert werden konnte:"
View gist:1803510
body {
height: 290px;
font-family: sans-serif;
font-size: 13px;
padding: 5px;
}
form {
display:none;
width: 200px;
@bitboxer
bitboxer / kvb_coordinates.md
Created Apr 1, 2012
KVB station coordinates
View kvb_coordinates.md
@bitboxer
bitboxer / jarpod.md
Created Sep 2, 2012
Java dependency solution
View jarpod.md

Java Dependency Solution

  • Bundler/Cocoapods like Interface with Jarpod - File
  • possible commands
    • jarpod search json
    • jarpod install
    • jarpod update
  • Update IDEs with new dependencies
    • eclipse
    • android package manager
@bitboxer
bitboxer / terminal_recorder.rb
Last active Dec 17, 2015
First version of a terminal recorder. Just for the fun of it
View terminal_recorder.rb
# Highly inspired by https://github.com/sickill/ascii.io-cli/blob/master/bin/asciiio
require 'pty'
CTRL_C_CODE = ?\C-c
def record(command)
old_state = `stty -g`
begin
You can’t perform that action at this time.