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 new \; \ | |
split-window -h -p 75 \; \ | |
split-window -h -p 66 \; \ | |
split-window -h -p 50 \; \ | |
select-pane -t 0 \; \ | |
send-keys 'while true; do sl; done' C-m \; \ | |
split-window -v -p 75 \; \ | |
send-keys 'while true; do sl; done' C-m \; \ | |
split-window -v -p 66 \; \ | |
send-keys 'while true; do sl; done' C-m \; \ |
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
#include "reg51.h" | |
//#include <at89x51.h> | |
bit lightoff = 1; | |
bit lighton = 0; | |
sbit P1_0 = P1^0; | |
sbit P1_1 = P1^1; | |
sbit P1_2 = P1^2; | |
sbit P1_3 = P1^3; | |
sbit P1_4 = P1^4; |
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
git config --global alias.lg "log --color --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --" |
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
# `git lg` | |
curl -L pinlin.me/gitlg | sh | |
# 彩色的 bash 提示字串 | |
curl -L pinlin.me/ps1 >> ~/.bashrc && source ~/.bashrc |
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
PS1='\[\e[0;96m\]\u\[\e[0m\]@\[\e[0;92m\]\h\[\e[0m\]:\[\e[0;93m\]\w\[\e[0m\]$ ' |