Skip to content

Instantly share code, notes, and snippets.

@ytoaa
ytoaa / .screenrc
Created April 19, 2023 05:47 — forked from m-Just/.screenrc
defshell -bash
altscreen on
autodetach on
caption always "%{= kw}%-w%{= kG}%{+b}[%n %t]%{-b}%{= kw}%+w %=%d %M %0c %{g}%H%{-}"
# huge scrollback buffer
defscrollback 5000
# switch windows with F3 (prev) and F4 (next)
@ytoaa
ytoaa / install_go_pi.sh
Created March 1, 2022 02:45 — forked from pcgeek86/install_go_pi.sh
Install Go Lang on Raspberry Pi
cd $HOME
FileName='go1.13.4.linux-armv6l.tar.gz'
wget https://dl.google.com/go/$FileName
sudo tar -C /usr/local -xvf $FileName
cat >> ~/.bashrc << 'EOF'
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
EOF
source ~/.bashrc