Skip to content

Instantly share code, notes, and snippets.

View BinToss's full-sized avatar
✍️
Making progress...

Noah Sherwin BinToss

✍️
Making progress...
View GitHub Profile
@ChadSki
ChadSki / app.csx
Last active August 14, 2023 11:02
Reading from Halo's memory in 40 lines of C#
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
// define struct
[StructLayout(LayoutKind.Sequential)] public struct IndexHeaderStruct {
public uint MemoryOffset;
public uint MapID;
public uint TagCount;
public uint VerticieCount;
@agarny
agarny / github-import-issues
Last active August 9, 2024 13:14
Import GitHub issues from one repository to another (incl. milestones, labels and comments).
#!/usr/bin/python
# -*- coding: utf-8 -*-
# This script came about after I removed several big files from a GitHub
# repository (see https://gist.github.com/agarny/5541082) and force pushed
# everything back to GitHub. However, cloning the 'new' GitHub repository still
# results in those big files being present in the git history. This is, among
# other things, due to some pull requests I have in that repository and which
# reference those big files. I contacted GitHub about this, but there seems to
# be nothing that they can do about it. So, I was left with no other choice but