Skip to content

Instantly share code, notes, and snippets.

Avatar
🙂
Independent Thinking

Reimu NotMoe ReimuNotMoe

🙂
Independent Thinking
View GitHub Profile
View SudoMaker HAT I2C Addresses.md
I2C Address Device
0x22 PiComm Mini SX128x
0x26 PotatoPi Memory Expansion Board
0x55 Dilithium UPS HAT
0x6a Dilithium UPS HAT
0x68 Dilithium UPS HAT
View NoPerformanceNow.user.js
// ==UserScript==
// @name NoPerformanceNow
// @namespace https://yuki.network/
// @version 0.2
// @description Disables performance.now() to make JavaScript exploits harder.
// @author ReimuNotMoe, ClassicOldSong
// @match *://*/*
// @grant unsafeWindow
// ==/UserScript==
@ReimuNotMoe
ReimuNotMoe / Kernel compile flags to disable FP code
Last active Dec 4, 2018
Kernel compile flags to disable FP code
View Kernel compile flags to disable FP code
-mno-sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4a -mno-aes -mno-sha -mno-pclmul -mno-fma -mno-fma4 -mno-xop -mno-sgx -mno-avx -mno-avx2 -mno-sse4.2 -mno-sse4.1 -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw
View op6-gcam-unsucker.sh
#!/system/bin/sh
while :; do
logcat Camera3-Device:E *:S|grep -m 1 EX_TRANSACTION_FAILED
pkill camera
logcat -c
done
View photo-renamer.cpp
/*
photo-renamer
Copyright (C) 2018 ReimuNotMoe <reimuhatesfdt@gmail.com>
photo-renamer 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.
photo-renamer is distributed in the hope that it will be useful,
View telegram-bot-sendphoto.sh
#!/bin/sh
TOKEN=""
USER_ID=""
ARGS_EXTRA=""
if [ -z "$1" ]; then
echo "Usage: `basename $0` <photo_file> [caption]"
exit 1