Skip to content

Instantly share code, notes, and snippets.

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
// Bug - this program should terminate. It doesn't. Why?
package main
import (
"log"
"runtime"
"sync"
"sync/atomic"
)
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")
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
using ADV;
using ParadoxNotion.Serialization.FullSerializer;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class AssPlug : MonoBehaviour
{
void Start()
{
#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*);
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)
// 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;
@ezdiy
ezdiy / hairstuff.c
Last active October 21, 2017 02:23
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;
@ezdiy
ezdiy / mkrel.sh
Created September 13, 2017 00:03
```
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