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
body { | |
font-family: "Sarasa Gothic SC", arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |
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
import os | |
from datetime import date | |
import glob | |
today=date.today() | |
for x in list(range(1, today.month+1)): | |
year=str(today.year) | |
# year='2018' | |
month=format(x, '02d') | |
# Photo |
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
DOMAIN-SUFFIX,aadrm.com | |
DOMAIN-SUFFIX,acompli.com | |
DOMAIN-SUFFIX,acompli.net | |
DOMAIN-SUFFIX,aka.ms | |
DOMAIN-SUFFIX,akadns.net | |
DOMAIN-SUFFIX,aspnetcdn.com | |
DOMAIN-SUFFIX,assets-yammer.com | |
DOMAIN-SUFFIX,azure.com | |
DOMAIN-SUFFIX,azure.net | |
DOMAIN-SUFFIX,azureedge.net |
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
unmap f | |
map f createHint |
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
// an example to create a new mapping `ctrl-y` | |
// an example to replace `T` with `gt`, click `Default mappings` to see how `T` works. | |
api.map('gt', 'T'); | |
// hint displayed left | |
settings.hintAlign = "left"; | |
// navigate forward and backward | |
api.unmap('H'); | |
api.mapkey('HH', '#8Open opened URL in current tab', function() { | |
api.Front.openOmnibar({type: "URLs", extra: "getTabURLs", tabbed: "false"}); |
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: true | |
external-controller: 0.0.0.0:7892 | |
dns: | |
enable: true | |
listen: 0.0.0.0:53 | |
enhanced-mode: fake-ip | |
nameserver: |
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
[custom] | |
;设置规则标志位 | |
surge_ruleset=PseudoDirect,rules/ConnersHua/Surge/Ruleset/Unbreak.list | |
;surge_ruleset=PseudoReject,rules/NobyDa/Surge/AdRule.list | |
;surge_ruleset=PseudoReject,rules/ConnersHua/Surge/Ruleset/Hijacking.list | |
surge_ruleset=Academic,https://github.com/TTTPOB/SS-Rule-Snippet/raw/master/Rulesets/Custom/academic.list | |
surge_ruleset=ManuallySelect,rules/ConnersHua/Surge/Ruleset/GlobalMedia.list | |
surge_ruleset=ChinaMedia,rules/lhie1/Surge3/Domestic.list | |
surge_ruleset=DIRECT,https://gist.githubusercontent.com/TTTPOB/3cd919152e736581685fd84bb7071cdf/raw/Steam.list | |
surge_ruleset=ManuallySelect,rules/ConnersHua/Surge/Ruleset/Telegram.list |
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
Get-ChildItem . | Foreach-Object -Process { | |
$subPath = $_.LastWriteTime.year.tostring() + "\" + $_.LastWriteTime.year.tostring() + "." + $_.LastWriteTime.month.tostring("00") | |
$from = $_.Name | |
function Move-Android ($subdest) { | |
Write-Output $_.Name | |
$dest = $subdest + "\" + $subPath | |
if (!(Test-Path $dest)) { | |
New-Item -Path $dest -ItemType Directory | Out-Null | |
} |
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
DOMAIN-SUFFIX,51cto.com | |
DOMAIN-SUFFIX,51sjsj.com | |
DOMAIN-SUFFIX,5cy.com | |
DOMAIN-SUFFIX,5read.com | |
DOMAIN-SUFFIX,aacnjournals.org | |
DOMAIN-SUFFIX,aacrjournals.org | |
DOMAIN-SUFFIX,aacr.org | |
DOMAIN-SUFFIX,aappublications.org | |
DOMAIN-SUFFIX,accessmedicine.com | |
DOMAIN-SUFFIX,accesspharmacy.com |
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
import yaml | |
import os | |
import sys | |
versioncode = sys.argv[1] | |
url="https://download.calibre-ebook.com/" + versioncode + "/calibre-64bit-" + versioncode + ".msi" | |
os.system("aria2c -x16 --continue=true -o " + "calibre-64bit-" + versioncode + ".msi "+url) | |
hashval = os.popen("sha256sum calibre-64bit-"+versioncode+".msi"+" | cut -d\ -f1").read().strip() | |
manifest_dict = { |
OlderNewer