Skip to content

Instantly share code, notes, and snippets.

View JunkOSGitHub's full-sized avatar

Junk OS JunkOSGitHub

  • Junk OS Corporation
  • San Francisco
View GitHub Profile
@JunkOSGitHub
JunkOSGitHub / git-create
Created January 19, 2016 15:49
Git command to create a new repo on GitHub
#!/bin/bash
#
# Create a repo on github
#
repo_name=$1
dir_name=`basename $(pwd)`
if [ "$repo_name" = "" ]; then
@JunkOSGitHub
JunkOSGitHub / nginx.symfony
Last active January 6, 2016 09:54
nginx + Symfony2 = <3
server {
listen 80;
root PATH_TO_PROJECT/web/;
server_name symfony.junk.os;
index index.html index.htm index.nginx-debian.html index.php;
access_log /var/log/nginx/default-access_log;
error_log /var/log/nginx/default-error_log;