Skip to content

Instantly share code, notes, and snippets.

View Gronghon's full-sized avatar
😕
I may be slow to respond.

Gronghon

😕
I may be slow to respond.
  • 08:23 (UTC +01:00)
View GitHub Profile
@Gronghon
Gronghon / Preferences.sublime-settings
Last active October 1, 2015 06:07
sublime text 2
{
"auto_complete_delay": 1000,
"auto_indent": true,
"caret_style": "smooth",
"color_scheme": "Packages/Phix Mod Color Scheme/Phix Dark.tmTheme",
"detect_indentation": true,
"detect_slow_plugins": false,
"font_face": "consolas",
"font_size": 9.0,
"highlight_line": true,
@Gronghon
Gronghon / rbenv-install-system-wide.sh
Created December 3, 2012 21:16 — forked from v1nc3ntlaw/rbenv-install-system-wide.sh
rbenv install ruby 1.9.3-p194 on Debian 6 Squeeze
# Update, upgrade and install development tools:
apt-get update
apt-get -y upgrade
apt-get -y install build-essential git-core curl libssl-dev \
libreadline5 libreadline5-dev \
zlib1g zlib1g-dev \
libmysqlclient-dev \
libcurl4-openssl-dev \
libxslt-dev libxml2-dev
@Gronghon
Gronghon / gist:4207584
Created December 4, 2012 19:07
Config static ip on debian 6
vim /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.200
gateway 192.168.0.1
netmask 255.255.255.0
broatcast 192.168.0.255
network 192.168.0.0
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
let g:pathogen_disabled = ['vim-fuzzyfinder', 'vim-tabbar', 'vim-neocomplcache', 'vim-phpfolding', 'vim-neocomplcache', 'vim-neocomplcache-snippets-complete', 'vim-minibufexpl']
"let g:pathogen_disabled = ['vim-fuzzyfinder', 'vim-tabbar', 'vim-minibufexpl']
call pathogen#infect()
call pathogen#helptags()
# http://www.vxnick.com/blog/2012/04/setting-up-rbenv-globally/
#### begin rbenv configuration ####
## Remove these lines if you wish to use your own
## clone of rbenv (with your own rubies)
export RBENV_ROOT=/usr/local/rbenv
export PATH="$RBENV_ROOT/bin:$PATH"
eval "$(rbenv init -)"

Backend Architectures

ARCHITECTURES

ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats

@Gronghon
Gronghon / .vimrc
Last active December 19, 2015 14:29
my default .vimrc
set enc=utf-8
setglobal fileencoding=utf-8
set encoding=utf-8
set t_Co=256
set showmatch " show matching bracket (briefly jump)
set showmode " show mode in status bar (insert/replace/...)
set showcmd " show typed command in status bar
set ruler " show cursor position in status bar
@Gronghon
Gronghon / mariaDB 5.5 configuration file
Last active December 19, 2015 15:38
mariaDB 5.5 configuration file
[...]
#
# * Fine Tuning
#
max_connections = 100
connect_timeout = 5
wait_timeout = 600
max_allowed_packet = 16M
thread_cache_size = 128
user www-data;
worker_processes 2;
pid /run/nginx.pid;
events {
worker_connections 768;
multi_accept on;
}
http {