Skip to content

Instantly share code, notes, and snippets.

@femto113
femto113 / transpose.js
Last active September 6, 2023 00:28
one line transpose for 2-dimensional Javascript arrays
function transpose(a)
{
return a[0].map(function (_, c) { return a.map(function (r) { return r[c]; }); });
// or in more modern dialect
// return a[0].map((_, c) => a.map(r => r[c]));
}
@latentflip
latentflip / Instrumentor.js
Created October 27, 2012 12:20
Instrumentor
#depends on underscore
_.isConstructor = (thing) ->
if thing.name && thing.name[0].toUpperCase() == thing.name[0]
true
else
false
class Instrumentor
constructor: (namespace) ->
@Bigous
Bigous / vs-bash-console.bat
Last active October 19, 2018 18:58 — forked from timabell/vs-bash-console.bat
batch script for loading git-bash and the vs tools in the same window
@echo off
echo Loading VC...
call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" amd64
echo Loading bash, you may now use git and msbuild in the same console \o/.
"C:\Program Files\Git\usr\bin\bash.exe" --login -i
@unreceptive
unreceptive / debug_games.md
Last active July 26, 2018 07:28
List of video games shipped with debug symbols.

List of any video game shipped with debugging symbols.

This list has yet to be verified. Contributions are welcome.

Name Version Platform Notes
Brunswick Pro Bowling n/a Nintendo 3DS Contains an ELF binary with full symbol information in its RomFS root
Fire Emblem: If/Fates n/a Nintendo 3DS All released versions of the game contain "name.StackTrace" and "addr.StackTrace" files in the "debug" folder in the RomFS, which provide full function names/signatures for the game's code.bin
Inazuma Eleven 3 Lightning Bolt / Team Ogre Attacks / Bomb Blast n/a Nintendo 3DS CRO/CRS contains symbols
@mariomadproductions
mariomadproductions / debug_games.md
Last active April 27, 2024 10:12 — forked from unreceptive/debug_games.md
List of video games shipped with debug symbols.

List of any video game shipped with debugging symbols.

Contributions are welcome.

Name Version Platform Notes
Brunswick Pro Bowling Unknown Nintendo 3DS Contains an ELF binary with full symbol information in its RomFS root
Fire Emblem: If/Fates All (double check) Nintendo 3DS All released versions of the game contain "name.StackTrace" and "addr.StackTrace" files in the "debug" folder in the RomFS, which provide full function names/signatures for the game's code.bin
Inazuma Eleven 3 Lightning Bolt / Team Ogre Attacks / Bomb Blast Unknown Nintendo 3DS CRO/CRS contains symbols
The Legend of Zelda: The Wind Waker n/a Nintendo GameCube