One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
" My default vimrc inspaired by KHZ ( https : //github.com/emoosx/dotvim ) && by Frew (http : //stackoverflow.com/users/12448/frew) via http : //stackoverflow.com/q/164847/216055 | |
set encoding=utf-8 | |
let &t_Co=256 | |
" And Thanks to @ChrisHunt for his awesome tal | |
" Configuration file for vim | |
" Pathogen | |
execute pathogen#infect() | |
" Vundle |
root = "/vagrant/current" | |
working_directory root | |
pid "#{root}/tmp/pids/unicorn.pid" | |
stderr_path "#{root}/log/unicorn.log" | |
stdout_path "#{root}/log/unicorn.log" | |
listen "/tmp/unicorn.projectname.sock" | |
worker_processes 2 | |
timeout 30 |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: unicorn | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Manage unicorn server | |
# Description: Start, stop, restart unicorn server for a specific application. | |
### END INIT INFO |
upstream unicorn { | |
server unix:/tmp/unicorn.projectname.sock fail_timeout=0; | |
} | |
server { | |
listen 80 default_server deferred; | |
# server_name example.com; | |
root /home/username/apps/projectname/current/public; | |
location ^~ /assets/ { |
#!/usr/bin | |
# Lets get started | |
sudo apt-get update | |
# Install Vi Improved | |
sudo apt-get install vim | |
# Get the NeoBundle to the house | |
curl https://raw.githubusercontent.com/Shougo/neobundle.vim/master/bin/install.sh | sh |
#include <stdio.h> | |
#include <assert.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <string.h> | |
#define MAX_DATA 512 | |
#define MAX_ROWS 100 | |
struct Address { |
// righthand toggle | |
bind l "toggle cl_righthand 0 1" | |
// Rates | |
rate "786432" // max rate, lower if having network issues | |
cl_cmdrate "128" | |
cl_updaterate "128" | |
cl_interp "0.0" | |
cl_interp_ratio "1" | |
cl_interpolate "1" |
sudo apt-get update sudo apt-get install docker.io sudo systemctl enable docker sudo systemctl start docker curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main" sudo apt update sudo apt-get install kubeadm kubelet kubectl
http { | |
log_format bodylog '$remote_addr - $remote_user [$time_local] ' | |
'"$request" $status $body_bytes_sent ' | |
'"$http_referer" "$http_user_agent" $request_time ' | |
'<"$request_body" >"$resp_body"'; | |
lua_need_request_body on; | |
set $resp_body ""; | |
body_filter_by_lua ' |