Skip to content

Instantly share code, notes, and snippets.

View getsource's full-sized avatar

Kira Schroder getsource

View GitHub Profile
@boogah
boogah / Favorite Alfred Workflows.md
Last active December 29, 2017 19:41
My Favorite Alfred Searches & Workflows
@markjaquith
markjaquith / aaa.nginxconf
Last active February 1, 2017 04:30
Grab non-locally-existing production images from Photon for your local WordPress dev environment
location ~* \.(jpe?g|gif|png)$ {
try_files $uri @photon;
}
location @photon {
rewrite ^(.*)-([0-9]+)x([0-9]+)\.(jpe?g|gif|png)$ http://i0.wp.com/$host$1.$4?resize=$2,$3;
rewrite . http://i0.wp.com/$host$request_uri;
}
55 westonruter
11 DrewAPicture
11 ocean90
10 afercia
8 obenland
6 celloexpressions
4 adamsilverstein
3 melchoyce
3 sergeybiryukov
2 boonebgorges
@thbar
thbar / gist:f66a28fbeddd84391663451236d30150
Created December 8, 2017 10:34 — forked from n00neimp0rtant/gist:9515611
simple squash without rebase
## within current branch, squashes all commits that are ahead of master down into one
## useful if you merged with upstream in the middle of your commits (rebase could get very ugly if this is the case)
## commit any working changes on branch "mybranchname", then...
git checkout master
git checkout -b mybranchname_temp
git merge --squash mybranchname
git commit -am "Message describing all squashed commits"
git branch -m mybranchname mybranchname_unsquashed
git branch -m mybranchname
@Jimmy-Z
Jimmy-Z / services-start.sh
Created February 28, 2019 08:42
multi SSID with VLAN script, for ASUS AC86U with merlin
#!/bin/sh
# multi SSID with VLAN script, for ASUS AC86U with merlin
#
# setup before hand:
# set "router" to "AP Mode"
# this will put all ports and wireless in br0
# create 2 guest network
# enable Administration => System => Enable JFFS custom scripts and configs
# put this script in /jffs/scripts/, name should be "services-start"
@jchonig
jchonig / gw_leds
Last active February 18, 2021 23:41
# See https://github.com/jchonig/pfsense_scripts/blob/main/scripts/gw_leds