# install
sudo apt-get update
sudo apt-get install -y libjemalloc-dev
# run
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
{ | |
// ------- [version: 2025-08-17] ------- | |
// ? ========== Editor ========== | |
// 自动保存 | |
"files.autoSave": "afterDelay", | |
// 默认 lf 结尾 | |
"files.eol": "\n", | |
// 字号 | |
"editor.fontSize": 13, |
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
# Transform GIF to WebM for Telegram Sticker | |
import subprocess | |
import os | |
# for static png image | |
def convert_png_to_webm(source: str, output: str, compress: int, size: str, limit: int): | |
source_filename = os.path.basename(source) | |
print(f"> convert {source_filename} to webm") | |
if source.endswith(".png"): |
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
/*internal_background-css-fork*/ | |
[id='workbench.parts.editor'] | |
.split-view-view | |
.editor-container | |
.overflow-guard | |
> .monaco-scrollable-element | |
> .monaco-editor-background { | |
background: none; | |
} | |
[id='workbench.parts.editor'] |
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
// ==UserScript== | |
// @name Github disable turbolinks | |
// @version 1.0.0 | |
// @description try to take over the world! | |
// @author You | |
// @match https://github.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
// @grant none | |
// ==/UserScript== |
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
.monaco-workbench.vs-dark | |
.part.editor | |
> .content | |
.editor-group-container | |
> .editor-group-watermark | |
> .letterpress { | |
opacity: .88; | |
} | |
.monaco-workbench |
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
# tmux alias | |
alias ,t_n="tmux new -s" | |
alias ,t_a="tmux a -t" |
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
[http] | |
proxy = http://127.0.0.1:7890 | |
[https] | |
proxy = http://127.0.0.1:7890 | |
[user] | |
name = username | |
email = username@users.noreply.github.com | |
signingkey = XXXXXXXXXXXX | |
[core] | |
excludesfile = /Users/username/.gitignore_global |
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
# 2025-08-09 | |
export USER_BASE=$HOME | |
export ZSH="$USER_BASE/.oh-my-zsh" | |
ZSH_THEME="sorin" | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh |
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
{ | |
"title": "Right option to Double right click", | |
"rules": [ | |
{ | |
"description": "Right option to Double right click", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_option" |
NewerOlder