Skip to content

Instantly share code, notes, and snippets.

#!name=ddqp自定义
#!desc=自定义规则
#!category=DDQP
[Rule]
# JCI
DOMAIN-SUFFIX,go.johnsoncontrols.com,REJECT-DROP,extended-matching // JCI
DOMAIN-SUFFIX,zscaler.com,REJECT,extended-matching
DOMAIN-SUFFIX,zscloud.net,REJECT,extended-matching
DOMAIN-KEYWORD,rapid7,REJECT,extended-matching
/******************************************
* @name 海角社区
* @desc 全解锁
* @author yuheng
* @create 20230506
* @version 1.0.0
******************************************
[mitm]
hostname = hj*.com,*.haijiao.com,hj*.top
@ddqp
ddqp / ipv6.m3u
Created May 27, 2023 00:52
ipv6
#EXTM3U
#EXTINF:-1,CCTV-1
http://[2409:8087:2001:20:2800:0:df6e:eb07]/wh7f454c46tw3252572940_-481357165/ott.mobaibox.com/PLTV/3/224/3221227467/index.m3u8?icpid=3&RTS=1668593752&from=40&ocs=2_2409:8087:2001:20:2800:0:df6e:eb0a_80&popid=40&hms_devid=2036&prioritypopid=40&vqe=3
#EXTINF:-1,CCTV-2
http://[2409:8087:2001:20:2800:0:df6e:eb12]/wh7f454c46tw3589111099_-1793408755/ott.mobaibox.com/PLTV/3/224/3221227543/index.m3u8?icpid=3&RTS=1668594088&from=40&popid=40&hms_devid=2112&prioritypopid=40&vqe=3
#EXTINF:-1,CCTV-3
http://[2409:8087:2001:20:2800:0:df6e:eb18]/wh7f454c46tw3746132328_-1754088424/ott.mobaibox.com/PLTV/3/224/3221228126/index.m3u8?icpid=3&RTS=1668594245&from=40&popid=40&hms_devid=2113&prioritypopid=40&vqe=3
#EXTINF:-1,CCTV-4
http://[2409:8087:2001:20:2800:0:df6e:eb12]/wh7f454c46tw3772680253_-1555628407/ott.mobaibox.com/PLTV/3/224/3221227549/index.m3u8?icpid=3&RTS=1668594272&from=40&popid=40&hms_devid=2112&prioritypopid=40&vqe=3
#EXTINF:-1,CCTV-5
@ddqp
ddqp / text.txt
Created April 23, 2018 02:16 — forked from movii/text.txt
三大运营商SSR混淆参数
# source: http://doubledou.buzz/82.html
收集自网络
说明:
1.理论上138端口免流大部分移动,137和139移动大部分地区也能免流;
2,8080端口理论上三网全免,但是需要配合混淆参数使用;
3,混淆参数如下(填写到混淆插件参数里面):
联通混淆参数有五种:
@ddqp
ddqp / about:config.md
Created November 16, 2017 01:41 — forked from haasn/about:config.md
Firefox bullshit removal via about:config

Firefox bullshit removal

Due to the incessant swarm of complete and utter nonsense that has been forcing its way into Firefox over time, I've decided to start collecting my personal list of “must-have” about:config tweaks required to turn Firefox into a functional brower.

NOTE: Unfortunately this is somewhat out of date. The comments link to some resources that may be more up-to-date. Patches welcome.

WebSockets

These can be used for nefarious purposes and to bypass access restrictions.

@ddqp
ddqp / qbBuild.sh
Created October 29, 2017 10:40 — forked from jDmacD/qbBuild.sh
qbittorrent from scratch for pi
#!/bin/bash
# https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(15.04-and-newer)
# https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu#Required_dependencies
cd ~/
sudo apt-get install libboost-dev libboost-system-dev build-essential -y
sudo apt-get install libqt4-dev -y
sudo apt-get install qtbase5-dev qttools5-dev-tools -y
@ddqp
ddqp / copyURLPlusSafari.scpt
Created April 1, 2017 09:08 — forked from chmurph2/copyURLPlusSafari.scpt
In Safari, this applescript copies the title and URL of the current tab to the clipboard.
-- In Safari, this copies the Title and URL of the current tab to the clipboard.
-- Save the script in ~/Library/Scripts/Applications/Safari
-- Using QuickSilver, I assign a trigger to this script using the hotkey ⌥-C (option c), with the scope of the trigger limited to Safari.
-- Inspired by CopyURL + (http://copyurlplus.mozdev.org/)
-- Christopher R. Murphy
tell application "Safari"
set theURL to URL of front document
set theTitle to name of front document
set the clipboard to theTitle & return & theURL as string
@ddqp
ddqp / __request
Created January 3, 2017 08:55 — forked from natos/__request
Multiple Requests with Request (Node.js)
var request = require('request')
/**
* Handle multiple requests at once
* @param urls [array]
* @param callback [function]
* @requires request module for node ( https://github.com/mikeal/request )
*/
var __request = function (urls, callback) {
@ddqp
ddqp / .wakeup
Created October 31, 2016 08:35 — forked from ralph089/.wakeup
Restarts Bluetooth Module on Mac OS X El Capitan. You can use the script as shortcut to restart Bluetooth on demand or you can use it with "SleepWatcher" to automatically restart Bluetooth on wakeup (See README.md). I created it, because my Logitech Bluetooth Mouse doesn't stay connected after sleep-mode, so i had to manually re-pair my mouse.
#!/bin/bash
#
# Restart Bluetooth Module on Mac OS X
#
# Requires Blueutil to be installed: http://brewformulas.org/blueutil
BT="/usr/local/bin/blueutil"
log() {
echo "$@"
@ddqp
ddqp / surge.conf
Created October 7, 2015 10:51 — forked from soffchen/surge.conf
surge.conf
[General]
loglevel = notify
all-tcp-mode = false
[Proxy]
Proxy = custom
[Rule]
// iOS Maps
DOMAIN-SUFFIX,ls.apple.com,DIRECT