Skip to content

Instantly share code, notes, and snippets.

View teneightfive's full-sized avatar

Dom Smith teneightfive

View GitHub Profile
/*
# Usage in html template:
"xxx | nl2br"
<div ng-bind-html=" YourString | nl2br "></div>
or:

Keybase proof

I hereby claim:

  • I am teneightfive on github.
  • I am teneightfive (https://keybase.io/teneightfive) on keybase.
  • I have a public key whose fingerprint is 292D 28FF E50B CE71 5B58 A6EE 83F1 A70C AD41 407C

To claim this, I am signing this object:

@teneightfive
teneightfive / .travis.yml
Created March 6, 2014 16:19
Travis configuration file for sending Hipchat notifications
language: ruby
rvm: 2.0.0
notifications:
hipchat:
rooms:
secure: {secure_token}
format: html
template: 'Build <a href="%{build_url}">#%{build_number}</a> for <a href="https://github.com/%{repository}/tree/%{branch}">%{branch}</a> of <a href="https://github.com/%{repository}">%{repository}</a> %{result} in %{duration}. (<a href="%{compare_url}">changes</a>)'