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:
I hereby claim:
To claim this, I am signing this object:
| #!/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 |
| # opens the current git repo in tower if no argument is given | |
| tower() { | |
| if [[ "$#" > 0 ]]; then | |
| gittower $@ | |
| else | |
| gittower `git rev-parse --show-toplevel` | |
| fi | |
| } |
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
| at https://tunnel4.player-dev.tvnow.de/?CH=1 DashJS playbackTimeUpdated | |
| at https://tunnel4.player-dev.tvnow.de/?CH=1 DashJS playbackProgress | |
| at https://tunnel4.player-dev.tvnow.de/?CH=1 DashJS playbackTimeUpdated | |
| at https://tunnel4.player-dev.tvnow.de/?CH=1 DashJS playbackProgress | |
| 4at https://tunnel4.player-dev.tvnow.de/?CH=1 DashJS playbackTimeUpdated | |
| [25913][PlaybackController] Native video element event: waiting | |
| at https://cdn.dashjs.org/latest/dash.all.min.js [27178][GapController] Jumping to end of stream because of gap from 634.197311 to 634.566. Gap duration: 0.3686890000000176 | |
| at https://cdn.dashjs.org/latest/dash.all.min.js [27180][PlaybackController] Requesting seek to time: 634.566 | |
| [27182][PlaybackController] Seeking to: 634.566 | |
| at https://cdn.dashjs.org/latest/dash.all.min.js [27188][Stream] onBufferingCompleted - trigger STREAM_BUFFERING_COMPLETED |
| <!doctype html> | |
| <html lang="de"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Test Page</title> | |
| <script src="https://cdn.dashjs.org/latest/dash.all.debug.js"></script> | |
| <script class="code"> | |
| function init() { |