I hereby claim:
- I am teopeurt on github.
- I am donwunumah (https://keybase.io/donwunumah) on keybase.
- I have a public key ASCjaej9tYMIU4zUlJe4TljHtFrohGQSKUTv4sOPob9Q5Ao
To claim this, I am signing this object:
| #!/bin/bash | |
| # rclone_copy_to_r2.sh - Copy a local directory to Cloudflare R2, | |
| # excluding node_modules, .git, dist, etc. | |
| # ------------------------- Configuration ------------------------- | |
| R2_REMOTE="cf-r2" # Your rclone remote name for R2 | |
| R2_BUCKET="your-bucket-name" # Change to your actual bucket name | |
| # ----------------------------------------------------------------- | |
| set -e # Exit on any error |
I hereby claim:
To claim this, I am signing this object:
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| git diff develop..master . |
| #!/bin/sh | |
| # chmod a+x ~/bin/p4diff | |
| # git config --global diff.external p4diff | |
| [ $# -eq 7 ] && ~/bin/p4merge "$2" "$5" |
| #!/bin/bash | |
| # chmod +x and copy to ~/bin/p4merge | |
| # then | |
| # git config --global merge.tool p4merge | |
| # git config --global mergetool.keepTemporaries false | |
| # git config --global mergetool.prompt false | |
| if [ -n "$GIT_DIR" ]; then | |
| if $(git submodule | grep -q $2); then | |
| tmp=$(mktemp -t $2) && trap 'rm -rf $tmp' EXIT HUP INT QUIT TERM |
| #!/bin/bash | |
| CONTAINER=$2 | |
| HOSTPORT=$1 | |
| CONTAINERPORT=$3 | |
| container_ip=$(lxc info $CONTAINER | grep 'eth0' | head -n1 | awk '{print $3}') | |
| iptables -t nat -A PREROUTING -p tcp -i eth0 --dport $HOSTPORT -j DNAT \ | |
| --to-destination $container_ip:$CONTAINERPORT |
| sudo aptitude update | |
| sudo aptitude upgrade | |
| sudo apt-get install -y httpie htop zsh git mosh | |
| sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable | |
| sudo apt-get update | |
| sudo apt-get dist-upgrade | |
| sudo apt-get install -y lxd |
| #!/bin/bash | |
| # Description: Using Docker (requires docker to be installed http://www.docker.io/gettingstarted/ ), spawn a postgresql instance and a dynamically configured treeio instance | |
| # Author: Adam Awan | |
| # Email: adam@tree.io | |
| # Set the port to forward for Tree.io | |
| TREEIO_PORT="80" | |
| # Create a PostgreSQL Instance | |
| echo "Retrieving adam/pglite PostgreSQL Container..." |