Skip to content

Instantly share code, notes, and snippets.

Windows Registry Editor Version 5.00
[HKEY_USERS\S-1-5-21-3463664321-2923530833-3546627382-1000\Software\LAV]
[HKEY_USERS\S-1-5-21-3463664321-2923530833-3546627382-1000\Software\LAV\Audio]
"TrayIcon"=dword:00000000
"DRCEnabled"=dword:00000000
"DRCLevel"=dword:00000064
"DTSHDFraming"=dword:00000000
"AutoAVSync"=dword:00000001
#!/usr/bin/env playonlinux-bash
# Date : (2015-12-07 06-36)
# Last revision : (2015-12-07 06-36)
# Wine version used : 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Gabriel Huber huberg18@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
@Yepoleb
Yepoleb / shopstats.py
Created June 5, 2015 23:31
Script to generate charts for ChestShop transactions, logged by the ChestShopLogger Bukkit plugin.
#!/usr/bin/env python3
"""
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
// structs taken from github.com/dkreuter/firered/ fbox.c
// assembler from github.com/shinyquagsire23/DisFire
struct fbox {
void *function; //0
char field_4; //4
char x; //5
char y; //6
char field_7; //7
char w; //8
class Clock
{
public:
Clock();
long reset();
private:
long lasttime;
}
Clock::Clock()
@Yepoleb
Yepoleb / unzip.py
Last active August 29, 2015 14:17 — forked from JaHIY/unzip.py
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
import os
import codecs
import zipfile
import textwrap
def print_usage(myname):
USAGE = textwrap.dedent("""
local tArgs = { ... }
if #tArgs < 3 then
print("Usage: mine {1,2,3} <x> <y> [params]")
return
end
local height = tonumber(tArgs[1])
local def1 = tonumber(tArgs[2])
local def2 = tonumber(tArgs[3])
local rot = "l"
#include <exception>
#include <iostream>
#include <string>
#include <vector>
#include <cmath>
using namespace std;
const string operators1 = "+-";
const string operators2 = "*/%";
Log:
(gdb) run
Starting program: /usr/lib/games/unvanquished/unvanquished +set in_nograb 1 +nocurses +set fs_libpath /usr/lib/games/unvanquished +set fs_basepath /var/games/unvanquished
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Unvanquished 0.30.0 Linux x86_64 Aug 4 2014
+set in_nograb 1 +set fs_libpath /usr/lib/games/unvanquished +set fs_basepath /var/games/unvanquished
Home path: /home/gabriel/.unvanquished
Pak path: /var/games/unvanquished/pkg
Blocks:
PIXELMON_POKEHEALER 165
PIXELMON_THUNDERSTONE_ORE 166
PIXELMON_LEAFSTONE_ORE 167
PIXELMON_WATERSTONE_ORE 168
PIXELMON_FIRESTONE_ORE 169
PIXELMON_DAWNSTONE_ORE 176
PIXELMON_PC_BLOCK 177
PIXELMON_PIXELMON_ANVIL 178
PIXELMON_FOSSIL_MACHINE_BLOCK 179