This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Varargs.vala | |
* | |
* @see https://wiki.gnome.org/Projects/Vala/Tutorial#Variable-Length_Argument_Lists | |
* | |
* | |
* valac Varargs.vala | |
* ./Varargs | |
* | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* Database provides key-generation and table-instantiation, | |
* so that a key can be associated to various properties. | |
*) | |
(* This is for a fully-controlled specification... | |
* | |
* module Db = Database.Make (Database.IntKey) | |
* module Prop = Db.MultiInherit | |
* module PropHash = Prop.Table(Database.Hash) | |
* module Size = (val PropHash.create ~default:0 () : Db.Sig with type t = int) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Collections.Generic; | |
/** | |
* Port of https://github.com/douglascrockford/JSON-js to CSharp/Unity5 | |
* | |
*/ | |
namespace Bosco.Json { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your settings in this file to overwrite the default settings | |
{ | |
"files.exclude": { | |
// start unity files | |
"policy.mdpolicy": true, | |
"Assets/Libraries": true, | |
"Assets/Plugins": true, | |
"Assets/Resources": true, | |
"ProjectSettings/": true, | |
"Temp/": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************** | |
Copyright (c) 2008-2010 Ricardo Quesada | |
Copyright (c) 2010-2012 cocos2d-x.org | |
Copyright (c) 2011 Zynga Inc. | |
Copyright (c) 2013-2014 Chukong Technologies Inc. | |
http://www.cocos2d-x.org | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###* | |
@see http://bish.nu/2014/exposing-firebase-as-ORM-in-nodejs/ | |
### | |
Firebase = require("firebase") | |
_ = require("underscore") | |
###* | |
Initialize the db (acting as ORM): | |
orm = require('./firebase-orm') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* CodeIgniter - Custom Loader using layouts | |
* | |
* @author darkoverlordofdata | |
*/ | |
class MY_Loader extends CI_Loader { | |
var $layout = ''; | |
const EXT = '.phtml'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Ash Components | |
# | |
Components = do -> | |
Collector: class Collector | |
player : null | |
object : null | |
listener : null | |
constructor: (@player, @object, @listener) -> | |
Collision: class Collision |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated by CoffeeScript 1.9.1 | |
// Stats: https://github.com/mrdoob/stats.js | |
// Phaser 2.2.2 - avg 49 FPS | |
// Phaser 2.1.3 - avg 59 FPS | |
/* | |
* Boot the game | |
*/ | |
(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
* Set up the environment | |
### | |
do -> | |
### | |
* Polyfil the requestAnimationFrame method | |
### | |
unless window.requestAnimationFrame | |
window.requestAnimationFrame = do -> | |
window.webkitRequestAnimationFrame or window.mozRequestAnimationFrame or window.oRequestAnimationFrame or window.msRequestAnimationFrame or (callback) -> |