Skip to content

Instantly share code, notes, and snippets.

#include "NativeNamedPipe.h"
#include <iostream>
#include <string>
#include <fmt/format.h>
#include <cstdlib>
#include <thread>
std::string paths[] = {
"discord-ipc-",
"app/com.discordapp.Discord/discord-ipc-",
NetMessageNewsEulaRequest ->
<- NetMessageNewsEulaResponse News
<- NetMessageNewsEulaResponse EULA
NetGameMessage data:
msgType - Message type
msgData[2000] - messageData max size of 2000 bytes
NetPluginClientMessage data:
server0 = raz.zpm.pw:14242
server1 = raz.zpm.pw:14243
server2 = raz.zpm.pw:14244
server3 = raz.zpm.pw:14245
server4 = raz.zpm.pw:14246
server5 = raz.zpm.pw:14247
server6 = raz.zpm.pw:14248
server7 = raz.zpm.pw:14249
server8 = raz.zpm.pw:14250
server9 = raz.zpm.pw:14251
EasyDoubleGuitar
MediumDoubleGuitar
HardDoubleGuitar
ExpertDoubleGuitar
// PART_BASS
EasyDoubleBass
MediumDoubleBass
HardDoubleBass
@mdsitton
mdsitton / filespec
Last active September 6, 2017 11:35
Overall filestructure:
<header> <metadata> <timed global song events> <Instrument Track 1> <Instrument Track N...>
Header:
Byte order mark:
- This could be a 4 byte ascii sequence that would be tied back to the name of the data format we decide on.
- or maybe not i dont really know a lot about BOM's
Version Number
from xml.parsers import expat
from html.parser import HTMLParser
class TagStack(object):
def __init__(self):
self.tags = []
self.args = []
self.data = []
self.dataAdded = []
self.stackSize = 0
#pragma once
#include "config.hpp"
#include <fstream>
#include <string>
#include <memory>
#include <stdexcept>
namespace ORCore
{
#include <cassert>
#include <iostream>
#include <thread>
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <gl/gl.h>
class FpsTimer
{
import math
def print_bin(data):
print (format(data, '08b'))
def swap_twos_comp(data, size):
return (~data & ((0x1 << size) - 1)) + 1 # apply twos complement
def py_to_unsigned(data, outputBits):
hopofreq vs eightnotehopo settings
no eighthnotehopo
1/22.5 - 0
1/16.94 - 1
1/11.29 - 2 - normal
1/8.47 - 3
1/5.657 - 4
eighthnotehopo on:
1/15.36 - 0