Skip to content

Instantly share code, notes, and snippets.

View salmanfakhri's full-sized avatar

Salman Fakhri salmanfakhri

View GitHub Profile
@joshuagruenstein
joshuagruenstein / satChecker.py
Created January 22, 2016 02:16
A python notifier for SAT cancellations.
import requests
from BeautifulSoup import BeautifulSoup
import time
from Foundation import NSUserNotification
from Foundation import NSUserNotificationCenter
from Foundation import NSUserNotificationDefaultSoundName
from optparse import OptionParser
def notify(school):
@soheilhy
soheilhy / nginxproxy.md
Last active May 16, 2024 08:59
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