Skip to content

Instantly share code, notes, and snippets.

@poc7667
poc7667 / Mysql_cheatsheet
Last active June 24, 2016 20:30 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
MySQL
===============
Getting started:
- http://www.sqlteaching.com/
- https://www.codecademy.com/courses/learn-sql
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
@poc7667
poc7667 / MB puma + Nginx settings
Last active August 29, 2015 14:25 — forked from Epigene/MB puma + Nginx settings
MB puma + Nginx settings
# /config/puma.rb
app = "manabalss" # App-specific
root = "/home/deployer/apps/#{app}"
workers 5
threads 1, 1 # relying on many workers for thread-unsafe apps
rackup DefaultRackup
port 11592
layout post
title How to setup Rails app with puma and NGINX
date 2013-03-16 17:51
comments true
categories
tags nginx, capistrano, deployment, rails, ruby, puma
author Trung Lê

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@poc7667
poc7667 / .vimrc
Last active August 29, 2015 14:22 — forked from napcs/.vimrc
" This is the main file that loads up the other configuration files.
if has('win32') || has ('win64')
let $VIMHOME = $HOME."/vimfiles"
else
let $VIMHOME = $HOME."/.vim"
endif
source $VIMHOME/vundle
source $VIMHOME/vimrc_main