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
@sskylar
sskylar / minify-liquid.html
Last active January 8, 2021 19:00
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:' ',' ' }}
@finger-berlin
finger-berlin / beanstald.sh
Created February 29, 2012 16:35
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"