Skip to content

Instantly share code, notes, and snippets.

View robertlyall's full-sized avatar

Robert Lyall robertlyall

View GitHub Profile
@robertlyall
robertlyall / Git Merge Messages
Created April 9, 2014 16:02
Stop the merge messages appearing in Git.
git config branch.autosetuprebase always
git config branch.v5.rebase true
@robertlyall
robertlyall / SassMeister-input-HTML.haml
Created April 9, 2014 16:38
Generated by SassMeister.com.
/ Star them to stick them to the top under popular projects
/ Sort alphabetically or by recent activity
/ Image for the project can be uploaded, or one of our many
/ random stock photos can be used.
.container
.card
.card__header
%p.card__subhead Git
%h3.card__heading Android Application
@robertlyall
robertlyall / SassMeister-input-HTML.haml
Created April 9, 2014 22:18
Generated by SassMeister.com.
/ Star them to stick them to the top under popular projects
/ Sort alphabetically or by recent activity
/ Image for the project can be uploaded, or one of our many
/ random stock photos can be used.
.container
.card
.card__header
%p.card__subhead Git
%h3.card__heading Android Application
@robertlyall
robertlyall / SassMeister-input.scss
Created April 23, 2014 15:36
Generated by SassMeister.com.
// ----
// Sass (v3.3.5)
// Compass (v1.0.0.alpha.18)
// ----
// variables.scss
$screen-xs-max: 767px;
$screen-sm: $screen-xs-max + 1px;
$screen-sm-max: 991px;
$screen-md: $screen-sm-max + 1px;
@robertlyall
robertlyall / Order_CSS
Created July 3, 2014 12:39
Order CSS declarations macro for Sublime Text 2
// Default (OSX).sublime-keymap
[
{ "keys": ["super+shift+."], "command": "run_macro_file", "args": {"file": "Packages/User/order_css.sublime-macro"} }
]
// Packages/User/order_css.sublime-macro
[
{
<div class="Admin-dialog dialog dialog--large">
<div class="dialog-header">
<h2 class="dialog-title">
</div>
</div>
<!--
In this instance, dialog is a component and Admin-dialog is a partial.
@robertlyall
robertlyall / SassMeister-input-HTML.html
Created July 10, 2014 13:10
Generated by SassMeister.com.
<div class="blog not-blog">
Hello
</div>
var gulp = require('gulp');
var rename = require('gulp-rename');
var autoprefixer = require('gulp-autoprefixer');
var cssshrink = require('gulp-cssshrink');
var sass = require('gulp-ruby-sass');
var coffee = require('gulp-coffee');
var concat = require('gulp-concat');
@robertlyall
robertlyall / SassMeister-input-HTML.html
Created August 8, 2014 13:37
Generated by SassMeister.com.
<a class="button" href="javascript: void(0)">Button</a>
@robertlyall
robertlyall / SassMeister-input-HTML.html
Created August 21, 2014 12:30
Generated by SassMeister.com.
<div class="content">
<a href="#" class="button">Button</a>
<a href="#" class="button button--brand">Button</a>
<a href="#" class="button button--positive">Button</a>
<a href="#" class="button button--negative">Button</a>
</div>
<div class="sidebar">
<a href="#" class="button">Button</a>
<a href="#" class="button button--brand">Button</a>