Just install this in your apps like so:
gem 'test-spec-mini', :git => 'git://gist.github.com/1806986.git', :require => 'mini'
/* | |
* C11 <threads.h> emulation library | |
* | |
* (C) Copyright yohhoy 2012. | |
* Distributed under the Boost Software License, Version 1.0. | |
* (See copy at http://www.boost.org/LICENSE_1_0.txt) | |
*/ | |
#ifndef EMULATED_THREADS_H_INCLUDED_ | |
#define EMULATED_THREADS_H_INCLUDED_ |
#!/bin/sh | |
# | |
# IDE Session starter - you should save this script as ~/bin/session, make it | |
# executable with chmod +x ~/bin/session, and then make a symlink to it for | |
# every application you want to start. | |
# E.g. ln -s session ~/bin/members creates a "members" symlink, and when you'll issue | |
# "members" on the command line this script will: | |
# Check if a tmux session named "members" exists |
Just install this in your apps like so:
gem 'test-spec-mini', :git => 'git://gist.github.com/1806986.git', :require => 'mini'
bool SHCopy(LPCTSTR from, LPCTSTR to) | |
{ | |
Log(_T("Recursive file copy from %s to %s"), from, to); | |
SHFILEOPSTRUCT fileOp = {0}; | |
fileOp.wFunc = FO_COPY; | |
TCHAR newFrom[MAX_PATH]; | |
_tcscpy_s(newFrom, from); | |
newFrom[_tcsclen(from) + 1] = NULL; | |
fileOp.pFrom = newFrom; |
Here is the list of Ad-Block filters I use in order to get rid of all the new crap Google added to their search results pages.
www.google.com##DIV[id="vspb"]
www.google.com##DIV[class="vspi"]
www.google.com##BUTTON[class="vspib"]
www.google.com##BUTTON[class="esw eswd"]
www.google.com##BUTTON[class="esw eswd eswh"]
www.google.com##[class="esw eswd esws"]
www.google.com##DIV[id="nyc"]
www.google.com##DIV[class="vspib"]
Vector = {} | |
Vector.__index = Vector | |
function Vector.__add(a, b) | |
if type(a) == "number" then | |
return Vector.new(b.x + a, b.y + a) | |
elseif type(b) == "number" then | |
return Vector.new(a.x + b, a.y + b) | |
else | |
return Vector.new(a.x + b.x, a.y + b.y) |
typedef struct{ | |
ALuint ID; | |
stb_vorbis* stream; | |
stb_vorbis_info info; | |
ALuint buffers[2]; | |
ALuint source; | |
ALenum format; |
IMPORTANT! Remember to check out the wiki page at https://github.com/bebraw/jswiki/wiki/Game-Engines for the most up to date version. There's also a "notes" column in the table but it simply does not fit there... Check out the raw version to see it.
This table contains primarily HTML5 based game engines and frameworks. You might also want to check out the [[Feature Matrix|Game-Engine-Feature-Matrix]], [[Game Resources]] and [[Scene Graphs]].
Name | Size (KB) | License | Type | Unit Tests | Docs | Repository | Notes |
---|---|---|---|---|---|---|---|
Akihabara | 453 | GPL2, MIT | Classic Repro | no | API | github | Intended for making classic arcade-style games in JS+HTML5 |
AllBinary Platform | Platform Dependent | AllBinary | 2D/2.5D/3D | n |
--[[ | |
Simple Class Implementation for Lua using Metetables. | |
This is very clean and simple, sticking to some very | |
simple principles. | |
Static methods defined with . (dot) and instance methods | |
with : (semicolon) . | |
Default values declared when defining the initial table. | |
The .new static method implements the constructor which |