Skip to content

Instantly share code, notes, and snippets.

@Laidlaw
Laidlaw / keybase.md
Last active August 29, 2015 14:01
keybase.md

Keybase proof

I hereby claim:

  • I am laidlaw on github.
  • I am laidlaw (https://keybase.io/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:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Full Page Slider</title>
<style type="text/css">
html {
@Laidlaw
Laidlaw / dabblet.css
Created December 18, 2011 22:28
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #303030 30%, #f1f1f1 30%);
min-height:15px;
@Laidlaw
Laidlaw / index.html
Created February 2, 2013 03:37
A CodePen by Laidlaw. cssPanelMenu - Based on http://jpanelmenu.com/ css solution: http://codepen.io/Jenn/pen/tIFaH back button fix: http://codepen.io/jetpacmonkey/pen/ktIJz 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…
<nav class="main-nav" id="main-nav">
<ul>
<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
Laidlaw / index.html
Created May 10, 2013 16:21
A CodePen by Laidlaw. Simple Word Bubble mixin - This handles the color, size and rotation of the word bubble's stem.
<div class="container">
<img src="http://placekitten.com/g/200/300" alt="" />
<div class="circle">
Here is some text
</div>
<div class="circle2">
I'm going to die alone. :(
</div>
</div>
@Laidlaw
Laidlaw / chill-fixed-nav
Created June 6, 2013 14:20
Navigation bar that becomes fixed once it reaches the top. Goes from 'chill' to 'fixed.' Also adds an "active" class to nav anchors.
var lastId,
scrollNav = $("#fixedMenu"),
menuItems = scrollNav.find("a"),
// Anchors corresponding to menu items
scrollItems = menuItems.map(function(){
var item = $($(this).attr("href"));
if (item.length) { return item; }
});
@Laidlaw
Laidlaw / octopress-psyche
Created October 12, 2013 19:20
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.
/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
Laidlaw / index.pug
Created January 5, 2017 19:16
React - Inbox
div.wrapper
div#inbox
div.footer.
Built with React and powered by ES6.