View collectd.conf
#
# Config file for collectd(1).
# Please read collectd.conf(5) for a list of options.
# http://collectd.org/
#
##################
# Global settings
##################
View install.sh
#!/bin/bash
#install postgis
apt-get install libxml++2.6-dev libgeos-3.3.3 libgeos-dev libgdal-dev gdal-bin libproj-dev binutils
wget http://postgis.refractions.net/download/postgis-2.0.0.tar.gz
tar xfvz postgis-2.0.0.tar.gz
cd postgis-2.0.0
./configure
make
View .vimrc
set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after
set nocompatible
set showmode
set backspace=2
syntax on
set hlsearch "highlight searched things
set incsearch "incremental search
set laststatus=2 "show status line
set ignorecase "ignore case
View intellij.desktop
// create file:
sudo vim /usr/share/applications/intellij.desktop
// add the following
[Desktop Entry]
Version=13.0
Type=Application
Terminal=false
Icon[en_US]=/home/kernelp4nic/Software/idea-IC-145.1617.8/bin/idea.png
Name[en_US]=IntelliJ
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
View core.clj
(ns friendtest.core
(:use midje.sweet
ring.mock.request
compojure.core
friendtest.core
[ring.middleware.session store memory]
[ring.middleware.session.memory :only (memory-store)]
[ring.middleware.session :only (wrap-session)]
[cemerick.friend.util :only (gets)])
(:require [compojure [handler :as handler]]
View Default (OSX).sublime-keymap
[
// Move tabs
//
// {"position": "-1"}, {"position": "+1"}
{"keys": ["alt+1"], "command": "move_tab", "args": {"position": "0"}},
{"keys": ["alt+2"], "command": "move_tab", "args": {"position": "1"}},
{"keys": ["alt+3"], "command": "move_tab", "args": {"position": "2"}},
{"keys": ["alt+4"], "command": "move_tab", "args": {"position": "3"}},
{"keys": ["alt+5"], "command": "move_tab", "args": {"position": "4"}},
{"keys": ["alt+6"], "command": "move_tab", "args": {"position": "5"}},
View Default (OSX).sublime-mousemap
[
// ALT+CLICK -> Go to definition
{
"button": "button1",
"count": 1,
"modifiers": ["alt"],
"press_command": "drag_select",
"command": "goto_definition"
},
View intellij.md
View .ctags
--langdef=Clojure
--langmap=Clojure:.clj.cljs.cljx
--regex-clojure=/\([ \t]*create-ns[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/n,namespace/
--regex-clojure=/\([ \t]*def[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/d,definition/
--regex-clojure=/\([ \t]*defn[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/f,function/
--regex-clojure=/\([ \t]*defn-[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/p,private function/
--regex-clojure=/\([ \t]*defmacro[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/m,macro/
--regex-clojure=/\([ \t]*definline[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/i,inline/
--regex-clojure=/\([ \t]*defmulti[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/a,multimethod definition/
--regex-clojure=/\([ \t]*defmethod[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/b,multimethod instance/