Skip to content

Instantly share code, notes, and snippets.

View allenhuang's full-sized avatar

allen huang allenhuang

  • Kaohsiung, Taiwan
View GitHub Profile
@roachhd
roachhd / README.md
Created December 8, 2014 23:09
Games on GitHub

Games on GitHub

Below is a list of open source games and game-related projects that can be found on GitHub - old school text adventures, educational games, 8-bit platform games, browser-based games, indie games, GameJam projects, add-ons/maps/hacks/plugins for commercial games, libraries, frameworks, engines, you name it.

Contributing

If you'd like to add a repository to the list, please create an Issue, or fork this repository and submit a pull request.

Help: MarkDown Help, Markdown Cheatsheet

@inem
inem / gist:93944
Created April 12, 2009 10:07
adding to_json method to ostruct
class OpenStruct
def to_json
table.to_json
end
end
o = OpenStruct.new
o.foo = "foo"
o.bar = 1
o.to_json