Execute in the project root directory
gource --seconds-per-day 1 --auto-skip-seconds 0.3 --max-file-lag 0.5 --font-file C:\Windows\Fonts\SourceHanSansSC-Regular.otf
set history remove-duplicates unlimited | |
set history save on | |
# set logging overwrite on | |
# set logging debugredirect on | |
# set trace-commands on | |
# set logging on | |
# source ~/.gdbinit-gef.py |
;This is the gitconfig for Linux | |
;~/.config/git/config | |
[user] | |
name = Bit0r | |
email = [email protected] | |
[core] | |
editor = code -w | |
hooksPath = ~/.config/git/hooks | |
[http "https://github.com"] | |
proxy = socks5://localhost | |
[credential] | |
helper = store --file ~/.config/git/git-credentials | |
[rerere] | |
enabled = true | |
[pull] | |
ff = only | |
[push] | |
recurseSubmodules = on-demand | |
[diff] | |
tool = default-difftool | |
submodule = log | |
[difftool "default-difftool"] | |
cmd = code -w -d $LOCAL $REMOTE | |
[diff "exif"] | |
textconv = exiftool | |
[merge "ours"] | |
driver = true |
dir=${HOME}/下载/ | |
log=${HOME}/.config/aria2/aria2.log | |
log-level=error | |
save-session=${HOME}/.config/aria2/aria2.session | |
input-file=${HOME}/.config/aria2/aria2.session | |
# load-cookies=${HOME}/.config/google-chrome/Default/Cookies | |
http-proxy=localhost:8800 | |
https-proxy=localhost:8800 | |
continue=true | |
conditional-get=true | |
max-connection-per-server=4 | |
split=8 | |
min-split-size=5M | |
allow-piece-length-change=true | |
http-accept-gzip=true | |
http-auth-challenge=true | |
# use-head=true | |
user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36 | |
enable-rpc=true | |
# rpc-allow-origin-all=true | |
daemon=true | |
disk-cache=64M | |
file-allocation=falloc | |
optimize-concurrent-downloads=true |
{ | |
"log": { | |
"access": "/var/log/xray/access.log", | |
"error": "/var/log/xray/error.log", | |
"loglevel": "warning" | |
}, | |
"inbounds": [ | |
{ | |
"port": 1080, | |
"listen": "127.0.0.1", | |
"protocol": "socks", | |
"settings": { | |
"udp": false | |
} | |
}, | |
{ | |
"port": 8800, | |
"listen": "127.0.0.1", | |
"protocol": "http" | |
} | |
], | |
"outbounds": [ | |
{ | |
"protocol": "freedom", | |
"tag": "direct" | |
} | |
], | |
"routing": { | |
"domainStrategy": "AsIs", | |
"rules": [ | |
{ | |
"type": "field", | |
"ip": [ | |
"geoip:private", | |
"geoip:cn" | |
], | |
"outboundTag": "direct" | |
}, | |
{ | |
"type": "field", | |
"domain": [ | |
"geosite:private", | |
"domain:bing.com", | |
"domain:gitee.io", | |
"domain:lanzoui.com" | |
], | |
"outboundTag": "direct" | |
}, | |
{ | |
"type": "field", | |
"domain": [ | |
"geosite:geolocation-!cn", | |
"domain:edu", | |
"domain:org", | |
"domain:io", | |
"domain:sourceforge.net", | |
"domain:backchina.com", | |
"domain:raymond.cc", | |
"domain:composingprograms.com", | |
"domain:calibre-ebook.com", | |
"domain:doubleverify.com", | |
"domain:greenteapress.com", | |
"domain:kknews.cc", | |
"domain:wtfresume.com", | |
"domain:v2ex.com", | |
"domain:wenxuecity.com", | |
"domain:troglobit.com", | |
"domain:realpython.com", | |
"domain:githubassets.com", | |
"domain:pythonblogs.com", | |
"domain:linuxquestions.org", | |
"domain:sumologic.com", | |
"domain:epochtimes.com", | |
"domain:tlanyan.me", | |
"domain:yibaochina.com", | |
"domain:namesilo.com", | |
"domain:tkte.ch", | |
"domain:teamviewer.com", | |
"domain:wordpress.com", | |
"domain:wikiwand.com", | |
"domain:fanqiangdang.com", | |
"domain:aspermont.com", | |
"domain:softballwaiting.com", | |
"domain:bit.ly", | |
"domain:cipherli.st", | |
"domain:delta.chat", | |
"domain:sqlitetutorial.net", | |
"domain:pervfriends.com", | |
"domain:bffs.com", | |
"domain:potnhub.org", | |
"domain:addthisedge.com", | |
"domain:addthis.com", | |
"domain:ahcdn.com", | |
"domain:xsz-av.com", | |
"domain:epochtimes.com", | |
"domain:bulma.io", | |
"domain:joelonsoftware.com", | |
"domain:amplitude.com", | |
"domain:searchcode.com", | |
"domain:cfmem.com", | |
"domain:appspot.com", | |
"domain:chickenkiller.com", | |
"domain:tampermonkey.net", | |
"domain:akinator.com", | |
"domain:cppreference.com", | |
"domain:kleientertainment.com" | |
], | |
"outboundTag": "proxy" | |
}, | |
{ | |
"type": "field", | |
"ip": [ | |
"192.30.252.0/22", | |
"185.199.108.0/22", | |
"140.82.112.0/20", | |
"143.55.64.0/20", | |
"2a0a:a440::/29", | |
"2606:50c0::/32", | |
"13.114.40.48/32", | |
"52.192.72.89/32", | |
"52.69.186.44/32", | |
"15.164.81.167/32", | |
"52.78.231.108/32", | |
"13.234.176.102/32", | |
"13.234.210.38/32", | |
"13.236.229.21/32", | |
"13.237.44.5/32", | |
"52.64.108.95/32", | |
"20.201.28.151/32", | |
"20.205.243.166/32", | |
"102.133.202.242/32", | |
"18.181.13.223/32", | |
"54.238.117.237/32", | |
"54.168.17.15/32", | |
"3.34.26.58/32", | |
"13.125.114.27/32", | |
"3.7.2.84/32", | |
"3.6.106.81/32", | |
"52.63.152.235/32", | |
"3.105.147.174/32", | |
"3.106.158.203/32", | |
"20.201.28.152/32", | |
"20.205.243.160/32", | |
"102.133.202.246/32", | |
"91.108.56.0/22", | |
"91.108.4.0/22", | |
"91.108.8.0/22", | |
"91.108.16.0/22", | |
"91.108.12.0/22", | |
"149.154.160.0/20", | |
"91.105.192.0/23", | |
"91.108.20.0/22", | |
"185.76.151.0/24", | |
"2001:b28:f23d::/48", | |
"2001:b28:f23f::/48", | |
"2001:67c:4e8::/48", | |
"2001:b28:f23c::/48", | |
"2a0a:f280::/32" | |
], | |
"outboundTag": "proxy" | |
} | |
] | |
}, | |
"dns": { | |
"servers": [ | |
"localhost", | |
{ | |
"address": "1.1.1.1", | |
"domains": [ | |
"geosite:geolocation-!cn" | |
] | |
} | |
] | |
} | |
} |
## Exect pandoc --version to get the configuration file location | |
from: gfm | |
# reader: may be used instead of from: | |
## Reader options | |
# adjust conflicts between CSS h* attributes | |
# shift-heading-level-by: 1 | |
# delete all empty paragraphs | |
strip-empty-paragraphs: true | |
# Preserve tabs instead of converting them to spaces. | |
preserve-tabs: true | |
## General writer options | |
# lf, crlf, or native | |
eol: lf | |
# delete all comments | |
strip-comments: true | |
# either a style name of a style definition file: | |
# highlight-style: haddock | |
## Options affecting specific writers | |
# Produce a standalone HTML file with no external dependencies | |
self-contained: true | |
# encrypt hyperlinks | |
# email-obfuscation: references | |
# link css files | |
css: | |
- 'https://raw.githubusercontent.com/otsaloma/markdown-css/master/github.css' | |
# method is plain, webtex, gladtex, mathml, mathjax, katex | |
# you may specify a url with webtex, mathjax, katex | |
html-math-method: | |
method: katex | |
url: 'http://cdn.staticfile.org/KaTeX/0.12/' | |
# note that structured variables may be specified: | |
variables: | |
lang: zh-Hans |
Import-Module posh-git | |
Import-Module oh-my-posh | |
Import-Module PoShFuck | |
Set-Theme Honukai | |
[Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8 | |
# NOTE: registry keys for IE 8, may vary for other versions | |
$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' | |
function unproxy{ | |
Set-ItemProperty -Path $regPath -Name ProxyEnable -Value 0 | |
Set-ItemProperty -Path $regPath -Name ProxyServer -Value '' | |
Set-ItemProperty -Path $regPath -Name ProxyOverride -Value '' | |
[Environment]::SetEnvironmentVariable('http_proxy', $null, 'User') | |
[Environment]::SetEnvironmentVariable('https_proxy', $null, 'User') | |
} | |
function proxy{ | |
$proxy = 'http://127.0.0.1:1081' | |
Set-ItemProperty -Path $regPath -Name ProxyEnable -Value 1 | |
Set-ItemProperty -Path $regPath -Name ProxyServer -Value $proxy | |
Set-ItemProperty -Path $regPath -Name ProxyOverride -Value '<local>' | |
[Environment]::SetEnvironmentVariable('http_proxy', $proxy, 'User') | |
[Environment]::SetEnvironmentVariable('https_proxy', $proxy, 'User') | |
} |