Skip to content

Instantly share code, notes, and snippets.

View zumwalt's full-sized avatar

Casey Zumwalt zumwalt

View GitHub Profile
@zumwalt
zumwalt / .zshrc
Created July 25, 2015 00:47
Find and kill a process using any port using a bash function
killport() {
lsof -i TCP:$1 | grep LISTEN | awk '{print $2}' | xargs kill -9
echo "Port" $1 "killed."
}
@zumwalt
zumwalt / .zshrc
Created July 25, 2015 00:52
Bash script to open a Python server on a specified port
server() {
if [ -z "$1"]
then
python -m SimpleHTTPServer 8000
else
python -m SimpleHTTPServer $1
fi
}
@zumwalt
zumwalt / Find
Created August 16, 2015 03:09
Regex for finding and replacing Compass includes in Sass
@include (.*?)\((.*?)\);
@zumwalt
zumwalt / sanfrancisco-font.css
Last active August 26, 2016 18:18
San Francisco Web Font
@font-face {
font-family: "San Francisco Text";
font-weight: 300;
src: url("../fonts/sanfranciscotext-light-webfont.woff");
}
@font-face {
font-family: "San Francisco Text";
font-weight: 400;
src: url("../fonts/sanfranciscotext-regular-webfont.woff");

Keybase proof

I hereby claim:

  • I am zumwalt on github.
  • I am zumwalt (https://keybase.io/zumwalt) on keybase.
  • I have a public key ASDbV9vAwUtbaSGSUwbqOQPDYn4AC0MOW2mQUGZlIPAV5Ao

To claim this, I am signing this object: