Skip to content

Instantly share code, notes, and snippets.

View louisaslett's full-sized avatar
🤓

Louis Aslett louisaslett

🤓
View GitHub Profile
@colebob9
colebob9 / InstallQEMUOnMac.sh
Last active May 1, 2020 12:10
Installs QEMU on a Mac, doesn't need admin
# InstallQEMUOnMac v1
# colebob9
# Installs QEMU using homebrew and downloads Ubuntu on a Mac
# Execute `chmod +x InstallQEMUOnMac.sh` before using.
echo "This will install QEMU on your Mac. Please note that this will take about 40 minutes to get through. Go watch some YouTube videos or something cause you're going to be here for a while. This script will take care of everything."
echo "Please make sure you have your charger plugged in, and a lot of patience."
echo "Do not *at any point* exit out of this Terminal window, even if it looks stuck. It's not."
echo "It is also recommended to have the Mac apps \"Amphetamine\" or \"Caffeine\" installed and enabled now, so your Mac doesn't sleep. Do not close your lid either."
@santisbon
santisbon / Update-branch.md
Last active March 21, 2024 15:50
Deploying from #Git branches adds flexibility. Bring your feature branch up to date with master and deploy it to make sure everything works. If everything looks good the branch can be merged. Otherwise, you can deploy your master branch to return production to its stable state.

Updating a feature branch

First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)

$ git checkout master

Fetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master.

@JoshData
JoshData / build_logins.sh
Last active November 26, 2020 17:59
rstudio multi-user helper
#!/bin/bash
# Start an AWS instance with one of the AMIs provided by:
# http://www.louisaslett.com/RStudio_AMI/
#
# Get this script.
# wget https://gist.githubusercontent.com/JoshData/615aa18cecb8a6596f59/raw/1b43765552862af98cb16d95dd236a81f6c5b464/build_logins.sh
# chmod +x build_logins.sh
#
# Then use this script to create many logins on the system.