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
@stackia
stackia / 山西电信 IPTV.m3u8
Last active November 17, 2025 14:05
FCC 快速换台需搭配 https://github.com/stackia/rtp2httpd 使用
#EXTM3U x-tvg-url="https://tv.mxdyeah.top/epgphp/t.xml.gz"
#EXTINF:-1 tvg-id="CCTV1" tvg-name="CCTV1" tvg-logo="https://upload.112114.xyz/logo/CCTV1.png" group-title="央视",CCTV-1
rtp://239.1.1.7:8007/?fcc=10.56.17.68:8027&fcc-type=huawei
#EXTINF:-1 tvg-id="CCTV2" tvg-name="CCTV2" tvg-logo="https://upload.112114.xyz/logo/CCTV2.png" group-title="央视",CCTV-2
rtp://239.1.1.8:8008/?fcc=10.56.17.68:8027&fcc-type=huawei
#EXTINF:-1 tvg-id="CCTV3" tvg-name="CCTV3" tvg-logo="https://upload.112114.xyz/logo/CCTV3.png" group-title="央视",CCTV-3
rtp://239.1.1.9:8009/?fcc=10.56.17.68:8027&fcc-type=huawei
#EXTINF:-1 tvg-id="CCTV4" tvg-name="CCTV4" tvg-logo="https://upload.112114.xyz/logo/CCTV4.png" group-title="央视",CCTV-4
rtp://239.1.1.10:8010/?fcc=10.56.17.68:8027&fcc-type=huawei
@stackia
stackia / 海南电信 IPTV.m3u8
Last active November 25, 2025 03:41
海南电信 IPTV 组播源、时移源抓取脚本:https://github.com/stackia/hainan-telecom-iptv-updater
#EXTM3U x-tvg-url="https://tv.mxdyeah.top/epgphp/t.xml.gz"
#EXTINF:-1 tvg-id="CCTV1" tvg-name="CCTV1" tvg-logo="https://upload.112114.xyz/logo/CCTV1.png" group-title="央视",CCTV-1
rtp://239.253.64.120:5140/?fcc=10.255.75.73:15970
#EXTINF:-1 tvg-id="CCTV2" tvg-name="CCTV2" tvg-logo="https://upload.112114.xyz/logo/CCTV2.png" group-title="央视",CCTV-2
rtp://239.253.64.195:5140/?fcc=10.255.75.73:15970
#EXTINF:-1 tvg-id="CCTV3" tvg-name="CCTV3" tvg-logo="https://upload.112114.xyz/logo/CCTV3.png" group-title="央视",CCTV-3
rtp://239.253.64.244:5140/?fcc=10.255.75.73:15970
#EXTINF:-1 tvg-id="CCTV4" tvg-name="CCTV4" tvg-logo="https://upload.112114.xyz/logo/CCTV4.png" group-title="央视",CCTV-4
rtp://239.253.64.196:5140/?fcc=10.255.75.73:15970
@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 / gist:0e28899e856919a6d059d66a1c20a0e2
Last active November 25, 2025 03:42
海南电信 IPTV 组播源 (EPG: https://epg.112114.xyz/pp.xml)
请移步 https://gist.github.com/stackia/9dba21f67df6cd3226d4776960ee289b
@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 / 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",
@stackia
stackia / anti-dns-spoofing-iptables.sh
Created December 11, 2014 07:17
anti-dns-spoofing-iptables
#!/bin/bash
BADIP="74.125.127.102 74.125.155.102 74.125.39.102 74.125.39.113 209.85.229.138 128.121.126.139 159.106.121.75 169.132.13.103 192.67.198.6 202.106.1.2 202.181.7.85 203.161.230.171 203.98.7.65 207.12.88.98 208.56.31.43 209.145.54.50 209.220.30.174 209.36.73.33 211.94.66.147 213.169.251.35 216.221.188.182 216.234.179.13 243.185.187.39 37.61.54.158 4.36.66.178 46.82.174.68 59.24.3.173 64.33.88.161 64.33.99.47 64.66.163.251 65.104.202.252 65.160.219.113 66.45.252.237 72.14.205.104 72.14.205.99 78.16.49.15 8.7.198.45 93.46.8.89"
for IP in $BADIP
do
hexip=$(printf '%02X ' ${IP//./ }; echo)
#echo $hexip
iptables -I INPUT -p udp --sport 53 -m string --algo bm --hex-string "|$hexip|" --from 60 --to 180 -j DROP
iptables -I FORWARD -p udp --sport 53 -m string --algo bm --hex-string "|$hexip|" --from 60 --to 180 -j DROP
done
@stackia
stackia / homebrew.mxcl.aria2.plist
Last active October 13, 2023 04:50
aria2c daemon start at boot. Put this file into /Library/LaunchDaemons, them 'chmod 600' and 'chown root'. Remember to fill placeholders below.
<?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>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>homebrew.mxcl.aria2</string>