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
Last login: Sun Oct 27 01:26:04 on ttys000 | |
You have new mail. | |
~ > curl -I http://pinboard.in/ | |
HTTP/1.1 200 OK | |
Set-Cookie: groznax=pinvisit526ca4dc77f1c; expires=Mon, 28-Oct-2013 05:30:04 GMT | |
Strict-Transport-Security: max-age=1607000; includeSubDomains | |
Vary: Accept-Encoding | |
Content-Type: text/html; charset=utf8 | |
Accept-Ranges: bytes | |
Date: Sun, 27 Oct 2013 05:30:04 GMT |
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
~ > dig pinboard.in | |
; <<>> DiG 9.8.3-P1 <<>> pinboard.in | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27447 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 | |
;; QUESTION SECTION: | |
;pinboard.in. IN A |
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
######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE | |
# | |
# Version 11.0.1 | |
# $Date: 2000/03/02 15:51:11 $ | |
# terminfo syntax | |
# | |
# Eric S. Raymond (current maintainer) | |
# John Kunze, Berkeley | |
# Craig Leres, Berkeley | |
# |
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
;; much stolen from github.com/technomancy/better-defaults | |
(load-theme 'tango-dark) | |
(require 'package) | |
(add-to-list 'package-archives | |
'("marmalade" . "http://marmalade-repo.org/packages/") t) | |
(package-initialize) | |
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
(add-to-list 'load-path "~/.emacs.d") | |
(require 'better-defaults) | |
(require 'ensure-packages) | |
(require 'bindings) | |
(dolist (x '(scheme emacs-lisp lisp clojure)) | |
(when window-system | |
(font-lock-add-keywords |
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
(global-set-key (kbd "M-/") 'hippie-expand) | |
(global-set-key (kbd "C-x C-b") 'ibuffer) | |
(global-set-key (kbd "C-s") 'isearch-forward-regexp) | |
(global-set-key (kbd "C-r") 'isearch-backward-regexp) | |
(global-set-key (kbd "C-M-s") 'isearch-forward) | |
(global-set-key (kbd "C-M-r") 'isearch-backward) | |
(global-set-key (kbd "C-c r") 'replace-string) |
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
(defvar packages | |
'(gist clojure-mode coffee-mode auctex | |
haml-mode haskell-mode inf-ruby | |
magit magithub markdown-mode paredit python | |
sass-mode rainbow-mode scss-mode | |
yaml-mode undo-tree) | |
"Packages that should always be installed.") | |
(dolist (p packages) | |
(when (not (package-installed-p p)) |
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
export PS1="\w ☞ " | |
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
export EDITOR="emacs" | |
alias l="ls -aG" | |
alias ll="ls -alG" | |
alias ..="cd .." | |
alias k="kill" | |
alias e="emacs" |
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
# fix copy-paste in OSX | |
set-option -g default-command "reattach-to-user-namespace -l bash" | |
set -g prefix C-z | |
unbind C-b | |
bind C-z send-prefix | |
set -g status on | |
set -g status-keys emacs | |
set -g status-bg black |
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
import envoy, time, os | |
def main(): | |
old = "" | |
time.sleep(1) | |
while True: | |
new_run = envoy.run("tree -I \"init|*.pyc|*html\" --noreport -L 3 -F") | |
new = new_run.std_out | |
if old != new: | |
envoy.run('clear') |