diff --git a/.profile_binary b/.profile_binary new file mode 100644 index 0000000..3767138 --- /dev/null +++ b/.profile_binary @@ -0,0 +1,25 @@ +# ~/.profile: executed by Bourne-compatible login shells. + +if [ "$BASH" ]; then + if [ -f ~/.bashrc ]; then + . ~/.bashrc + fi +fi + +mesg n 2> /dev/null || true + + +alias e="exit" +alias cm="ps -eo comm,pcpu --sort -pcpu | head -8; ps -eo comm,pmem --sort -pmem | head -8" +alias st='curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3' +alias myip='curl icanhazip.com' +alias wttr='curl wttr.in' + +neofetch + + +alias peer-count='cd ~/ceremonyclient/node && grpcurl -plaintext -max-msg-sz 150000000 localhost:8337 quilibrium.node.node.pb.NodeService.GetPeerInfo | grep peerId | wc -l && cd ~' +alias node-info='cd ~/ceremonyclient/node && ./node -node-info && cd ~' +alias db-console='cd ~/ceremonyclient/node && ./node --db-console && cd ~' +alias balance='cd ~/ceremonyclient/node && ./node -balance && cd ~' +alias node-log='sudo journalctl -u ceremonyclient.service -f --no-hostname -o cat' diff --git a/.profile_docker b/.profile_docker new file mode 100644 index 0000000..97af918 --- /dev/null +++ b/.profile_docker @@ -0,0 +1,25 @@ +# ~/.profile: executed by Bourne-compatible login shells. + +if [ "$BASH" ]; then + if [ -f ~/.bashrc ]; then + . ~/.bashrc + fi +fi + +mesg n 2> /dev/null || true + + +alias e="exit" +alias cm="ps -eo comm,pcpu --sort -pcpu | head -8; ps -eo comm,pmem --sort -pmem | head -8" +alias st='curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3' +alias myip='curl icanhazip.com' +alias wttr='curl wttr.in' + +neofetch + + +alias peer-count='cd ~/ceremonyclient/ && docker compose exec node grpcurl -plaintext -max-msg-sz 5000000 localhost:8337 quilibrium.node.node.pb.NodeService.GetPeerInfo | grep peerId | wc -l' +alias node-info='cd ~/ceremonyclient/ && docker compose exec node node -node-info && cd ~' +alias db-console='cd ~/ceremonyclient/ && - docker compose exec node node --db-console && cd ~' +alias balance='cd ~/ceremonyclient/ && docker compose exec node node -balance && cd ~' +alias node-log='cd ~/ceremonyclient/ && docker compose logs -f -n, --tail 100 && cd ~' diff --git a/.profile_service b/.profile_service new file mode 100644 index 0000000..53dd9c7 --- /dev/null +++ b/.profile_service @@ -0,0 +1,25 @@ +# ~/.profile: executed by Bourne-compatible login shells. + +if [ "$BASH" ]; then + if [ -f ~/.bashrc ]; then + . ~/.bashrc + fi +fi + +mesg n 2> /dev/null || true + + +alias e="exit" +alias cm="ps -eo comm,pcpu --sort -pcpu | head -8; ps -eo comm,pmem --sort -pmem | head -8" +alias st='curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3' +alias myip='curl icanhazip.com' +alias wttr='curl wttr.in' + +neofetch + + +alias peer-count='cd ~/ceremonyclient/node && grpcurl -plaintext -max-msg-sz 150000000 localhost:8337 quilibrium.node.node.pb.NodeService.GetPeerInfo | grep peerId | wc -l && cd ~' +alias node-info='cd ~/ceremonyclient/node && GOEXPERIMENT=arenas go run ./... -node-info && cd ~' +alias db-console='cd ~/ceremonyclient/node && - GOEXPERIMENT=arenas go run ./... --db-console && cd ~' +alias balance='cd ~/ceremonyclient/node && GOEXPERIMENT=arenas go run ./... -balance && cd ~' +alias node-log='sudo journalctl -u ceremonyclient.service -f --no-hostname -o cat'