Skip to content

Instantly share code, notes, and snippets.

View GillyRabutTsurwa's full-sized avatar
💾
doing the same as yourself

Gilbert Rabut Tsurwa GillyRabutTsurwa

💾
doing the same as yourself
View GitHub Profile
@GillyRabutTsurwa
GillyRabutTsurwa / plugins-update
Created January 8, 2026 21:12
bash script for updating wordpress sites
#!/bin/bash
wordpress_path="$HOME/Sites/$1"
log_file="$wordpress_path/logs/plugin-updates.txt"
git_commit_title="Plugin Updates"
github_remote="origin"
git_branch="$2"
# helper functions
function fail {
@GillyRabutTsurwa
GillyRabutTsurwa / ssh.md
Created May 23, 2024 17:50
Notes from Jay's 1.5 Hour SSH Lesson

SSH Commands

To connect to a server, use the SSH command, along with the server user and IP address

ssh username@12.34.56

To generate a SSH key, use the ssh-keygen command

ssh-keygen