Skip to content

Instantly share code, notes, and snippets.

View olizilla's full-sized avatar

Oli Evans olizilla

View GitHub Profile
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
</CORSRule>
</CORSConfiguration>
@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
@olizilla
olizilla / README.md
Last active January 10, 2016 19:52
Notes from SquatConf 2014. Typed quickly, all concepts may be corrupted, but the gist is there.

Notes From SquatConf 2014

@dhigit9 - UDT: an application leyer TCP you can tune.

Replace TCP, application layer comm framework.

instantwebp2p - node fork that supports UDT. congestion control - optimal usage of bandwidth flow control - avoid overwhelming the receiver. window based - no packets in flight

<head>
<title>selector</title>
</head>
<body>
<h1>Welcome to Meteor!</h1>
{{> hello}}
</body>
@olizilla
olizilla / meteor-cordova.md
Created September 18, 2014 18:01
Meteor Cordova
@olizilla
olizilla / meteor-account-verify.js
Created August 19, 2014 10:41
Only allow users on a given email domain to log in to your meteor app.
/*
Only allow users with a verified email address on a pre-verified domain to log in.
We're getting people to authenticate and only authorising those that have an email we recognise.
Assumes a Meteor.settings like:
{ adminDomains: ['tableflip.io', 'meteor.com'] }
...and meteor-developer accounts, but other login mechanisms (email, twitter) would work too.
*/
html,body,#objects {
width: 100%; height: 100%
}
body{
background:white;
}
@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.

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
#include <Servo.h>
Servo servo;
int servoPin = 9;
int rotationSpeed = 1250;
// Oi! Jamie! You may need to noodle the value of `rotationSpeed`
// As far as I can tell, it means: