Skip to content

Instantly share code, notes, and snippets.

View mrexodia's full-sized avatar
❤️
‌‌

Duncan Ogilvie mrexodia

❤️
‌‌
View GitHub Profile
{-# LANGUAGE ExtendedDefaultRules #-}
{-# LANGUAGE FlexibleInstances #-}
import Data.List
import Control.Monad.State
data Boool = Truue | Faalse
deriving (Show)
data Shape = Circle Float | Rectangle Float Float
@mrexodia
mrexodia / inject.js
Created June 18, 2019 19:13
Disable LastPass for FFXIV OTP Form
var otppw = document.getElementById("otppw");
if(otppw !== null) {
otppw.type = "text";
otppw.setAttribute("data-lpignore", "true");
}
@mrexodia
mrexodia / ConsoleColor.h
Created May 25, 2019 14:44
ConsoleColor
//Copyleft Vincent Godin
//https://www.codeproject.com/Articles/16431/Add-color-to-your-std-cout
#pragma once
#include <iostream>
#ifdef _WIN32
#include <windows.h>
inline void setAttributes(unsigned int attributes)
@mrexodia
mrexodia / Deck - True Draco Demise.txt
Created October 8, 2018 20:31
Deck - True Draco Demise.txt
MAINBOARD
3 Amano-Iwato
3 Card of Demise
3 Disciples of the True Dracophoenix
3 Dragonic Diagram
3 True Draco Apocalypse
3 True Draco Heritage
2 Anti-Spell Fragrance
2 Cosmic Cyclone
2 Ignis Heat, the True Dracowarrior
@mrexodia
mrexodia / build-git.sh
Last active February 5, 2018 17:05 — forked from pescobar/build-git.sh
compile git with openssl instead of gnutls (Ubuntu 14.04) https://askubuntu.com/a/1003308/774721
#!/usr/bin/env bash
# Clear out all previous attempts
rm -rf "/tmp/source-git/"
# Add PPA for latest git
sudo add-apt-repository --enable-source ppa:git-core/ppa
sudo apt-get update
# Get the dependencies for git, then get openssl
@mrexodia
mrexodia / UnityCli.cs
Created October 22, 2017 23:13
UnityCli
using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Diagnostics;
using System.Text.RegularExpressions;
namespace UnityCli
{
public static class Program
@mrexodia
mrexodia / analysis.md
Last active July 12, 2017 19:18
The Legend of Zelda: Breath of the Wild CEMU 1.8.0b [Multi-Lang] - HZolomon malware analysis
0:000> lm
start end module name
00400000 00407000 image00400000 (deferred)
740c0000 7420d000 MSVBVM50 (pdb symbols) c:\symbols\msvbvm50.pdb\3AEF4F631\msvbvm50.pdb
77120000 771ab000 OLEAUT32 (deferred)
774e0000 7761e000 ole32 (deferred)
77c10000 77c68000 msvcrt (deferred)
77dd0000 77e6b000 ADVAPI32 (deferred)
77e70000 77f03000 RPCRT4 (deferred)
77f10000 77f59000 GDI32 (deferred)
@mrexodia
mrexodia / _typetest_script.txt
Last active November 20, 2022 21:31
x64dbg type system
ClearTypes
AddStruct ST
AppendMember char, a
AppendMember int, y
SizeofType ST
VisitType ST
AddType "unsigned int", DWORD
SizeofType DWORD
[Colors]
AbstractTableViewBackgroundColor=#00FFFF
AbstractTableViewHeaderTextColor=#000000
AbstractTableViewSelectionColor=#C0C0C0
AbstractTableViewSeparatorColor=#808080
AbstractTableViewTextColor=#000000
DisassemblyAddressBackgroundColor=#XXXXXX
DisassemblyAddressColor=#808080
DisassemblyAutoCommentBackgroundColor=#XXXXXX
DisassemblyAutoCommentColor=#000000