Skip to content

Instantly share code, notes, and snippets.

View stackia's full-sized avatar
not undefined

Stackie Jia stackia

not undefined
View GitHub Profile
[
{
"Name": "Microsoft Server Speech Text to Speech Voice (af-ZA, AdriNeural)",
"DisplayName": "Adri",
"LocalName": "Adri",
"ShortName": "af-ZA-AdriNeural",
"Gender": "Female",
"Locale": "af-ZA",
"LocaleName": "Afrikaans (South Africa)",
"SampleRateHertz": "48000",
@stackia
stackia / vlan-setup.sh
Last active December 27, 2022 16:05
华硕路由器 vlan 配置
vconfig set_name_type DEV_PLUS_VID_NO_PAD
vconfig add eth0 2
brctl delif br0 eth3
brctl addbr vlan2
brctl addif vlan2 eth0.2
brctl addif vlan2 eth3
bcmmcastctl mode -i vlan2 -p 1 -m 1
@stackia
stackia / 海南电信 IPTV(组播).m3u8
Last active December 2, 2023 10:52
海南电信 IPTV 组播源 (EPG: https://epg.112114.xyz/pp.xml)
#EXTM3U
#EXTINF:-1 tvg-id="CCTV1" tvg-name="CCTV1" tvg-logo="http://epg.51zmt.top:8000/tb1/CCTV/CCTV1.png" group-title="央视 HD",CCTV-1 HD
rtp://239.253.64.120:5140
#EXTINF:-1 tvg-id="CCTV2" tvg-name="CCTV2" tvg-logo="http://epg.51zmt.top:8000/tb1/CCTV/CCTV2.png" group-title="央视 HD",CCTV-2 HD
rtp://239.253.64.195:5140
#EXTINF:-1 tvg-id="CCTV3" tvg-name="CCTV3" tvg-logo="http://epg.51zmt.top:8000/tb1/CCTV/CCTV3.png" group-title="央视 HD",CCTV-3 HD
rtp://239.253.64.244:5140
#EXTINF:-1 tvg-id="CCTV4" tvg-name="CCTV4" tvg-logo="http://epg.51zmt.top:8000/tb1/CCTV/CCTV4.png" group-title="央视 HD",CCTV-4 HD
rtp://239.253.64.196:5140
#EXTINF:-1 tvg-id="CCTV5" tvg-name="CCTV5" tvg-logo="http://epg.51zmt.top:8000/tb1/CCTV/CCTV5.png" group-title="央视 HD",CCTV-5 HD
@stackia
stackia / .config
Last active March 24, 2021 12:08
Build config for Lean's OpenWRT
#
# Automatically generated file; DO NOT EDIT.
# OpenWrt Configuration
#
CONFIG_MODULES=y
CONFIG_HAVE_DOT_CONFIG=y
# CONFIG_TARGET_sunxi is not set
# CONFIG_TARGET_apm821xx is not set
# CONFIG_TARGET_ath25 is not set
# CONFIG_TARGET_ar71xx is not set
@stackia
stackia / vk_to_us.plist
Created November 14, 2017 10:04
macOS VKeyCode to U.S. layout character map
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>0</key>
<string>aA</string>
<key>1</key>
<string>sS</string>
<key>2</key>
<string>dD</string>
@stackia
stackia / giveaway_su_captcha_helper.user.js
Last active March 20, 2019 06:18
giveaway.su 验证码辅助输入脚本
// ==UserScript==
// @name giveaway.su 验证码输入辅助
// @namespace http://tampermonkey.net/
// @version 0.2
// @description 自动识别验证码+验证码输入键盘,必须安装 Liana 字体方可正常使用
// @author Stackia
// @require https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js
// @match https://giveaway.su/giveaway/view/*
// @updateURL https://gist.githubusercontent.com/stackia/5e6fc0a3f1196042c1075109dd149825/raw/giveaway_su_captcha_helper.user.js
// @downloadURL https://gist.githubusercontent.com/stackia/5e6fc0a3f1196042c1075109dd149825/raw/giveaway_su_captcha_helper.user.js
@stackia
stackia / update-chnroute.sh
Created April 18, 2017 11:31
update-chnroute.sh
#!/bin/sh
RULES=$(wget -O- 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | awk -F\| '/CN\|ipv4/ { printf("%s/%d\n", $4, 32-log($5)/log(2)) }')
if [ ! -z "$RULES" ]; then
echo "$RULES" > /etc/chinadns_chnroute.txt
fi
@stackia
stackia / shadowsocks
Last active March 17, 2017 05:08
shadowsocks shell script
#!/bin/sh /etc/rc.common
START=90
STOP=15
NAME=shadowsocks
EXTRA_COMMANDS=rules
CONFIG_FILE=/etc/$NAME.json
DELAY=10
using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApplication4
{
public static class Program
{
public static void Main(string[] args)
{
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",