Skip to content

Instantly share code, notes, and snippets.

Avatar

Stefan Stölzle stoe

View GitHub Profile
@stoe
stoe / git-gone
Last active Mar 23, 2020
delete local branches if they have been deleted remotely
View git-gone
#!/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
@stoe
stoe / LetsEncrypt_HTTPS_plex.MD
Created Aug 10, 2017 — forked from churro-s/LetsEncrypt_HTTPS_plex.MD
Setup Let's Encrypt certificate for use with Plex Media Server on Ubuntu
View LetsEncrypt_HTTPS_plex.MD
@stoe
stoe / hyperterm-alfred.applescript
Last active Aug 3, 2016
custom-hyperterm-applescripts-for-alfred
View hyperterm-alfred.applescript
-- 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)
View keybase.md

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:

View brandcolors.scss
// 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;
@stoe
stoe / CompareTools.plist
Last active Apr 20, 2016
git-tower compare tools
View CompareTools.plist
<?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>
@stoe
stoe / .gitconfig
Created Aug 4, 2015
WebStorm DiffMerge
View .gitconfig
[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
You can’t perform that action at this time.