Skip to content

Instantly share code, notes, and snippets.

View stoe's full-sized avatar
🤘
https://www.keinbockaufnazis.de

Stefan Stölzle stoe

🤘
https://www.keinbockaufnazis.de
View GitHub Profile
@stoe
stoe / .gitconfig
Created August 4, 2015 23:46
WebStorm DiffMerge
[mergetool]
keepBackup = false
[merge]
tool = wstorm
[mergetool "wstorm"]
cmd = /Applications/WebStorm.app/Contents/MacOS/webstorm merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED")
trustExitCode = true
[difftool]
prompt = false
@stoe
stoe / CompareTools.plist
Last active April 20, 2016 08:21
git-tower compare tools
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>ApplicationIdentifier</key>
<string>com.jetbrains.diff.webstorm</string>
<key>ApplicationName</key>
<string>WebStorm</string>
<key>DisplayName</key>
// http://brandcolors.net?brands=31,33,59,66,68,70,72,76,77,78,81,83,87,90,91,92,98,99,103,104,106,108,110,112,114,124,127,128,133,136,142,149,150,155,168,171,172,173,200,201,213,222,240,243,280,381,408,409,418,421,426,440,443,444,449,458,469,477,499,1024
$bc-adobe: #ff0000;
$bc-adobe-2: #fbb034;
$bc-adobe-3: #ffdd00;
$bc-adobe-4: #c1d82f;
$bc-adobe-5: #00a4e4;
$bc-adobe-6: #8a7967;
$bc-adobe-7: #6a737b;

Keybase proof

I hereby claim:

  • I am stoe on github.
  • I am stoe (https://keybase.io/stoe) on keybase.
  • I have a public key whose fingerprint is 2D50 39EB 3044 2116 E371 8D1E 81CE FD5C E87A AF6B

To claim this, I am signing this object:

@stoe
stoe / hyperterm-alfred.applescript
Last active August 3, 2016 06:01
custom-hyperterm-applescripts-for-alfred
-- This is v0.5 of the custom script for AlfredApp for HyperTerm 2.9+
-- Please see https://github.com/stuartcryan/custom-iterm-applescripts-for-alfred/
-- for the latest changes.
on is_running(app_name)
tell application "System Events" to (name of processes) contains app_name
end is_running
-- Please note, if you store the HyperTerm binary in any other location than the Applications Folder
-- please ensure you update the two locations below (in the format of : rather than / for folder dividers)
@stoe
stoe / LetsEncrypt_HTTPS_plex.MD
Created August 10, 2017 20:26 — forked from churro-s/LetsEncrypt_HTTPS_plex.MD
Setup Let's Encrypt certificate for use with Plex Media Server on Ubuntu
@stoe
stoe / git-gone
Last active March 23, 2020 11:00
delete local branches if they have been deleted remotely
#!/bin/sh
# shellcheck disable=
git fetch -p && for b in $(git for-each-ref --format '%(refname:lstrip=2) %(upstream:track)' refs/heads --no-merged | awk '$2 == "[gone]" {print $1}'); do git branch -D "${b}"; done