Skip to content

Instantly share code, notes, and snippets.

View july-12's full-sized avatar
💭
I may be slow to respond.

Faith july-12

💭
I may be slow to respond.
View GitHub Profile
@july-12
july-12 / .gitignore
Created September 19, 2018 02:20 — forked from ericelliott/.gitignore
Sample Node project .gitignore
node_modules
build
npm-debug.log
.env
.DS_Store
apt-get update
apt-get install -y
## Add this to ~/.bashrc to remove timezone warnings
export LC_ALL="en_US.UTF-8"
source ~/.bashrc
upstream backend {
server localhost:5000;
}
server {
listen 80;
listen [::]:80;
root /var/www/client/build;
index index.html index.htm index.nginx-debian.html;
@july-12
july-12 / server.conf
Created December 8, 2016 06:29 — forked from nkt/server.conf
Nginx configuration for separated frontend and backend endpoints
upstream example-webpack {
server 127.0.0.1:8080;
}
upstream example-backend {
server 127.0.0.1:3000;
}
server {
listen 80;
@july-12
july-12 / gitconfig
Created December 23, 2013 09:01
git config
[user]
name = Tanyb
email = [email protected]
[core]
editor = vim
[alias]
ci = commit -a -v
co = checkout
st = status
br = branch
# As root user
sudo su
# Update the OS
apt-get update -y
# Add this to ~/.bashrc to remove timezone warnings
export LC_ALL="en_US.UTF-8"
source ~/.bashrc