Skip to content

Instantly share code, notes, and snippets.

View RrNn's full-sized avatar
🏠
Working from home

Richard Nabaasa RrNn

🏠
Working from home
View GitHub Profile
@RrNn
RrNn / nginxproxy.md
Created February 13, 2022 03:35 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

### Keybase proof
I hereby claim:
* I am rrnn on github.
* I am nabaasa (https://keybase.io/nabaasa) on keybase.
* I have a public key ASA_hmbyJhujW6WBbkGHTe9PVVwHo2DkUh0ysOYYZoXb7Qo
To claim this, I am signing this object:
@RrNn
RrNn / rm_mysql.md
Created October 22, 2019 21:06 — forked from vitorbritto/rm_mysql.md
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

brew remove mysql

@RrNn
RrNn / README.md
Created August 9, 2019 19:43 — forked from mayank23/README.md
Jest Mock Any Property on Window Utility - with automatic cleanup

Jest Mock Any Property on Window Utility - with automatic cleanup.