Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am meeech on github.
  • I am meeech (https://keybase.io/meeech) on keybase.
  • I have a public key ASCr8_vHLXQvMMxRT331FXMb2EQ3dslpzY1LU3-b-3fr7wo

To claim this, I am signing this object:

View 0x5cC082E697DE3AaB223e1eA58dA479D2e4C2B701
0x5cC082E697DE3AaB223e1eA58dA479D2e4C2B701
View generated_es5.js
var mapping;
var oids = { foo: { x: 'bar' } };
_.each(oids, function (row, index) {
// driver.log.fatal(row.entPhysicalClass, this.snmp.get(row.entPhysicalClass));
mapping[index] = {
name: row.x
};
}, this);
View starfield-shader.lua
local kernel = {
category = "generator",
name = "stars",
isTimeDependent = false
}
kernel.vertexData = {
{
name = 'resolutionX',
default = display.pixelWidth,
View starfield_effect.lua
local function makeGenerator()
local kernel = {
category = "generator",
name = "stars",
isTimeDependent = false
}
kernel.vertexData = {
{
View gist:8188f9f7722a413ed65e
ls -LR Scripts/**/**/*.js | xargs -L1 js-beautify -r
View gist:b2dafdb31f90160e833c
#Add to your .zshrc right by ZSH_THEME
#######
# Setup a random theme to load from a list I define
MYZSH_RANDOM_THEMES=(\
're5et' \
'sorin' \
'steeef' \
'dstufft' \
'random' \
View gist:7744433
/(?:\n|\r\n|\r)/g
View ex23.go
//Exercise 24 (23 in gotour local)
package main
import (
"fmt"
"math"
)
func Approx(x float64, z float64) float64 {
View ui.lua
UI = {}
local FONT = 'OCRAStd'
function UI.counter(label, counter)
local group = display.newGroup()
local lText, lSize = label.text, label.size or 25
local cText, cSize = counter.text, counter.size or lSize