Skip to content

Instantly share code, notes, and snippets.

@cursey
cursey / jit_runtime.cpp
Created December 10, 2022 22:43 — forked from dpjudas/jit_runtime.cpp
Asmjit unwind info registration and stack walking code for Windows, Linux and macOS
/*
Asmjit unwind info registration and stack walking code for Windows, Linux and macOS
Copyright (c) 2018, Magnus Norddahl
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications.
@cursey
cursey / .clang-format
Created January 30, 2020 14:04
My .clang-format
---
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 120
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: Left
AllowShortFunctionsOnASingleLine: InlineOnly
@cursey
cursey / ida70_fix_strings.py
Last active July 19, 2019 01:52
Fix strings in IDA for Mabinogi dumps (original author @Tachiorz)
from idautils import *
from idaapi import *
START_EA = 0x0297FAF3 # Set this to the start of data containing strings
END_EA = 0x032FA562- 4 # Set this to the end - 4
def is_string(start_ea):
strlen = 0
@cursey
cursey / bitbucket_clone_all.py
Last active December 11, 2018 00:32
Clone all repositories from a BitBucket account
from subprocess import run
from json import loads
import click
@click.command()
@click.option("--username", required=True, prompt="Username", help="The username you login with.")
@click.option("--app_password", required=True, prompt="App password", hide_input=True, confirmation_prompt=True,
help="The app password you've created to login with.")
@click.option("--team", required=True, prompt="Team", help="The team or username you want to clone all the repos of.")

Keybase proof

I hereby claim:

  • I am cursey on github.
  • I am cursey (https://keybase.io/cursey) on keybase.
  • I have a public key whose fingerprint is E3A6 2FBB CC3C 74DA 2AD3 282C 41A8 22E7 6189 E09F

To claim this, I am signing this object:

Verifying that "cursey.id" is my Blockstack ID. https://onename.com/cursey