Skip to content

Instantly share code, notes, and snippets.

@angelsl
angelsl / Program.cs
Created July 23, 2012 12:27
NX Thread reNX/reWZ/MapleLib2 Benchmark
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using MapleLib.WzLib;
using MapleLib.WzLib.WzProperties;
using reNX;
using reNX.NXProperties;
using reWZ;
@angelsl
angelsl / Benchmark.java
Created July 25, 2012 17:41
javanx standard benchmark
/**
* nxjava: a library for loading the NX file format
* Copyright (C) 2012 Cedric Van Goethem
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@angelsl
angelsl / NIC.cs
Created November 7, 2012 08:43
NIC
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace NIC
{
internal class Program
{
private static void Main(string[] args)
@angelsl
angelsl / NIC2.cs
Created November 7, 2012 10:31
NIC 2
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace NIC
{
internal class Program
{
@angelsl
angelsl / Program.cs
Created November 19, 2012 08:34
NX Benchmarks
// reNX is copyright angelsl, 2011 to 2012 inclusive.
//
// This file is part of reNX.
//
// reNX is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// reNX is distributed in the hope that it will be useful,
@angelsl
angelsl / Benchmark.java
Created November 19, 2012 08:35
jwzlib benchmark
// reNX is copyright angelsl, 2011 to 2012 inclusive.
//
// This file is part of reNX.
//
// reNX is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// reNX is distributed in the hope that it will be useful,
@angelsl
angelsl / libsecion.cpp
Last active December 13, 2015 20:38
libsecion for Exynos 4412
/*
* Copyright (C) 2012 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@angelsl
angelsl / aosp-smdk4210jb.diff
Last active December 14, 2015 10:10
smdk4210 kernel diff
This file has been truncated, but you can view the full file.
git diff 52f91d88 --diff-filter=M -p --stat=120 --src-prefix=aosp-v3.0/ --dst-prefix=smdk4210/ !(Documentation) > ~/aosp-smdk4210jb.diff
https://android.googlesource.com/kernel/common/+/52f91d88
Makefile | 15 +-
arch/Kconfig | 3 +
arch/alpha/include/asm/futex.h | 2 +-
arch/arm/Kconfig | 78 +-
arch/arm/Kconfig.debug | 5 +
arch/arm/Makefile | 3 +-
arch/arm/boot/Makefile | 4 +
arch/arm/boot/compressed/Makefile | 5 +
@angelsl
angelsl / BinkA2WAV.cs
Created May 16, 2013 18:42
Converts ".WAV" aka .binka audios extracted from Scribblenauts Unlimited files to PCM WAV files.
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace BinkA2WAV
{
internal unsafe class Program
{
private static void Main(string[] args)
{
//////////////////////////////////////////////////////////////////////////////
// NoLifeNxBench - Part of the NoLifeStory project //
// Copyright (C) 2013 Peter Atashian //
// //
// This program is free software: you can redistribute it and/or modify //
// it under the terms of the GNU Affero General Public License as //
// published by the Free Software Foundation, either version 3 of the //
// License, or (at your option) any later version. //
// //
// This program is distributed in the hope that it will be useful, //