Skip to content

Instantly share code, notes, and snippets.

{
"dataFormatVersion": "0.0.1",
"legalEntity": {
"name": "Simard LLC",
"location": {
"gps": {
"latitude": 21.35272121,
"longitude": -10.35622827
},
"address": "",
{
"dataFormatVersion": "0.0.1",
"legalEntity": {
"name": "Harmont Regional Airports Authority",
"location": {
"gps": {
"latitude": 35.89421911,
"longitude": 139.94637467
},
"address": "",
### Keybase proof
I hereby claim:
* I am kvakes on github.
* I am kvakes (https://keybase.io/kvakes) on keybase.
* I have a public key ASDi5JL-XBE_5miJu0ZitB-PbTOg98NMGSExtkHmvV7SQgo
To claim this, I am signing this object:
<!doctype html>
<html>
<head>
<title>Hi Guys!</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
@kvakes
kvakes / gist:3127657
Created July 17, 2012 06:36
JS Calistenics
for (i = 0; i < 10; i++) {
console.log(i);
}
list = ['a', 'b', 'c']
for (index in list) {
console.log(index);
}
RunnerPlayer.prototype.isOnTheGround = function() {
var from = this.getPosition(),
to = [from[0], from[1] - 1, from[2]];
var resultCallback = new Ammo.AllHitsRayResultCallback(from, to);
this.game.context.physics.dynamicsWorld.rayTest(from, to, resultCallback);
console.log(resultCallback.hasHit());
};
@kvakes
kvakes / watcher.sh
Created April 16, 2012 17:07
Watch *.scss and *.coffee files for changes and recompile
#!/bin/bash
scss='buker/static/css/'
coffee='buker/static/js/'
type -P scss &>/dev/null || { echo "Sass is not installed."; exit 1; }
type -P coffee &>/dev/null || { echo "CoffeeScript is not installed."; exit 1; }
if [ ! -d $scss ] || [ ! -d $coffee ]
then
@kvakes
kvakes / index.haml
Created April 11, 2012 20:12
HTML5 Boilerplate in Haml (comments stripped out)
!!! 5
:plain
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
%head
%meta(charset = "utf-8")