Skip to content

Instantly share code, notes, and snippets.


Zander Martineau mrmartineau

View GitHub Profile
mrmartineau / googleAnalytics.html
Created Mar 11, 2016
Google Analytics embed code for Kickoff.
View googleAnalytics.html
(K[o].q=K[o].q||[]).push(arguments)},K[o].l=1*new Date();f=i.createElement(c),
ga('create', 'UA-XXXXX-XX', '', {
//'cookieDomain': 'none' // Use if debugging on localhost
ga('send', 'pageview');
View _module-naming-mixins.scss
@include component('foo') {
margin: auto;
@include modifier('bar') {
padding: 20px;
@include modifier('baz') {
padding: 50px;

Keybase proof

I hereby claim:

  • I am mrmartineau on github.
  • I am zander ( on keybase.
  • I have a public key whose fingerprint is B686 75C9 8088 B2AD 9B47 74EF 41F1 9641 16AF 831C

To claim this, I am signing this object:



A lightweight front-end framework for creating scalable and performant, responsive sites

devDependency Status Build status Dependency Status XO code style Commitizen friendly bitHound Overall Score

Developed and maintained by [Ashley Nolan](https://gith

mrmartineau / markup.html
Last active Sep 9, 2016
Simple Video player
View markup.html
<div class="video">
<video poster="video-poster.png" controls>
<source src="video.mp4" type="video/mp4">
Your browser does not support the <code>video</code> element.
<img src="video-poster.png" alt="launch video" />
mrmartineau / .bash_profile
Last active Oct 29, 2016
Bash-it settings
View .bash_profile
#!/usr/bin/env bash
# Path to the bash it configuration
export BASH_IT="/Users/mrmartineau/.bash_it"
# Lock and Load a custom theme file
# location /.bash_it/themes/
export BASH_IT_THEME='zander'
# (Advanced): Change this to the name of your remote repo if you
View node-sass.log
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
> tmwsite@0.1.0 preinstall C:\BuildAgent\work\33aa7c45146a0267\source
> bundle install
DL is deprecated, please use Fiddle
Using colorator 1.1.0
Using ffi 1.9.14
mrmartineau / Colour-scheme.mustache
Last active Jan 20, 2017
Creating dynamic layouts with Jekyll
View Colour-scheme.mustache
.hero {
background-color: {{ }};
color:{{ page.hero.color }};
background-image: url({{ site.assets.imgPath }}{{ }}?w=500&{{ site.assets.params }});
.hero-title {
color: {{ page.hero.color }};
mrmartineau / for-loop.mustache
Last active Jan 20, 2017
From my blog post: Creating dynamic layouts with Jekyll
View for-loop.mustache
{% for item in page.partials %}
{% include {{}}.html
mrmartineau / section-module.mustache
Created Jan 20, 2017
From my blog post: Creating dynamic layouts with Jekyll Raw
View section-module.mustache
<section class="section{%if include.spaced %} section--spaced{% endif %}{%if include.padded %} section--padded{% endif %}{%if include.classes %} {{ include.classes }}{% endif %}{%if include.centred %} section--centred{% endif %}" style="{%if include.color %}color: {{ include.color }};{% endif %}{%if include.bgcolor %}background-color: {{ include.bgcolor }};{% endif %}">
<div class="l-container{%if include.size %} l-container--{{ include.size }}{% endif %}">
{% if include.title %}
<h3 class="h3">{{ include.title }}</h3>
{% endif%}
{{ include.body | markdownify }}
{% if %}
<a href="{{ include.href }}" rel="external">{{ }}</a>
{% endif %}