This file contains hidden or 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
(require 'w3m-search) | |
(eval-after-load "w3m-search" | |
'(progn | |
(add-to-list 'w3m-search-engine-alist | |
'("quote" | |
"http://finance.google.com/finance?q=%s" | |
nil)) | |
(add-to-list 'w3m-search-engine-alist | |
'("ports" | |
"http://www.freebsd.org/cgi/ports.cgi?query=%s" |
This file contains hidden or 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 XMonad | |
import qualified XMonad.StackSet as SS | |
import qualified XMonad.Layout as L | |
import qualified XMonad.Util.CustomKeys as C | |
import qualified XMonad.Actions.Warp as W | |
import qualified Data.Map as M | |
main :: IO () | |
main = xmonad $ defaultConfig | |
{ borderWidth = 0 |
This file contains hidden or 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
;; ------------------------------------------------------------- | |
(defun run-at-home () | |
(interactive) | |
(string-match "192" (shell-command-to-string | |
"/sbin/ifconfig -a|awk '/inet /'"))) | |
(defun run-on-inside () | |
(interactive) |
NewerOlder