Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Katie Ball roachhd

View GitHub Profile
@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">
@roachhd
roachhd / App.js
Created February 1, 2014 02:46
basic app window using kendoUI. this implements the back button on the phone to take the user back through thr steps they just carried out.
(function() {
// declare thee datasource outside of the grid
// so we can control which page of data to show
var dataSource = new kendo.data.DataSource({
type: 'odata',
transport: {
read: 'http://demos.kendoui.com/service/Northwind.svc/Orders'
},
pageSize: 20,
<!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 / CONFIG.XML
Created February 6, 2014 10:12
starter CONFIG file for build phonegap apps
<?xml version="1.0" encoding="UTF-8"?>
<!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.phonegap.hello-world"
version = "1.0.0">
<name>Hello World</name>
@roachhd
roachhd / gist:9286892
Created March 1, 2014 08:14
Wheel of Forture - HTML5
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>
@roachhd
roachhd / animal-matchUp.html
Created March 1, 2014 12:49
drang the animals onto their matching shadows
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>
@roachhd
roachhd / index.html
Last active August 29, 2015 13:56
a curvy bouncing ball
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>
@roachhd
roachhd / index.html
Last active August 29, 2015 13:56
Twitter feed widget @mektball
<a class="twitter-timeline" href="https://twitter.com/mektball" data-widget-id="439791431096348672">Tweets by @mektball</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
@roachhd
roachhd / maths-app.html
Created March 1, 2014 16:24
maths app basics
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>App-to-Convert</title>
<script type="text/javascript">
var field1 = 0; //field1 and field2 are the values being added together
var field2 = 0;
var question_num = 0; //question_num counts up to 10