Skip to content

Instantly share code, notes, and snippets.


Bodo Tasche bitboxer

View GitHub Profile
bitboxer /
Last active Jan 23, 2020
Better Slack PR messages

After reading this blogpost by Thoughtbot I got the idea to implement a simple bookmarklet to help me create these beautiful PR messages in slack.

If you want it, too, simply create a bookmark with the following Javascript as link:

javascript: (function() {const diffStat = document.getElementById("diffstat").textContent.replace(/(\r\n\t|\n|\r\t)/gm,"").trim().replace(/\s\s+/g, ' ');  window.prompt("Copy this", ":pullrequest: " + window.location.toString() + " " + diffStat);})();

Navigate to a GitHub PR and click on the bookmark. You will see a messagebox where you can copy the text and

bitboxer /
Last active Jun 25, 2018
Open tower in current directory
# opens the current git repo in tower if no argument is given
tower() {
if [[ "$#" > 0 ]]; then
gittower $@
gittower `git rev-parse --show-toplevel`
bitboxer / network-socks
Last active Aug 29, 2015
Enable Socks on all network devices and create ssh connection, remove it afterwards
View network-socks
echo "Setting up Socks Network"
networksetup listallnetworkservices|grep -v "*"|while read device
echo "$device"
sudo networksetup -setsocksfirewallproxy "$device" localhost 8080
sudo networksetup -setsocksfirewallproxystate "$device" on

Keybase proof

I hereby claim:

  • I am bitboxer on github.
  • I am 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:

View gist:6567487
Process: Zephyros [49976]
Path: /Applications/
Identifier: org.degutis.Zephyros
Version: 5.1.1 (5.1.1)
Code Type: X86-64 (Native)
Parent Process: launchd [238]
User ID: 501
Date/Time: 2013-09-14 16:51:59.864 +0200
OS Version: Mac OS X 10.8.5 (12F37)
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
require 'pty'
def record(command)
old_state = `stty -g`
bitboxer /
Created Sep 2, 2012
Java dependency solution

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 /
Created Apr 1, 2012
KVB station coordinates
View gist:1803510
body {
height: 290px;
font-family: sans-serif;
font-size: 13px;
padding: 5px;
form {
width: 200px;
bitboxer /
Created Oct 11, 2011 — forked from chrugail/
german i18n for devise
expired: "ist abgelaufen, bitte fordern Sie es neu an"
not_found: "nicht gefunden"
already_confirmed: "wurde bereits bestätigt"
not_locked: "ist nicht gesperrt"
one: "1 Fehler verhinderte, das %{resource} gespeichert werden konnte:"
other: "%{count} Fehler verhinderten, das %{resource} gespeichert werden konnte:"
You can’t perform that action at this time.