This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
NewerOlder