- Xipeng Guan / Male / 1991.11.16
- Phone: +86 18610345303
- Email: [email protected]
- Bachelor's Degree / Optoelectronic Information Engineering / Wenhua College, Huazhong University of Science and Technology / 2010.09 ~ 2014.07
- Work Experience: 12 years
- GitHub: https://github.com/yetone
- Expected Position: Product Development Engineer / LLMOps
- Expected Work Location: Remote
- Current Location: Beijing, China
- macOS 10.15.5
- tmux 3.1b
macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.
Instead of tmux-256color
, use screen-256color
which comes with system. Place this command into ~/.tmux.conf
or ~/.config/tmux/tmux.conf
(for version 3.1 and later):
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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
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
{"lastUpload":"2020-05-13T10:46:00.823Z","extensionVersion":"v3.4.3"} |
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
# pfreixes, 2012-07-27 | |
# Add to /etc/bash_completion.d/supervisorctl | |
_supervisor() | |
{ | |
local cur prev opts base | |
COMPREPLY=() | |
cur="${COMP_WORDS[COMP_CWORD]}" | |
prev="${COMP_WORDS[COMP_CWORD-1]}" |
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
from threading import RLock | |
from typing import Dict | |
class _RLockWrapper: | |
def __init__(self): | |
self.lock = RLock() | |
self.count = 0 | |
def acquire(self, blocking: bool = ..., timeout: float = ...) -> bool: |
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
" Selected Intellimacs modules | |
source ~/.intellimacs/spacemacs.vim | |
source ~/.intellimacs/extra.vim | |
source ~/.intellimacs/major.vim | |
source ~/.intellimacs/hybrid.vim | |
" My own vim commands | |
nnoremap Y y$ | |
" Comma for major mode |
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
{ | |
"Ansi 4 Color" : { | |
"Red Component" : 0.34117650985717773, | |
"Color Space" : "sRGB", | |
"Blue Component" : 0.99999994039535522, | |
"Alpha Component" : 1, | |
"Green Component" : 0.78039222955703735 | |
}, | |
"Tags" : [ |
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
__cursor_pos () { | |
local pos | |
exec {tty}<>/dev/tty | |
echo -n '\e[6n' >&$tty; read -rsdR pos <&$tty | |
exec {tty}>&- | |
[[ $pos =~ '([0-9]+);([0-9]+)$' ]] | |
print $match[1] $match[2] | |
} | |
__calc_height () { |
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
{ | |
"description": "Switch between zh-Hans <-> en (left_shift)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"input_sources": [ | |
{ | |
"language": "en" | |
} |
NewerOlder