Skip to content

Instantly share code, notes, and snippets.

View tburry's full-sized avatar

Todd Burry tburry

  • Travel Insurance Specialists
  • Montreal
View GitHub Profile
@tburry
tburry / hatml.md
Last active March 28, 2017 16:20
The Hatml Template Language

The Hatml Template Language

HTML Attribute Template Markup Language

The hatml templating language uses basic HTML and special attributes for a simple yet powerful templating language.

Basic Templating

In general you write normal HTML. Data is included in the template by including it between {...}. Other special functionality is added via special template attributes.

@tburry
tburry / log-levels.md
Last active April 3, 2017 19:02
Emoji log levels
level
⚙️ debug
ℹ️ info
🔔 notice
⚠️ warning
🛑 error
💥 critical
🚨 alert
🚑 emergency
@tburry
tburry / formatting.md
Created February 12, 2018 17:11
Formatting Examples

A simple function would look like:

function foo(array $bar) {
    foreach ($bar as $key => $value) {
        echo "$key: $value\n";
    }
}
@tburry
tburry / blog-feed.html
Created August 17, 2018 15:38
Sample blog feed HTML
<ul class="rssFeed">
<li class="rssFeed-item">
<h3 class="rssFeed-title"><a href="https://blog.vanillaforums.com/rich-editor-enhancing-your-forum-posting-experience">Rich Editor: Enhancing Your Forum Posting Experience</a></h3>
<div class="hs-featured-image-wrapper"> <a href="https://blog.vanillaforums.com/rich-editor-enhancing-your-forum-posting-experience" title="" class="hs-featured-image-link"> <img src="https://blog.vanillaforums.com/hubfs/New%20Rich%20Editor%20-%20Todd%20-%20Adam%20-%20Adrian%20-%201.jpg?t=1534448727065" alt="New Rich Editor - Todd - Adam - Adrian - 1" class="hs-featured-image" style="width:auto !important; max-width:50%; float:left; margin:0 15px 15px 0;"> </a> </div> <p><span style="font-weight: 400;">After many months of development, we are very excited to unveil a new Rich Editor, an enhanced WYSIWYG &nbsp;(what you see is what you get) experience. This project has been the culmination of much work amongst several developers on our team and we are so happy to finally share