Skip to content

Instantly share code, notes, and snippets.

View ben-hampson's full-sized avatar
🐍

Ben Hampson ben-hampson

🐍
View GitHub Profile
@ben-hampson
ben-hampson / .gitconfig
Last active February 27, 2023 12:18
Git Aliases
# https://github.com/GitAlias/gitalias
[alias]
a = add
au = !git add --update && git status -s
aa = !git add --all && git status -s
b = branch
ca = commit --amend
cm = commit --message
co = checkout
@ben-hampson
ben-hampson / ubuntu-setup.sh
Last active October 20, 2022 12:04
Ubuntu Setup
#/bin/bash
echo "Updating packages"
sudo apt -y update
sudo apt -y upgrade
# VS Code
sudo apt-get install wget gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
@ben-hampson
ben-hampson / macos-setup.sh
Last active October 20, 2022 09:20 — forked from bradp/setup.sh
Mac Setup Script
#!/bin/zsh
echo "Creating an SSH key for you..."
ssh-keygen -t ed25519
cat $HOME/.ssh/id_ed25519.pub
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing Xcode stuff"