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 | |
# http://gist.github.com/500229.txt | |
if [ "$TERM" = "linux" ]; then | |
# NOTE: dumpkeys & loadkeys command enable superuser only | |
dumpkeys | sed -e 's/keycode 58 = Caps_Lock/keycode 58 = Control/' | loadkeys | |
# echo 'keycode 58 = Control' | loadkeys | |
else | |
# Make CapsLock an additional Ctrl. | |
setxkbmap -option ctrl:nocaps |
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
;; -*- Mode: Lisp; Syntax: Common-Lisp -*- | |
;;; Package Management | |
(in-package :cl-user) | |
(defpackage :hige | |
(:use :cl | |
:drakma | |
:cl-ppcre) | |
#+ABCL (:shadow :y-or-n-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
;;; -*- mode: emacs-lisp -*- | |
;;; | |
;;; Lisp 関数だけに色付け | |
;;; http://www.bookshelf.jp/cgi-bin/goto.cgi?file=meadow&node=font-lock-func | |
;;; Usage: | |
;; (require 'elisp-font-lock) | |
;;; Code: |