Skip to content

Instantly share code, notes, and snippets.

View despairblue's full-sized avatar
🍸
I always let my imagination run away from me! Then it comes back..... with cake!

Danny Martini despairblue

🍸
I always let my imagination run away from me! Then it comes back..... with cake!
View GitHub Profile
@despairblue
despairblue / gist:3820288
Created October 2, 2012 15:45
launcher.cfg
bundleentry://233.fwk2051346088/launcher.cfg
java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.<init>(File.java:392)
at r3d.transformations.m2m.ETLLauncher$PropertiesReader.<init>(ETLLauncher.java:37)
at r3d.transformations.m2m.ETLLauncher.execute(ETLLauncher.java:92)
at r3d.transformations.TransformationJob.executeTransformation(TransformationJob.java:260)
at r3d.transformations.TransformationJob.executeTransformation(TransformationJob.java:170)
at r3d.transformations.TransformationJob.run(TransformationJob.java:54)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
bundleentry://233.fwk2051346088/launcher.cfg
@despairblue
despairblue / config.coffee
Created March 2, 2013 11:01
coffee.config
exports.config =
# See http://brunch.readthedocs.org/en/latest/config.html for documentation.
files:
javascripts:
joinTo:
'javascripts/app.js': /^app/
'javascripts/vendor.js': /^vendor/
'test/javascripts/test.js': /^test[\\/](?!vendor)/
'test/javascripts/test-vendor.js': /^test[\\/](?=vendor)/
order:
#!/usr/bin/env ruby
# Invoke with `ruby md2cre.rb filename.md`
#
# Setup: `gem install redcarpet`
require 'rubygems'
require 'redcarpet'
class Creole < Redcarpet::Render::Base
def normal_text(text)

Roughly Chronological Game Development Bucket List

  • Be inspired
  • Have an idea for a game
  • Throw out a game idea
  • Have an idea for a game you can actually make
  • Create a paper prototype
  • Create a digital prototype
  • Design a game
  • Program a game
{
"licensed": true,
"packages":
[
"Package Control",
"Theme - Spacegray",
"Alignment",
"All Autocomplete",
"AngularJS",
"Better CoffeeScript",

The prep-script.sh will setup the latest Node and install the latest perf version on your Linux box.

When you want to generate the flame graph, run the following (folder locations taken from install script):

sudo sysctl kernel/kptr_restrict=0

perf record -i -g -e cycles:u -- ~/sources/node/node --perf-basic-prof script.js

perf script | egrep -v "( __libc_start| LazyCompile | v8::internal::| Builtin:| Stub:| LoadIC:|\[unknown\]| LoadPolymorphicIC:)" | sed 's/ LazyCompile:[*~]\?/ /' | ~/sources/FlameGraph/stackcollapse-perf.pl > out.perf-folded
$ ./script spec/**/*_spec.rb <tab> > results
$ cat results
spec/acceptance/class_spec.rb
spec/classes/coverage_spec.rb
spec/classes/example_spec.rb
spec/fixtures/modules/stdlib/spec/acceptance/abs_spec.rb
spec/fixtures/modules/stdlib/spec/acceptance/any2array_spec.rb
spec/fixtures/modules/stdlib/spec/acceptance/base64_spec.rb
spec/fixtures/modules/stdlib/spec/acceptance/bool2num_spec.rb
spec/fixtures/modules/stdlib/spec/acceptance/capitalize_spec.rb
'use strict';
var c = require('rho-contracts')
var Mongoose = {
puts1: function(text) {
console.log(text)
}
}
+ check_common_commands file:///home/despairblue/index.html#test
+ '[' 1 -gt 0 ']'
+ parm=file:///home/despairblue/index.html#test
+ shift
+ case "$parm" in
+ '[' 0 -gt 0 ']'
+ '[' -z '' ']'
+ unset XDG_UTILS_DEBUG_LEVEL
+ '[' 0 -lt 1 ']'
+ xdg_redirect_output=' > /dev/null 2> /dev/null'
@despairblue
despairblue / client
Last active August 29, 2015 14:22
synergy crash
DEBUG2: |= modifier: 7
DEBUG2: mapping state: 128
DEBUG2: |= modifier: 7
DEBUG2: mapping state: 141
DEBUG2: |= modifier: 0
DEBUG2: |= modifier: 2
DEBUG2: |= modifier: 3
DEBUG2: |= modifier: 7
DEBUG2: mapping state: 129
DEBUG2: |= modifier: 0