Skip to content

Instantly share code, notes, and snippets.

View cathoderay's full-sized avatar

Ronald Andreu Kaiser cathoderay

  • Rio de Janeiro, Brazil
View GitHub Profile
@mukulu
mukulu / bzr2git
Created July 11, 2011 03:43
Bazaar To Git Repository conversion
#!/bin/bash
# bzr2git
# (c) Tobias Frost 2009. Released under the GPL3.
# http://blog.coldtobi.de
# This script takes a bazaar (bzr) repository and makes a git repository out of
# it. The current dir should be the bzw one, the git one is created in
# new_git_repo.
@etiennemarais
etiennemarais / regex.md
Created April 11, 2016 13:49
Regular expression for handlebars variables, includes, if/else blocks and unescaped variables

Regex

{{[{]?(.*?)[}]?}}

Captures the value of the variable name in a handlebars template

{{> components/templates/email/includes/email-tr-spacer }}
{{# deliveryAddress }}