This file contains 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
# > Spotify | |
DOMAIN-SUFFIX,pscdn.co,Spotify | |
DOMAIN-SUFFIX,scdn.co,Spotify | |
DOMAIN-SUFFIX,spotify.com,Spotify | |
DOMAIN-SUFFIX,spoti.fi,Spotify | |
DOMAIN-KEYWORD,spotify.com,Spotify | |
DOMAIN-KEYWORD,-spotify-com,Spotify |
This file contains 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: false | |
mode: Rule | |
log-level: silent |
This file contains 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
[ | |
[ | |
"🏳️🌈", | |
"剩余流量", | |
"到期时间", | |
"剩余" | |
], | |
[ | |
"🇦🇨", | |
"AC" |
This file contains 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
# 2019-07-01 12:00:00 | |
# HTTP 代理端口 | |
port: 7890 | |
# SOCKS5 代理端口 | |
socks-port: 7891 | |
# Linux 和 macOS 的 redir 代理端口 (如需使用此功能,请取消注释) | |
# redir-port: 7892 |
This file contains 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
# 2.18 | |
brew uninstall --force git | |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/db579a4f633c3dfde12c5236b9ea0695dce6cc5e/Formula/git.rb --without-completions | |
brew pin git |
This file contains 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 -*- | |
class ListNode: | |
def __init__(self, x): | |
self.val = x | |
self.next = None | |
class Solution: | |
# @param head, a ListNode | |
# @return a ListNode |
This file contains 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
#-- base --# | |
set -g default-terminal "screen" | |
set -g display-time 3000 | |
set -g history-limit 65535 | |
#---------------------------------------------- | |
#将默认按键前缀改为与C-i避免与终端快捷键冲突 | |
set-option -g prefix C-a | |
unbind-key C-b |
This file contains 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
def split(array,first,last): | |
left = first | |
right = last | |
while left < right: | |
while array[first] < array[right]: | |
right -= 1 | |
while array[first] >= array[left] and left < right: | |
left += 1 | |
if left < right: | |
array[left],array[right] = array[right],array[left] |