Skip to content

Instantly share code, notes, and snippets.

View cabiamdos's full-sized avatar
🌴
On vacation

William cabiamdos

🌴
On vacation
View GitHub Profile
@bradtraversy
bradtraversy / mysql_cheat_sheet.md
Last active September 2, 2026 19:38
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@doulmi
doulmi / download_all_branches.sh
Created June 23, 2017 14:16
Download All branches
#!/bin/bash
set -x #echo on
remote_url=$(git config --get remote.origin.url)
for branch in $(git branch --all | grep '^\s*remotes' | egrep --invert-match '(:?HEAD|master)$'); do
branch_name=$(echo $branch| cut -d'/' -f 3)
git clone -b $branch_name $remote_url $branch_name
done
@Mido22
Mido22 / download-vsix-link
Last active September 28, 2025 15:03
In Visual Studio Code: for adding a download link to download extension in .vsix format to install offiline