Skip to content

Instantly share code, notes, and snippets.

View ReimuNotMoe's full-sized avatar
🔥
l'épuisement professionnel

Reimu NotMoe ReimuNotMoe

🔥
l'épuisement professionnel
  • The Big Scary Country
  • 05:32 (UTC +08:00)
View GitHub Profile
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c
index 48dccad..031c3d5 100644
--- a/hw/xfree86/drivers/modesetting/drmmode_display.c
+++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
@@ -3691,7 +3691,7 @@ drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp)
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, MS_LOGLEVEL_DEBUG,
"Up to %d crtcs needed for screen.\n", crtcs_needed);
- xf86CrtcSetSizeRange(pScrn, 320, 200, mode_res->max_width,
+ xf86CrtcSetSizeRange(pScrn, 16, 16, mode_res->max_width,
@ReimuNotMoe
ReimuNotMoe / SudoMaker HAT I2C Addresses.md
Created March 22, 2021 10:36
SudoMaker HAT I2C Addresses
I2C Address Device
0x22 PiComm Mini SX128x
0x26 PotatoPi Memory Expansion Board
0x55 Dilithium UPS HAT
0x6a Dilithium UPS HAT
0x68 Dilithium UPS HAT
// ==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 December 4, 2018 05:26
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
#!/system/bin/sh
while :; do
logcat Camera3-Device:E *:S|grep -m 1 EX_TRANSACTION_FAILED
pkill camera
logcat -c
done
/*
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,
#!/bin/sh
TOKEN=""
USER_ID=""
ARGS_EXTRA=""
if [ -z "$1" ]; then
echo "Usage: `basename $0` <photo_file> [caption]"
exit 1