-
名前
- Ro Zouhin
-
Twitter
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
;;; minimial-cedet-config.el --- Working configuration for CEDET from bzr | |
;; Copyright (C) Alex Ott | |
;; | |
;; Author: Alex Ott <alexott@gmail.com> | |
;; Keywords: cedet, C++, Java | |
;; Requirements: CEDET from bzr (http://cedet.sourceforge.net/bzr-repo.shtml) | |
;; Do checkout of fresh CEDET, and use this config (don't forget to change path below) |
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
;;; anything-gist.el --- anything-sources and some utilities for gist. | |
;; Filename: auto-complete-acr.el | |
;; Description: Anything extension for gist | |
;; Author: myuhe <yuhei.maeda_at_gmail.com> | |
;; Maintainer: myuhe, tlync<takuya.fujimura_at_gmail.com> | |
;; Copyright (C) 2009, 2010, myuhe , all rights reserved. | |
;; Created: 2009-04-13 | |
;; Version: 0.7 | |
;; Keywords: convenience, anything, git, gist |
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 | |
VALUE_ICON=`cygpath -d "$HOME/pict/terminal.png"` | |
VALUE_TITLE="terminal" | |
VALUE_MESSAGE="Ha!!" | |
while getopts hi:t:m: OPT | |
do | |
case $OPT in |
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
;;-------------------------------------------------------------------------- | |
;; smartrep | |
;;-------------------------------------------------------------------------- | |
(require 'smartrep) | |
;;-------------------------------------------------------------------------- | |
;; smartrep viewer | |
;;-------------------------------------------------------------------------- | |
; プレフィックスキーの設定 |
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 | |
current=`grep "remaining" /proc/acpi/battery/*/state | sed 's/[a-zA-Z: ]//g'` | |
total=`grep "design capacity:" /proc/acpi/battery/*/info | sed 's/[a-zA-Z: ]//g'` | |
rate=`grep "present rate:" /proc/acpi/battery/*/state | sed 's/[a-zA-Z: ]//g'` | |
charging=`grep "charging state:" /proc/acpi/battery/*/state | sed 's/[a-zA-Z ]*:[ ]*//g'` | |
if [ $rate -eq 0 ]; then | |
echo $charging | |
exit 0 |
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
require 'formula' | |
class Emacs < Formula | |
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.3a.tar.bz2' | |
md5 'f2cf8dc6f28f8ae59bc695b4ddda339c' | |
homepage 'http://www.gnu.org/software/emacs/' | |
if ARGV.include? "--use-git-head" | |
head 'git://repo.or.cz/emacs.git' | |
else |
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
;;; clipboard-to-kill-ring.el | |
;;; * 概要 | |
;;; OS Xのクリップボードを定期的に監視してkill-ringに入れます | |
;;; deferred.elが必要です | |
;;; | |
;;; * 使い方 | |
;;; (clipboard-to-kill-ring t) | |
;;; で監視を始めます | |
;;; clipboard-to-kill-ring:interval を設定するとポーリングの間隔を変えられます. |