shadowsocks service
CentOS
basic environment
$ sudo yum install python-setuptools && sudo easy_install pip
$ sudo yum install epel-release
$ sudo yum install libsodium # for aes-256-gcm
$ sudo yum -y groupinstall "Development Tools"
$ sudo yum -y install python3-pip # optional
$ sudo -H python3 -m pip install --upgrade pip
git
$ sudo bash -c "cat > /etc/yum.repos.d/wandisco-git.repo" << EOF
[wandisco-git]
name=Wandisco GIT Repository
baseurl=http://opensource.wandisco.com/centos/7/git/\$basearch/
enabled=1
gpgcheck=1
gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
EOF
$ sudo rpm --import http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
$ sudo yum install -y git
- or nhahv/install_git2.x_on_centos.md
$ sudo yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm $ sudo yum install -y git
copy artical content from csdn
- download html to local
- remove auto-switch to homepage function in html
<div style="display:none;"> <img src="https://blog.csdn.net/su2231595742/article/details/124182312" onerror="setTimeout(function(){if(!/(csdn.net|iteye.com|baiducontent.com|googleusercontent.com|360webcache.com|sogoucdn.com|bingj.com|baidu.com)$/.test(window.location.hostname)){window.location.href="\x68\x74\x74\x70\x73\x3a\x2f\x2f\x77\x77\x77\x2e\x63\x73\x64\x6e\x2e\x6e\x65\x74"}},3000);"> </div>
- or
<div style="display:none;"> <img src="https://blog.csdn.net/potato123232/article/details/118926834" onerror="setTimeout(function(){if(!/(csdn.net|iteye.com|baiducontent.com|googleusercontent.com|360webcache.com|sogoucdn.com|bingj.com|baidu.com)$/.test(window.location.hostname)){window.location.href="\x68\x74\x74\x70\x73\x3a\x2f\x2f\x77\x77\x77\x2e\x63\x73\x64\x6e\x2e\x6e\x65\x74"}},3000);"> </div>
- or
- remove all
*.js
( and might be all*.css
) - open the html in MS Word
bingo!
color picker
iterm2-tab-set
- installation
$ npm i iterm2-tab-set
usage
$ tabset --pick
function cpick() { if test tabset; then rgb=$(tabset -p | sed -nr "s:.*rgb\(([^)]+)\).*$:\1:p"); hexc=$(for c in $(echo "${rgb}" | sed -re 's:,: :g'); do printf '%02x' "$c"; done); echo -e """\t$rgb ~~> $hexc"""; fi }
- result
$ cpick 125,199,53 ~~> 7dc735
- result
terminal-colors
install
$ python3 -m pip install terminal-colors
usage
$ terminal-colors -l