- Multiple cursors (or carets)
- Move caret to next blank line (coming)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Shell script to install your public key on a remote machine | |
# Takes the remote machine name as an argument. | |
# Obviously, the remote machine must accept password authentication, | |
# or one of the other keys in your ssh-agent, for this to work. | |
# | |
# http://www.devthought.com/2009/09/19/get-ssh-copy-id-in-mac-os-x/ | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/apt/sources.list | |
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free | |
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free | |
deb http://security.debian.org/ squeeze/updates main contrib non-free | |
deb-src http://security.debian.org/ squeeze/updates main contrib non-free | |
# squeeze-updates, previously known as 'volatile' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
// 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"}}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
// ALT+CLICK -> Go to definition | |
{ | |
"button": "button1", | |
"count": 1, | |
"modifiers": ["alt"], | |
"press_command": "drag_select", | |
"command": "goto_definition" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; User behaviors | |
;; ----------------------------- | |
;; Behaviors are stored as a set of diffs that are merged together | |
;; to create the final set of functionality that makes up Light Table. You can | |
;; modify these diffs to either add or subtract functionality. | |
;; | |
;; Behaviors are added to tags, objects with those tags then automatically gain | |
;; whatever logic the behavior imparts. To see a list of user-level behaviors, | |
;; start typing a word related to the functionality you want in between the square | |
;; brackets (e.g. "theme"). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"button": "button1", | |
"count": 1, | |
"modifiers": ["super"], | |
"press_command": "drag_select", | |
"command": "goto_definition" | |
} | |
] |