Skip to content

Instantly share code, notes, and snippets.

View oovz's full-sized avatar
🎯
Focusing

Otaro oovz

🎯
Focusing
View GitHub Profile
@oovz
oovz / jinjiang-chapterupdate.js
Last active May 20, 2025 19:31
A tampermonkey/violentmonkey script to highlight updated chapter in Jinjiang (jjwxc.net)
// ==UserScript==
// @name 晋江章节修改高亮
// @namespace http://tampermonkey.net/
// @version 0.3
// @description 高亮修改过的章节,区别首发时间和更新时间
// @author oovz
// @match *://www.jjwxc.net/onebook.php?novelid=*
// @exclude *://www.jjwxc.net/onebook.php?novelid=*&chapterid=*
// @source https://greasyfork.org/en/scripts/536627-%E6%99%8B%E6%B1%9F%E7%AB%A0%E8%8A%82%E4%BF%AE%E6%94%B9%E9%AB%98%E4%BA%AE
// @source https://gist.github.com/oovz/e1f36ff2bf18c0ab64180e785f837a12
@oovz
oovz / changpei-download.js
Last active May 16, 2025 05:48
A tampermonkey/violentmonkey script to download chapter content from Changpei(gongzicp.com)
// ==UserScript==
// @name Changpei Chapter Downloader
// @name:zh-CN 长佩章节下载器
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Download chapter content from Changpei(gongzicp.com)
// @description:zh-CN 从长佩(gongzicp.com)下载章节文本
// @author oovz
// @match *://*gongzicp.com/read-*.html
// @grant none
@oovz
oovz / expo-speech-getAvailableVoicesAsync.jsx
Last active May 3, 2025 04:50
expo-speech getAvailableVoicesAsync problem
import { Text, SafeAreaView, StyleSheet, ActivityIndicator, View } from 'react-native';
import React, { useState, useEffect } from 'react';
import * as Speech from 'expo-speech';
export default function App() {
const [voicesNumber, setVoicesNumber] = useState(null);
const [isLoading, setIsLoading] = useState(true);
useEffect(() => {
@oovz
oovz / jinjiang-download.js
Last active April 26, 2025 08:01
Download chapter content from JinJiang (jjwxc.net)
// ==UserScript==
// @name Jinjiang Chapter Downloader
// @name:zh-CN 晋江章节下载器
// @namespace http://tampermonkey.net/
// @version 0.6
// @description Download chapter content from JinJiang (jjwxc.net)
// @description:zh-CN 从晋江下载章节文本
// @author oovz
// @match *://www.jjwxc.net/onebook.php?novelid=*&chapterid=*
// @grant none
@oovz
oovz / qidian-download.js
Last active May 16, 2025 05:47
A tampermonkey/violentmonkey script to download chapter content from Qidian(qidian.com)
// ==UserScript==
// @name Qidian Chapter Downloader
// @name:zh-CN 起点(qidian.com)章节下载器
// @namespace http://tampermonkey.net/
// @version 0.8
// @description Download chapter content from Qidian (qidian.com)
// @description:zh-CN 从起点下载章节文本
// @author oovz
// @match https://www.qidian.com/chapter/*
// @grant none
@oovz
oovz / tag.py
Last active December 3, 2023 03:57
qbittorrent script to apply tag and upload rate automatically based on tracker url
import sys
import qbittorrentapi
sites = {
"zhuque.in": {
"up": 6500000, # 6.5 MBps
"tag": "ZhuQue"
},
}