This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name lightnovel2epub | |
// @description 快速输出半成品epub3.0 | |
// @author KCC | |
// @version 0.99.25 | |
// @namespace lightnovel2epub | |
// @match *://www.lightnovel.us/forum.php* | |
// @match *://www.lightnovel.cn/forum.php* | |
// @require https://github.com/Stuk/jszip/raw/master/dist/jszip.min.js | |
// @grant GM_registerMenuCommand |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
modprobe dell_smm_hwmon force=1 | |
while true | |
do | |
if [ `cat /sys/class/hwmon/hwmon1/temp1_input` -lt 55000 ] | |
then | |
Vl=0 | |
echo "FAN L" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "2-10.1" | sudo tee /sys/bus/usb/drivers/usb/unbind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colord colord-gtk xiccd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
enable -f /usr/lib/bash/sleep sleep | |
#OD_SCLK: | |
#0: 825mV | |
#1: 825mV | |
#2: 825mV | |
#3: 950mV | |
#4: 1000mV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Torchlight II | |
LD_PRELOAD=~/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so LD_PRELOAD=/usr/lib/libfreetype.so %command% | |
# Divinity | |
allow_glsl_extension_directive_midshader=true LD_PRELOAD="divos-hack.so" %command% | |
# Slay the Spire | |
#xrandr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ~/epub/ -name '*.epub' | xargs -n1 -P16 -I {} ./kindlegen -locale zh {} -c2 -verbose -dont_append_source |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from time import sleep, strftime, localtime | |
from sys import stdout | |
from os import statvfs | |
#import time, sys | |
from pathlib import Path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name e-hentai hidpi fix | |
// @namespace Violentmonkey Scripts | |
// @match https://exhentai.org/mpv/*/* | |
// @match https://e-hentai.org/mpv/*/* | |
// @run-at document-start | |
// @grant none | |
// ==/UserScript== | |
JSON_parse = JSON.parse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/zsh | |
export LC_ALL=en_US.UTF-8 | |
export WINEPREFIX="$HOME/.RUN64" WINEARCH=win64 | |
rm -rf $HOME/.RUN64 | |
winetricks cfc=enabled fontfix fontsmooth=rgb mwo=force isolate_home cjkfonts | |
setup_dxvk64 | |
setup_dxvk32 | |
cp u3dfont/{arial.ttf,msyh.ttc} .RUN64/drive_c/windows/Fonts |
OlderNewer