Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / dabblet.css
Last active August 29, 2015 14:08 — forked from LeaVerou/dabblet.css
/**
* Blinking animations
*/
@keyframes blink-smooth { to { opacity: 0 } }
@keyframes blink { 50% { opacity: 0 } }
p {
animation: blink-smooth .3s 10 alternate;
background: yellow;
@roachhd
roachhd / dabblet.css
Last active August 29, 2015 14:08 — forked from LeaVerou/dabblet.css
/**
* RGB plane for R=255
*/
@roachhd
roachhd / index.html
Last active August 29, 2015 14:08
SVGs are farking sick mate
data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%0A%09%3Cdefs%3E%0A%09%09%3Cfilter%20id%3D%22b%22%3E%0A%09%09%09%3CfeGaussianBlur%20stdDeviation%3D%2220%22%2F%3E%0A%09%09%3C%2Ffilter%3E%0A%09%09%3CradialGradient%20id%3D%22l%22%20cx%3D%2250%25%22%20cy%3D%220%25%22%20fy%3D%22-50%25%22%20r%3D%2282%25%22%3E%0A%09%09%09%3Cstop%20offset%3D%2240%25%22%20style%3D%22stop-color%3A%23fff%3B%20stop-opacity%3A1%3B%22%2F%3E%0A%09%09%09%3Cstop%20offset%3D%2290%25%22%20style%3D%22stop-color%3A%23fff%3B%20stop-opacity%3A.5%3B%22%2F%3E%0A%09%09%09%3Cstop%20offset%3D%22100%25%22%20style%3D%22stop-color%3A%23fff%3B%20stop-opacity%3A0%22%2F%3E%0A%09%09%3C%2FradialGradient%3E%0A%09%09%3CradialGradient%20id%3D%22l2%22%20cx%3D%2250%25%22%20cy%3D%220%25%22%20fy%3D%22-45%25%22%20r%3D%2275%25%22%3E%0A%09%09%09%3Cstop%20offset%3D%2240%25%22%20style%3D%22stop-color%3A%23fff%3B%20stop-opacity%3A1%3B%22%2F%3E%0A%09%09%09%3Cstop%20offset%3D%2290%25%22%20style%3D
@roachhd
roachhd / index.html
Last active August 29, 2015 14:08 — forked from LeaVerou/dabblet.css
<h1>Increasing border-left width</h1>
<div class="progress"></div>
<div class="progress"></div>
<div class="progress"></div>
<div class="progress"></div>
<div class="progress"></div>
<div class="progress"></div>
<div class="progress"></div>
<div class="progress"></div>
<div class="progress"></div>
@roachhd
roachhd / example.css
Last active August 29, 2015 14:08 — forked from heygrady/example.css
.box {
-moz-box-shadow: 5px 9px 5px 5px rgba(0, 0, 0, 0.75);
-webkit-box-shadow: 5px 9px 5px 5px rgba(0, 0, 0, 0.75);
-o-box-shadow: 5px 9px 5px 5px rgba(0, 0, 0, 0.75);
box-shadow: 5px 9px 5px 5px rgba(0, 0, 0, 0.75);
}
@roachhd
roachhd / versions.json
Created October 29, 2014 03:04
Programmatic way to stay up to date with GitHub pages dependency versions From https://pages.github.com/versions.json
{"jekyll":"2.4.0","jekyll-coffeescript":"1.0.0","jekyll-sass-converter":"1.2.0","kramdown":"1.3.1","maruku":"0.7.0","rdiscount":"2.1.7","redcarpet":"3.1.2","RedCloth":"4.2.9","liquid":"2.6.1","pygments.rb":"0.6.0","jemoji":"0.3.0","jekyll-mentions":"0.1.3","jekyll-redirect-from":"0.6.2","jekyll-sitemap":"0.6.0","github-pages":"28","ruby":"2.1.1"}
@roachhd
roachhd / David-dm_Badges.md
Created October 30, 2014 09:03
Adding David-dm.org badges for dev dependencies.

GIVING YOU BADGES.

Got a Node.js project? Get a badge. David is free for public projects on Github.

Declare your dependencies in a package.json file and you're good. David will go work the rest out and you'll get your own project status page, listing your dependencies and their freshness. Click on the examples above for a preview.

Type your username / repo name in below and get yours...

https://david-dm.org/username/repo.png badge

@roachhd
roachhd / StrapDownjs-easyDocs.md
Last active August 29, 2015 14:08
Easy noob-proof docs with StrapDown.js

This is how we do it!

<!DOCTYPE html>
<html>
<title>Hello Strapdown</title>

<xmp theme="united" style="display:none;">
# Markdown text goes in here
@roachhd
roachhd / README.md
Created October 30, 2014 11:17
Config for Prose. If Jekyll site add to _confih.yml otherwise create a _prose.yml
prose:
  rooturl: '_posts'
  siteurl: 'http://prose.github.io/starter/'
  relativeLinks: 'http://prose.github.io/starter/links.jsonp'
  media: 'media'
  ignore:
    - index.md
    - _config.yml
    - /_layouts
  • /_includes