This file contains 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
import sys | |
import struct | |
import os | |
import zlib | |
for tfn in os.listdir("."): | |
if not tfn.endswith(".idx"): continue | |
fn=tfn.replace(".idx","") | |
print(fn) | |
datf=open(fn+".dat","rb") |
This file contains 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
bluetooth_device_name=InkPad 3 Pro | |
bookstore_url= | |
brand=default | |
description=PB740-2 | |
hasStoreOpds=0 | |
have_ivona_tts=1 | |
have_opds=0 | |
have_pbcloud=1 | |
have_s2pb=yes | |
have_tts=1 |
This file contains 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
// Bug - this program should terminate. It doesn't. Why? | |
package main | |
import ( | |
"log" | |
"runtime" | |
"sync" | |
"sync/atomic" | |
) |
This file contains 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
namespace BepInEx | |
{ | |
public class BaseUnityPlugin : MonoBehaviour { } | |
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] | |
public class BepInPlugin : Attribute | |
{ | |
public BepInPlugin(string GUID, string Name, string Version) { } | |
} | |
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] | |
public class BepInDependency : Attribute |
This file contains 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 ADV; | |
using ParadoxNotion.Serialization.FullSerializer; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEngine; | |
public class AssPlug : MonoBehaviour | |
{ | |
void Start() | |
{ |
This file contains 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
#include <Windows.h> | |
__declspec(dllexport) | |
DWORD WINAPI GetIpAddrTable(void *p, long *n, BOOL o) { | |
return 1; | |
} | |
void *(*mono_runtime_invoke)(void *, void *, void **, void **); | |
void *(*mono_method_desc_new)(const char *name, BOOL include_namespace); | |
void *(*mono_method_desc_search_in_image)(void *, void*); |
This file contains 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
from glob import glob | |
from os.path import basename | |
import codecs | |
import subprocess | |
import pickle | |
import sys | |
seen = set() | |
tr = subprocess.Popen(["./trans","-s","japanese","-no-auto","-brief"],stdout=subprocess.PIPE,stdin=subprocess.PIPE,bufsize=1) |
This file contains 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
// Destructively turn original assemblies into a mush suitable for "subclassing" | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using Mono.Cecil; | |
using Mono.Cecil.Rocks; |
This file contains 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
void hairloader() { | |
// .... | |
xx1 = (XXFile *)openxx((int)&a1a, *(_DWORD *)(a1 + 12) + 28, (int)&a3, v35); | |
if ( haircase ) | |
*(_DWORD *)(v39 + 4 * v34 + 0x50) = xx1; | |
else | |
*(_DWORD *)(v39 + 4 * v34 + 0xEB8) = xx1; | |
if ( xx1 ) | |
{ | |
v136 = 1634426704; |
This file contains 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
``` | |
gir:~$ ^C | |
gir:~$ cat mkr | |
ver=`curl https://tsukiyo.me/AAU/botnet.php` | |
tdir=~/aau | |
src=/c/mega/aa2mini/aau | |
gitdir=~/AA2Unlimited | |
rm -rf $tdir aau.7z || exit 1 | |
mkdir $tdir |
NewerOlder