Skip to content

Instantly share code, notes, and snippets.

View caleorourke's full-sized avatar

Michael O'Rourke caleorourke

View GitHub Profile
@caleorourke
caleorourke / Jekyll on Windows.md
Last active December 24, 2015 08:09
Jekyll, at its core, is a text transformation engine. With it, we can tweak how our site URL looks and what data we display in the layout. Getting it installed on Windows is a challange, especially since it's not supported. Follow these instructions below and they'll walk you through getting the job done.

Summary

Jekyll is a text transformation engine. The concept behind Jekyll is like this.

  1. You write text using your preferred markup language (Markdown, Textile, HTML).
  2. You serve your text up to Jekyll.
  3. Jekyll churns your text through a single layout (or a series of layouts).

These instructions are ideal for Windows 7 Professional. Adjustments may be necessary if you're using a different Windows OS or OS edition.

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables

@caleorourke
caleorourke / color palette.md
Last active December 31, 2015 13:39
A new palette of Flat UI colors, unlike the kit designed by Designmodo.

Green

Blue

@caleorourke
caleorourke / color palette refactored.md
Last active December 31, 2015 14:38
A new palette of Flat UI colors, unlike the kit designed by Designmodo.

Color Palette

Current color palette, as of 12/31/2013.

Blue

Orange

@caleorourke
caleorourke / colors.json
Created December 17, 2013 07:06
Predefined colors reserved by GitHub for specific languages
{
"Color Scheme": "GitHub"
{
"Arduino": "#bd79d1",
"Java": "#b07219",
"VHDL": "#543978",
"Scala": "#7dd3b0",
"Emacs Lisp": "#c065db",
"Delphi": "#b0ce4e",
"Ada": "#02f88c",
@caleorourke
caleorourke / 10 Principles.md
Last active February 15, 2021 19:10
The 10 Principles of Successful Lean Product Teams

These principles describe how the best startup teams have always worked. By attempting to describe these successful patterns of work, we hope the approach can be repeated, taught, and practiced deliberately to make startup teams more successful, more quickly.

The Principles

  • Design + Product Management + Development = 1 team
  • Externalize
  • Goal-driven & outcome-focused
  • Repeatable & routinized
  • FLOW: Think -> Make -> Check
  • Focus on solving the right problem
@caleorourke
caleorourke / GitHub Colors.md
Created December 18, 2013 07:00
Under the "Languages" tab on each repository, GitHub maps colors to different programming languages. Below is a visual representation for each language color.

GitHub Colors

Under the "Languages" tab on each repository, GitHub maps colors to different programming languages. Below is a visual representation for each language color.

@caleorourke
caleorourke / Rakefile
Created March 7, 2014 20:19
Porting a Rakefile for creating markdown (.md) pages with canned front-matter to Grunt's mkdirp plug-in
require "rubygems"
require "rake"
require "safe_yaml"
SOURCE = "."
# Creates a new markdown (.md) page in the root with predefined front-matter
# Spaces, duplicate names, and file extensions other than .md are not supported
# Run: $ rake new page=about

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

/*
 * # Milestones
 * # Fetch data from the most recent milestone and code commit
 *
 * Copyright (c) 2014 SoftLayer, an IBM Company
 * Released under the MIT license
 *
 */