Skip to content

Instantly share code, notes, and snippets.

View numinit's full-sized avatar

Morgan numinit

View GitHub Profile
@numinit
numinit / numinit.clr
Last active September 13, 2018 15:34
my IDA colors
[DISASM]
000000 //Instruction
aaaaaa //Directive
f3c5ff //Macro name
7e6082 //Register name
666666 //Other keywords
ffffff //Dummy data name
b9ebeb //Dummy code name
b9ebeb //Dummy unexplored name
bbecff //Hidden name
From b8425aaca49e8f88d114426626cd8266e1e37d34 Mon Sep 17 00:00:00 2001
From: Morgan Jones <me@numin.it>
Date: Sun, 13 Mar 2016 00:56:04 +0000
Subject: [PATCH] Add quirks for Yuan Yuan Enterprises capture cards
---
drivers/pci/quirks.c | 7 +++++++
include/linux/pci_ids.h | 4 ++++
2 files changed, 11 insertions(+)
@numinit
numinit / xm.glsl
Last active February 23, 2016 04:13
// The swirly XM stuff, such as the inner part of a resonator.
#ifdef FRAGMENT
precision mediump float;
#endif
#pragma optimize full
varying vec4 v_texCoord0And1;
#ifdef VERTEX
#!/usr/bin/env ruby
require 'erb'
require 'tempfile'
require 'shellwords'
require 'logger'
module Libvirt
class ERBContext
def initialize logger
[ 413.973887] DMAR: DRHD: handling fault status reg 2
[ 413.974712] DMAR: DMAR:[DMA Read] Request device [00:14.0] fault addr 7afafafafa000
DMAR:[fault reason 04] Access beyond MGAW
// ==UserScript==
// @name Remove Hackaday comments
// @namespace http://numin.it
// @version 0.6
// @description remove all potential clues that comments may exist on hackaday.com
// @author numinit
// @match http://hackaday.com/*
// @match https://hackaday.com/*
// @grant none
// ==/UserScript==
@numinit
numinit / valve.rb
Last active December 31, 2015 00:50
#!/usr/bin/env ruby
# usage: $0 <app ID> <passcode>
require 'uri'
require 'json'
require 'net/http'
module Valve
URI_FORMAT = 'http://store.steampowered.com/actions/clues?key=%s'.freeze
REFERER_FORMAT = 'http://store.steampowered.com/app/%d'.freeze
@numinit
numinit / woomy.rb
Last active February 3, 2016 23:40
Requires ruby 2.1+. Released under the MIT license. `colorize` gem is optional, but adds colors. Example output: https://i.imgur.com/BmtAoXc.png
#!/usr/bin/env ruby
# -*- encoding: UTF-8 -*-
#######################################################################
# woomy.rb prints the current Splatoon map rotations. #
# If the `colorize` gem is installed, it will print them with colors. #
#######################################################################
=begin
Copyright (c) 2015+ Morgan Jones
.class public final Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public assetUrl:Ljava/lang/String;
.annotation build Lo/oi;
.end annotation
@numinit
numinit / memeheap.rb
Last active September 21, 2015 03:12
#!/usr/bin/env ruby
# Usage: ruby memeheap.rb <host> <port>
# This script was created for the 2015 CSAW CTF: https://ctf.isis.poly.edu
require 'base64'
require 'socket'
# Offset of system() in libc.
SYSTEM_OFFSET = 0x00046640