Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / awesome.css
Created December 21, 2014 07:34
font awesome with a dash of css
/* Copy the icon you want from here: http://fortawesome.github.io/Font-Awesome/cheatsheet/ */
.someclass:before {
font-family: FontAwesome;
font-size: 28px;
content: "\f058";
margin-right: 6px;
vertical-align: middle;
}
@roachhd
roachhd / README.md
Created December 20, 2014 15:29
vim Cheatsheet

Vim Cheat Sheet

Movement

By "Word"

  • w forward to beginning of the next word
  • W forward to beginning of the next word (whitespace separates)
  • e forward to end of next word
  • E forward to end of next word (whitespace separates)
  • b back to beginning of the previous word
@roachhd
roachhd / README.md
Created December 20, 2014 15:16
The Typeclassopedia from the Haskell wiki

% Typeclassopedia % Brent Yorgey

Originally published 12 March 2009 in issue 13 of the Monad.Reader. Ported to the Haskell wiki in November 2011 by Geheimdienst. Converted to Markdown in August 2013 by Erlend Hamberg. Converted to EPUB format with pandoc.

This is not the official version of the Typeclassopedia. The official version is now the Haskell wiki version which supersedes the version published in the Monad.Reader. Please help update and extend it by editing it yourself or by leaving comments, suggestions, and questions on the talk page.

Abstract

The standard Haskell libraries feature a number of type classes with algebraic or category-theoretic underpinnings. Becoming a fluent Haskell hacker requires intimate familiarity with them all, yet acquiring this f

@roachhd
roachhd / README.md
Created December 19, 2014 08:06
Twemoji's Awesome

Panda twemoji

@roachhd
roachhd / index.html
Created December 19, 2014 01:13
Fun 500 error page, via GitHub
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Server Error &middot; GitHub</title>
<style type="text/css" media="screen">
body {
background-color: #f1f1f1;
margin: 0;
}
@roachhd
roachhd / README.md
Created December 18, 2014 03:27
Semantic Versioning - a little intro.
Semantic Versioning.

A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically. For instance: 1.9.0 -&gt; 1.10.0 -&gt; 1.11.0.

@roachhd
roachhd / README.md
Last active August 29, 2015 14:11
All you ever really need to know, you learned as a kid.

Most of what I really need to know about how to live, and what to do and how to be, i learned as a kid. Maybe adults should forget ask their complicated rules and listen to themselves.

These are the things I learned.

  • Share everything.
  • Play fair.
  • Don't hit people.
  • Put things back where you found them.
  • Clean up your own mess.
@roachhd
roachhd / README.md
Created December 15, 2014 00:07
Sweet Font Pairs