Skip to content

Instantly share code, notes, and snippets.

View index.pug
Built with React and powered by ES6.
Laidlaw /
Last active Aug 29, 2015

Keybase proof

I hereby claim:

  • I am laidlaw on github.
  • I am laidlaw ( on keybase.
  • I have a public key whose fingerprint is 22F0 2B2B AE6E 6015 3D2A 1906 8059 1609 A390 3323

To claim this, I am signing this object:

Laidlaw / octopress-psyche
Created Oct 12, 2013
An unhelpful Octopress error log. It look like a problem with the ruby versions or with something in Psyche. But psyche its not! This error comes from added '@' in front of your twitter handle in the _config.yml file.
View octopress-psyche
/path/to-the-rubies/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/psych.rb:203:in `parse': (/path/to-the-rubies/Blog/_config.yml): found character that cannot start any token while scanning for the next token at line 72 column 15 (Psych::SyntaxError)
from /path/to-the-rubies/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/psych.rb:203:in `parse_stream'
from /path/to-the-rubies/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/psych.rb:151:in `parse'
from /path/to-the-rubies/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/psych.rb:127:in `load'
from /path/to-the-rubies/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/psych.rb:297:in `block in load_file'
from /path/to-the-rubies/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/psych.rb:297:in `open'
from /path/to-the-rubies/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/psych.rb:297:in `load_file'
from /path/to-the-rubies/.rvm/gems/ruby-1.9.3-p429/gems/jekyll-0.12.0/lib/jekyll.rb:130:in `configuration'
from /path/to-the-rubies/.rvm/gems/ruby-1.9.3-p429/gems/jekyll-0.12.0/bin/jekyl
Laidlaw / chill-fixed-nav
Created Jun 6, 2013
Navigation bar that becomes fixed once it reaches the top. Goes from 'chill' to 'fixed.' Also adds an "active" class to nav anchors.
View chill-fixed-nav
var lastId,
scrollNav = $("#fixedMenu"),
menuItems = scrollNav.find("a"),
// Anchors corresponding to menu items
scrollItems ={
var item = $($(this).attr("href"));
if (item.length) { return item; }
Laidlaw / index.html
Created May 10, 2013
A CodePen by Laidlaw. Simple Word Bubble mixin - This handles the color, size and rotation of the word bubble's stem.
View index.html
<div class="container">
<img src="" alt="" />
<div class="circle">
Here is some text
<div class="circle2">
I'm going to die alone. :(
Laidlaw / index.html
Created Feb 2, 2013
A CodePen by Laidlaw. cssPanelMenu - Based on css solution: back button fix: This is a beautiful solution and because it has no javascript, it works much more smoothly on mobile. There are only a few caveats. You can't just plug it in, it relies on a…
View index.html
<nav class="main-nav" id="main-nav">
<a href="#">Dr. Pepper</a>
<a href="#">Coka-Cola</a>
<a href="#">Cheerwine</a>
<a href="#">Nav 4</a>
<a href="#">Nav 5</a>
<a href="#">Nav 6</a>
<a href="#">Dr. Pepper</a>
Laidlaw / dabblet.css
Created Dec 18, 2011
The first commented line is your dabblet’s title
View dabblet.css
* The first commented line is your dabblet’s title
background: #f06;
background: linear-gradient(45deg, #303030 30%, #f1f1f1 30%);
View full-page-slider.html
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" xml:lang="en" lang="en">
<title>Full Page Slider</title>
<style type="text/css">
html {
You can’t perform that action at this time.