Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / generate.js
Last active August 29, 2015 14:06 — forked from seejohnrun/generate.js
var url = 'https://lh6.googleusercontent.com/-NQAMokukfdE/AAAAAAAAAAI/AAAAAAAAAAA/zSaLZajdgEI/s48-c-k-no/photo.jpg';
var xoffset = 240;
var yoffset = 210;
var pixelSize = 7;
var viewportWidth = 800;
var viewportHeight = 670;
//
// And away we go
//
<div id='ibb-widget-root-910378024'></div><script>(function(t,e,i,d)\{var o=t.getElementById(i),n=t.createElement(e);o.style.height=50;o.style.width=300;o.style.display='inline-block';n.id='ibb-widget',n.setAttribute('src',('https:'===t.location.protocol?'https://':'http://')+d),n.setAttribute('width','300'),n.setAttribute('height','50'),n.setAttribute('frameborder','0'),n.setAttribute('scrolling','no'),o.appendChild(n)\})(document,'iframe','ibb-widget-root-910378024',"banners.itunes.apple.com/banner.html?partnerId=&aId=&bt=catalog&t=catalog_black&id=910378024&c=us&l=en-US&w=300&h=50");</script>
<div id='ibb-widget-root-917248040'></div><script>(function(t,e,i,d){var o=t.getElementById(i),n=t.createElement(e);o.style.height=50;o.style.width=300;o.style.display='inline-block';n.id='ibb-widget',n.setAttribute('src',('https:'===t.location.protocol?'https://':'http://')+d),n.setAttribute('width','300'),n.setAttribute('height','50'),n.setAttribute('frameborder','0'),n.setAttribute('scrolling','no'),o.appendChild(n)})(document,'iframe','ibb-widget-root-917248040',"banners.itunes.apple.com/banner.html?partnerId=&aId=&bt=catalog&t=catalog_black&id=917248040&c=us&l=en-US&w=300&h=50");</script>
@import url("//fonts.googleapis.com/css?family=Lato:300,400,700");/*!
* bootswatch v3.2.0
* Homepage: http://bootswatch.com
* Copyright 2012-2014 Thomas Park
* Licensed under MIT
* Based on Bootstrap
*//*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-bo
@import url("//fonts.googleapis.com/css?family=Lato:300,400,700");
/*!
* bootswatch v3.2.0
* Homepage: http://bootswatch.com
* Copyright 2012-2014 Thomas Park
* Licensed under MIT
* Based on Bootstrap
*/
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
@roachhd
roachhd / bootstrap.css
Created September 29, 2014 12:11
Bootswatch Cybory theme min.css From http://bootswatch.com/cyborg/bootstrap.min.css
@import url("//fonts.googleapis.com/css?family=Roboto:400,700");/*!
* bootswatch v3.2.0
* Homepage: http://bootswatch.com
* Copyright 2012-2014 Thomas Park
* Licensed under MIT
* Based on Bootstrap
*//*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-
@import url("//fonts.googleapis.com/css?family=Roboto:400,700");
/*!
* bootswatch v3.2.0
* Homepage: http://bootswatch.com
* Copyright 2012-2014 Thomas Park
* Licensed under MIT
* Based on Bootstrap
*/
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
@roachhd
roachhd / index.html
Created September 29, 2014 13:46
My read me file md to html for iOS7 CSS UI kit on Github From http://roachhd.github.io/ios7-css-ui/
<p>Thank you for checking out my UI kit. </p>
<p>To compile with Sass, run the following command: sass —update scss:css </p>
<p>If you have any questions, feel free to email me at: <a herf="mailto:[email protected]">my email</a>.</p>
<p>Happy coding!</p>
<p><a href="http://test.roachhaus.com/test/2013/ios7-css-ui/">My Demo</a></p>
<p><a href="http://roachhd.github.io/ios7-css-ui/">Github Pages</a></p>
<p>Please give it a STAR or FORK it and make it better!</p>
@roachhd
roachhd / index.html
Created October 4, 2014 12:26
Flatdoc index.html file for github pages -generates awesome simple FlatDoc style documentation. Please this in the gh-pages branch and it will pull README
<!doctype html>
<!--
Instructions:
- Save this file.
- Replace "USER" with your GitHub username.
- Replace "REPO" with your GitHub repo name.
- Replace "Your Project" with your project name.
- Upload this file (or commit to GitHub Pages).