Skip to content

Instantly share code, notes, and snippets.

View gandhiShepard's full-sized avatar

Benjamin Gandhi-Shepard gandhiShepard

View GitHub Profile
@gandhiShepard
gandhiShepard / SassMeister-input.scss
Created September 12, 2014 04:18
Generated by SassMeister.com.
// ----
// Sass (v3.4.3)
// Compass (v1.0.1)
// ----
// Function needed for the mixin
// Thanks Hugo! http://hugogiraudel.com/2013/08/08/advanced-sass-list-functions
@function remove-list-items($list, $value) {
$result: ();
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700);
$sans-serifs: "Helvetica Neue", Helvetica, Arial, sans-serif;
.pseudo {
content: '';
display: block;
position: absolute;
}
body {
color: #333;

Semantic Versioning 2.0.0

Summary

Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards-compatible manner, and
  3. PATCH version when you make backwards-compatible bug fixes.
<section id="archive">
<h3>This year's posts</h3>
{%for post in site.posts %}
{% unless post.next %}
<ul class="this">
{% else %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %}
</ul>
@gandhiShepard
gandhiShepard / 0_reuse_code.js
Created August 30, 2014 15:48
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console