Skip to content

Instantly share code, notes, and snippets.

View olizilla's full-sized avatar

Oli Evans olizilla

View GitHub Profile
head
68 x 36.5 cm
eyes
12cm diameter
- 13cm in from left x 9.5 down from top.
neck 1
47 x 4.7cm
@olizilla
olizilla / lxjs-and-you.md
Last active August 29, 2015 14:02
LXJS is made with <3.

LXJS and DRIIFT

It's often said:

"LXJS is made with love".

It's true. Love, and a huge amount of work.

Lot's of awesome happens at LXJS.

html,body,#objects {
width: 100%; height: 100%
}
body{
background:white;
}
@olizilla
olizilla / meteor-cordova.md
Created September 18, 2014 18:01
Meteor Cordova
<head>
<title>selector</title>
</head>
<body>
<h1>Welcome to Meteor!</h1>
{{> hello}}
</body>
@olizilla
olizilla / 0_reuse_code.js
Last active August 29, 2015 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
</CORSRule>
</CORSConfiguration>
@olizilla
olizilla / withCanvas.js
Created January 3, 2011 09:05
olizilla gets up close and functional with javascript. withCanvas provides a temporary canvas to another function, and always remembers to clean up after itself.
// Provide a function with a temporary canvas, encapsulating the creation and clean up code.
function withCanvas(/*canvas => Any*/ use) {
var b = document.body;
// create canvas
var canvas = document.createElement("canvas");
// canvas doesn't draw well unless it's added to the page
b.appendChild(canvas);
@olizilla
olizilla / pom.xml
Created June 14, 2012 09:48
Maven pom.xml - Minimal
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>minimal-pom</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<!-- Avoid using the platform default encoding... http://maven.apache.org/general.html#encoding-warning -->
@olizilla
olizilla / index.html
Created December 10, 2012 21:22
D3 Sine Worm
<html>
<head>
<meta charset="utf-8">
<script src="http://d3js.org/d3.v2.js"></script>
<style>
body{
margin:0;
background: #222;
}
.controls{