Skip to content

Instantly share code, notes, and snippets.

View Domonlee's full-sized avatar
📶
Nothing but handsome

Dennis Li Domonlee

📶
Nothing but handsome
View GitHub Profile
@247software-sanket-gandhi
247software-sanket-gandhi / php-nginx.md
Last active August 3, 2024 07:17
Ubuntu 18.04 - Install PHP 7.2, PHP-FPM 7.2, Nginx

Install NGINX

# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common

# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable

# Update packages after adding ppa
@paraya3636
paraya3636 / KotlinAndroidMainApplication
Last active July 20, 2024 03:28
Kotlin Android MainApplication class for global applicationContext.
// Not object class. AndroidManifest.xml error happen.
class MainApplication : Application() {
init {
instance = this
}
companion object {
private var instance: MainApplication? = null
@evildmp
evildmp / gist:3094281
Last active June 30, 2023 10:55
Set up Django, nginx and uwsgi

This document has now been incorporated into the uWSGI documentation:

http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html

Set up Django, nginx and uwsgi

Steps with explanations to set up a server using: