Skip to content

Instantly share code, notes, and snippets.

View amandasaffer's full-sized avatar
😘
always working

Amanda Saffer amandasaffer

😘
always working
  • SuitShop
  • Boulder, CO
View GitHub Profile
@amandasaffer
amandasaffer / minify-liquid.html
Created September 18, 2016 21:11 — forked from sskylar/minify-liquid.html
Simple HTML minify with Liquid/Siteleaf. Strips all line breaks, tabs, and extra spaces.
{% capture html %}
<html>
...
</html>
{% endcapture %}{{ html | strip_newlines | replace:' ','' | replace:' ','' | replace:' ',' ' }}
@amandasaffer
amandasaffer / beanstald.sh
Created July 21, 2016 19:23 — forked from finger-berlin/beanstald.sh
OSX script for easy start & stop beanstalkd (brew version)
#!/bin/sh
daemon=beanstalkd
executable=/usr/local/bin/$daemon
port=11300
waldir=/usr/local/var/beanstalkd
logfile=/usr/local/var/log/beanstalkd.log
interface="127.0.0.1"
params="-l $interface -p $port -b $waldir"