Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
<!doctype html>
<html>
<head>
<!-- Run in full-screen mode. -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Make the status bar black with white text. -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">
@roachhd
roachhd / pureCSS.html
Last active August 29, 2015 13:55 — forked from anonymous/jsbin.AYEpIlAw.html
simple colums using pureCSS YUI. standard and responsive versions.
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.3.0/pure-min.css">
<title>JS Bin</title>
</head>
<body>
<div class="container">
@@ -71,7 +71,7 @@
if (this.isRTL){
this.picker.addClass('datepicker-rtl');
this.picker.find('.prev i, .next i')
- .toggleClass('icon-arrow-left icon-arrow-right');
+ .toggleClass('fa-arrow-left fa-arrow-right');
}
$(document).on('mousedown', function (e) {
// Clicked outside the datepicker, hide it
@@ -951,9 +951,9 @@
@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
//