Skip to content

Instantly share code, notes, and snippets.

Jonir Rings jonirrings

Block or report user

Report or block jonirrings

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View downloadIZuKan.js
function parse(rawInfo) {
if (rawInfo.decode_key) {
rawInfo.decode_key = rawInfo.decode_key.split('-')
}
return rawInfo;
}
function decode(info, image, canvas) {
const d2 = canvas.getContext("2d");
canvas.width = image.width;
View Immutable JS Examples
List()
var list = Immutable.List([1,2,3])
// [1, 2, 3]
List.isList()
Immutable.List.isList(list)
// true
List.of()
var list = Immutable.List.of(1,2,3);
@jonirrings
jonirrings / arm-none-eabi-3ds-patch.diff
Created Jun 26, 2018 — forked from TuxSH/arm-none-eabi-3ds-patch.diff
GDB patch for the 3DS to apply on gdb 7.11
View arm-none-eabi-3ds-patch.diff
diff -rupN a/gdb/Makefile.in b/gdb/Makefile.in
--- a/gdb/Makefile.in 2017-05-30 02:55:35.000000000 +0200
+++ b/gdb/Makefile.in 2017-05-30 02:56:48.000000000 +0200
@@ -658,6 +658,7 @@ ALL_64_TARGET_OBS = \
# All other target-dependent objects files (used with --enable-targets=all).
ALL_TARGET_OBS = \
armbsd-tdep.o arm.o arm-linux.o arm-linux-tdep.o \
+ arm-3ds-tdep.o \
arm-get-next-pcs.o arm-symbian-tdep.o \
armnbsd-tdep.o armobsd-tdep.o \
View 1041n-usb-modification.patch
Index: b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1041n-v2.c
===================================================================
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1041n-v2.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1041n-v2.c
@@ -24,6 +24,7 @@
#include "dev-leds-gpio.h"
#include "dev-m25p80.h"
#include "dev-spi.h"
+#include "dev-usb.h"
#include "dev-wmac.h"
@jonirrings
jonirrings / SMBDIS.ASM
Created Jan 24, 2018 — forked from 1wErt3r/SMBDIS.ASM
A Comprehensive Super Mario Bros. Disassembly
View SMBDIS.ASM
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
View keybase.md

Keybase proof

I hereby claim:

  • I am jonirrings on github.
  • I am jonirrings (https://keybase.io/jonirrings) on keybase.
  • I have a public key ASCrCmLQSg5YeyZeRlBt7y-vbRO_VS-j-WhO-wykZ0EClwo

To claim this, I am signing this object:

@jonirrings
jonirrings / GraphQLThunkExample.js
Last active May 31, 2017
GraphQL Thunk example
View GraphQLThunkExample.js
const UserType = new GraphQLObjectType({
name: 'User',
description: 'a user',
fields: () => ({
id: {
type: new GraphQLNonNull(GraphQLID),
description: 'user id',
},
name: {
type: new GraphQLNonNull(GraphQLString),
You can’t perform that action at this time.