This file contains hidden or 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
BEGIN:VCALENDAR | |
VERSION:2.0 | |
CALSCALE:GREGORIAN | |
PRODID:adamgibbons/ics | |
METHOD:PUBLISH | |
X-WR-CALNAME:英雄联盟2022职业联赛 | |
X-PUBLISHED-TTL:PT1H | |
BEGIN:VEVENT | |
UID:fc6cb44e-965a-4c21-a1e2-9f99b44cf3d0 | |
SUMMARY:OMG vs TT - 2 : 0 |
This file contains hidden or 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
#!name=YouTube | |
#!desc=Remove YouTube Ads | |
[Rule] | |
URL-REGEX,^https:\/\/.+\.googlevideo\.com\/.+&oad,REJECT | |
URL-REGEX,https?:\/\/.+.googlevideo.com\/ptracking\?pltype=adhost,REJECT | |
URL-REGEX,https?:\/\/.+.youtube.com\/api\/stats\/ads,REJECT | |
URL-REGEX,https?:\/\/.+.youtube.com\/get_midroll_,REJECT | |
URL-REGEX,https?:\/\/.+.youtube.com\/pagead\/,REJECT | |
URL-REGEX,https?:\/\/.+.youtube.com\/ptracking\?,REJECT |
This file contains hidden or 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
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID: LPL2020 | |
X-WR-CALNAME:LPL2020赛程 | |
BEGIN:VEVENT | |
SUMMARY:IG vs FPX 2 : 1 | |
UID:lpl2020_5655 | |
DTSTART:20200113T090000Z | |
DTEND:20200113T090000Z | |
BEGIN:VALARM |
This file contains hidden or 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
#coding:UTF-8 | |
import json | |
import re | |
import base64 | |
import time | |
import requests | |
from bs4 import BeautifulSoup | |
HEADERS = { |
This file contains hidden or 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
rules: | |
- DOMAIN,xn--jbto0da.xn--6qq986b3xl,DIRECT | |
# Apple | |
- DOMAIN,hls.itunes.apple.com,Proxy | |
- DOMAIN,itunes.apple.com,Proxy | |
- DOMAIN-SUFFIX,digicert.com,DIRECT | |
- DOMAIN-SUFFIX,icloud.com,DIRECT | |
- DOMAIN-SUFFIX,icloud-content.com,DIRECT | |
- DOMAIN-SUFFIX,mzstatic.com,DIRECT | |
- DOMAIN-SUFFIX,akadns.net,DIRECT |
This file contains hidden or 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
port: 7890 | |
socks-port: 7891 | |
allow-lan: true | |
mode: rule | |
log-level: info | |
external-controller: '127.0.0.1:9090' |
This file contains hidden or 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
let URL = "https://v2ray.api.lanan.xyz/client/api.php" | |
function checkUserInfoCached() { | |
var username = ""; | |
var password = ""; | |
if ($cache.get("username") == null) { | |
$input.text({ | |
placeholder: "用户名", | |
handler: function(text) { |
This file contains hidden or 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
# applescript | |
# add login item | |
osascript -e 'tell application "System Events" to make login item at end with properties {name: "Notes",path:"/Applications/Notes.app", hidden:false}' | |
# delete login item | |
osascript -e 'tell application "System Events" to delete login item "itemname"' | |
# list loginitems | |
osascript -e 'tell application "System Events" to get the name of every login item' |