Status: In progress
Steps to recreate failing test
-
run
# sudo apt-get install | |
# sudo apt-get update | |
# sudo add-apt-repository ppa:ethereum/ethereum | |
# sudo apt-get update | |
# sudo apt-get install ethereum | |
# below command from .ethereum/ directory | |
geth --http --http.addr "127.0.0.1" --http.corsdomain "*" --http.port "8545" --syncmode "light" |
# sudo apt update | |
# sudo apt install nginx -y | |
# sudo nano /etc/nginx/sites-available/default | |
# sudo systemctl stop nginx | |
# sudo systemctl start nginx | |
# sudo systemctl status nginx | |
server { | |
listen 80; |
# sudo nano /etc/systemd/system/geth.service | |
# run with: | |
# sudo systemctl start geth.service | |
# sudo systemctl status geth.service | |
# debugging: | |
sudo runuser -l ubuntu -c "geth --http --http.addr "127.0.0.1" --http.corsdomain "*" --http.port "8545" --syncmode "light" 2>/home/ubuntu/.ethereum/geth.log" | |
# could also use screen |
Status: In progress
Steps to recreate failing test
run
Coverage Badges Test |
This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.
Convert .mov/.MP4 to .gif
As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.
This is not limited to developer, anyone has this need can use this method to convert the files.
#!/bin/zsh | |
# ----------------------------------------------------------------------------- | |
# AI-powered (llama) Git Commit Function | |
# Copy paste this gist into your ~/.bashrc or ~/.zshrc to gain the `gcm` command, or simply source this file in your .zshrc. | |
# It: | |
# 1) gets the current staged changed diff | |
# 2) sends them to an LLM to write the git commit message | |
# 3) allows you to easily accept, edit, regenerate, cancel | |
# But - just read and edit the code however you like |
# ---------------------- | |
# Git Aliases | |
# ---------------------- | |
alias gaa='git add .' | |
alias gco='git checkout' | |
# alias gcm='git commit' | |
# python aliases | |
alias mvenv='python3 -m venv .venv' | |
alias avenv='source .venv/bin/activate' |