Skip to content

Instantly share code, notes, and snippets.

View nakaz's full-sized avatar

Sean Nakamura nakaz

  • PNW
View GitHub Profile
@simplesessions
simplesessions / wordpress-ubuntu_1604-nginx_mainline.sh
Last active March 15, 2018 18:50
Install PHP7 FPM, nginx mainline, mariaDB, iptables, Wordpress, WP-CLI
#### BEFORE USING THIS, CHANGE ALL THE VALUES BETWEEN DOUBLE-SQUARE-BRACKETS ####
# SEE THE END OF THIS FOR REFERENCES
# YOU SHOULD BE ABLE TO COPY AND PASTE THE FOLLOWING LINES,
# BUT CHUNK IT OUT BY THE # ===== separators
# PERFORM AS ROOT UNLESS OTHERWISE SPECIFIED
# ===== BEGIN INITIAL SETUP
@mvaneijgen
mvaneijgen / material-theme.terminal
Created June 15, 2015 20:27
material-theme.terminal
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGKSpYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKcHCBMXGyImVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NPECgwLjAyNzQ1MTAw
NjcgMC4yMTE3NjQ3MjMxIDAuMjU4ODIzNDg0MiAxTxAoMC4wMzkzODA3NDc4MiAwLjE2
@soheilhy
soheilhy / nginxproxy.md
Last active July 5, 2025 15:29
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

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active January 8, 2026 08:48
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname