Skip to content

Instantly share code, notes, and snippets.

View ROFISH's full-sized avatar

Ryan Alyea ROFISH

View GitHub Profile
@ROFISH
ROFISH / edgerouter-qos
Last active August 26, 2017 02:55 — forked from beardicus/edgerouter-qos
EdgeRouter Lite QOS Settings
configure
#
# fair-queue based settings for EdgeRouter Lite traffic shaping
#
# don't shape downloads for now
# download is typically 50. everything can burst to 100%
# of bandwidth, priority rules keep the garbage in check
@ROFISH
ROFISH / erbengine.rb
Created February 23, 2012 01:10 — forked from mislav/gist:17371
haml2erb
class ErbEngine < Haml::Engine
def push_script(text, preserve_script, in_tag = false, preserve_tag = false,
escape_html = false, nuke_inner_whitespace = false)
push_text "<%= #{text.strip} %>"
end
def push_silent(text, can_suppress = false)
push_text "<% #{text.strip} %>"
end