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
! Put user rules line by line in this file. | |
! See https://adblockplus.org/en/filter-cheatsheet | |
! | |
! | |
||criterion.com^ | |
||ssbwiki.com^ | |
||sourceforge.net^ | |
||tunnel.cloudproxy.app^ | |
||allmusic.com^ | |
||rateyourmusic.com^ |
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
def get_sec(time_str): | |
# """Get Seconds from time.""" | |
h, m, s = time_str.split(':') | |
a = int(h) * 3600 + int(m) * 60 + int(s) | |
return str(a) + '.000000' | |
f = open("./label_to_converted.txt", "r") | |
line = f.readline() | |
a = [] | |
while line: |
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: 1087 #http port | |
socks-port: 1086 #socks5 port | |
redir-port: 7892 | |
allow-lan: false | |
mode: Rule | |
log-level: silent | |
external-controller: '0.0.0.0:9090' | |
secret: '' | |
ipv6: true |
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
"$schema" = 'https://starship.rs/config-schema.json' | |
format = """ | |
[┌◉](color_orange)\ | |
$os\ | |
$username\ | |
[](bg:color_yellow fg:color_orange)\ | |
$directory\ | |
[](fg:color_yellow bg:color_aqua)\ | |
$git_branch\ |
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
[core] | |
excludesfile = /Users/keniwo/.gitignore_global | |
autocrlf = input | |
[difftool "sourcetree"] | |
cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
path = | |
[mergetool "sourcetree"] | |
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" | |
trustExitCode = true | |
[user] |
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
# docker compose -f ./neo4j-compose.yaml up -d | |
services: | |
neo4j: | |
image: neo4j:2025.03.0-community-bullseye | |
volumes: | |
- /$HOME/neo4j/logs:/logs | |
- /$HOME/neo4j/config:/config | |
- /$HOME/neo4j/data:/data | |
- /$HOME/neo4j/plugin:/plugins |
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
# Lines starting with # are comments | |
# Always extract audio | |
# -x | |
# Copy the mtime | |
# --mtime | |
# Use this proxy | |
# --proxy 127.0.0.1:3128 |
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
# activate default venv 设置uv venv环境 | |
source ~/.venvs/uv/bin/activate.fish | |
set -gx VIRTUAL_ENV ~/.venvs/uv | |
# hide venv parentheses in the prompt | |
# set -gx VIRTUAL_ENV_DISABLE_PROMPT 1 | |
# set editor | |
set -gx EDITOR nvim |