Skip to content

Instantly share code, notes, and snippets.

View damontorgerson's full-sized avatar

Damon Torgerson damontorgerson

  • Alpenspruce Software, Inc
View GitHub Profile
@damontorgerson
damontorgerson / gist:bb30c4579f02cc19eb9a24bd7d689528
Created April 17, 2018 14:59
Liquid Template and Froala Don't seem to get along
<p style="text-align: center;"><img src="https://s3-us-west-2.amazonaws.com/k12transfers-prod/district%2F583%2Fwysiwyg_editor_images%2F1523908084330-cvusd-logo.png" style="width: 110px;" class="fr-fic fr-fil fr-dii">COACHELLA VALLEY UNIFIED SCHOOL DISTRICT
<br>87225 CHURCH STREET &nbsp; &nbsp;PO BOX 847 &nbsp; &nbsp;THERMAL CA 92274-0847
<br>OFFICE OF CHILD WELFARE &amp; ATTENDANCE</p>
<div style="text-align: center;">Telephone: (760) 848-1161 Fax: (760) 399-0057</div>
<p style="text-align: center;">Norma Rodriguez, Director</p>
<p>
<br>
</p>
@damontorgerson
damontorgerson / gist:2231f42302da9f9f078b
Created November 30, 2014 23:53
Launch SIDEKIQ in Amazon Elastic Beanstalk (AMI 1.0.9)
files:
"/etc/rsyslog.d/11-sidekiq.conf":
mode: '000644'
content: |
EB_CONFIG_APP_LOGS=$(/opt/elasticbeanstalk/bin/get-config container -k app_log_dir)
$InputFileName $EB_CONFIG_APP_LOGS/sidekiq.log
$InputFileTag sidekiq
$InputFileStateFile sidekiq-state
$InputFileSeverity info