Skip to content

Instantly share code, notes, and snippets.

View Theofilos-Chamalis's full-sized avatar
:electron:
Focusing

Theofilos Chamalis Theofilos-Chamalis

:electron:
Focusing
View GitHub Profile
@bradtraversy
bradtraversy / mern-server-setup.md
Last active April 17, 2025 05:39
Setup Ubuntu & Deploy MERN app

Linux Server Setup & MERN App Deployment

These are the steps to setup an Ubuntu server from scratch and deploy a MERN app with the PM2 process manager and Nginx. We are using Linode, but you could just as well use a different cloud provider or your own machine or VM.

Create an account at Linode

Click on Create Linode

Choose your server options (OS, region, etc)

SSH Keys

@noseratio
noseratio / remove-unwanted-windows11-apps.ps1
Last active January 19, 2025 13:20
Windows 11 autorun resident apps that I have to remove manually
# Teams 2.0 (no work account support yet)
winget uninstall MicrosoftTeams_8wekyb3d8bbwe
# Your Phone
winget uninstall Microsoft.YourPhone_8wekyb3d8bbwe
# Widgets (Web Experience Pack)
winget uninstall MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
# Cortana
@mooreniemi
mooreniemi / hangman
Created October 23, 2012 01:14
600x
def hangman(secretWord):
'''
secretWord: string, the secret word to guess.
Starts up an interactive game of Hangman.
* At the start of the game, let the user know how many
letters the secretWord contains.
* Ask the user to supply one guess (i.e. letter) per round.