Skip to content

Instantly share code, notes, and snippets.

@alanbixby
alanbixby / .md
Created March 12, 2022 23:40
Retrieving your .ROBLOSECURITY cookie on a headless VPS (SSH Tunneling)

How to retrieve a .ROBLOSECURITY cookie on a headless VPS:

⚠️ You must have a static IP on a dedicated VPS that you can SSH into; free hosts like repl.it and glitch are not compatible.

Adapted from a DigitalOcean tutorial.


Step 0) Make sure you are signed out of the target account, and have SSH access to your VPS.

@alanbixby
alanbixby / vscode-g7-installer.sh
Created October 29, 2021 16:52
Installing Visual Studio Code in G7 without sudo access:
#!/usr/bin/env bash
# Created by Alan Bixby (10/29/2021)
# Installs a portable version of Visual Studio code in "$/HOME/.bin", since students lack write access to /usr/bin or sudo access to use the get-apt installer.
# TODO: Tested to be functional, but I still need to add functionality to prevent running on an invalid OS, or from attempting to run it multiple times (after it previously working).
SAVE_DIR=".bin"
mkdir $HOME/$SAVE_DIR
wget -O "$HOME/$SAVE_DIR/VSCode-linux-x64.tar.gz" "https://code.visualstudio.com/sha/download?build=stable&os=linux-x64"