Skip to content

Instantly share code, notes, and snippets.

oupo oupo

Block or report user

Report or block oupo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gbaromtoqr.cpp
#include <fat.h>
#include <nds.h>
#include <stdio.h>
#include <iostream>
#include <algorithm>
// https://github.com/nayuki/QR-Code-generator
#include "BitBuffer.hpp"
#include "QrCode.hpp"
@oupo
oupo / build.sh
Last active Jan 3, 2020
togasat-wasm
View build.sh
emcc -std=c++11 main.cpp -O3 -s WASM=1 -s MODULARIZE=1 -s EXPORT_NAME=Togasat -s "EXPORTED_FUNCTIONS=['_solve', '_malloc', '_free']" -s "BINARYEN_METHOD='native-wasm'" -o togasat.js
View easy-ip-lcg-crack.cpp
#include <iostream>
#include <random>
#include <cstdint>
#include <chrono>
using namespace std;
#include <easy-ip.h>
typedef int64_t s64;
typedef uint64_t u64;
typedef __int128 s128;
View 64bit-lcg-crack4.cpp
#include <cstdio>
#include <cstdint>
#include <cinttypes>
#include <cmath>
#include <algorithm>
#include <chrono>
#include <random>
typedef int64_t s64;
typedef uint64_t u64;
View linear-ineq.rb
require "mathn"
SHIFT = 16
SHIFT2 = SHIFT*2
A = 0x41c64e6d % 2**SHIFT2
B = 0x6073 % 2**SHIFT2
def f(x)
(A * x + B) % 2**SHIFT2
end
View 線形合同法とp進整数と縮小写像.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View phi-is-bijection.tex
\documentclass{jsarticle}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{bm}
\usepackage[dvipdfmx]{graphicx}
\setlength{\textwidth}{110truemm}
\newcommand{\transpose}[1]{{}^t\!{#1}}
\begin{document}
View 64bit-lcg-crack3.cpp
#include <cstdio>
#include <cstdint>
#include <cmath>
#include <algorithm>
#include <chrono>
#include <random>
typedef int64_t s64;
typedef uint64_t u64;
typedef __int128 s128;
View 64bit-lcg-crack2.cpp
#include <cstdio>
#include <cstdint>
#include <cmath>
#include <algorithm>
#include <chrono>
#include <random>
typedef int64_t s64;
typedef uint64_t u64;
typedef __int128 s128;
View abuse-chatot.cpp
#include <iostream>
#include <cstdio>
#include <cstdint>
#include <ctime>
#include <vector>
#include "PokeRNG/Calc5GenSeed.hpp"
#include "PokeRNG/CalcOffset.hpp"
using namespace std;
You can’t perform that action at this time.