Skip to content

Instantly share code, notes, and snippets.

@ongaeshi
ongaeshi / config.log
Created January 4, 2011 13:19
OSXでrroonga-1.0.8のコンパイルに失敗する
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by groonga configure 1.0.4, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ ./configure CFLAGS=-g -O0 --prefix=/opt/local/lib/ruby/gems/1.8/gems/rroonga-1.0.8/vendor/local
## --------- ##
## Platform. ##
@ongaeshi
ongaeshi / notify.js
Created January 8, 2011 16:52
firefox4 debug display. (Log and Growl)
//
// @file
// @brief firefox4 debug display. (Log and Growl)
// @author ongaeshi
// @date 2011/01/09
//
// ---------------------------------
// @sample
//
// var notify = require("notify");
@ongaeshi
ongaeshi / csharp-setting.el
Created January 12, 2011 06:31
csharp-modeのインデントをVisualStudioに近づける設定
;;--------------------------------------------------------------------------
;; csharp-mode
;; (install-elisp-from-emacswiki "csharp-mode.el")
;;--------------------------------------------------------------------------
(require 'csharp-mode)
;; Cモード共通フック
(add-hook 'csharp-mode-hook
'(lambda()
(setq comment-column 40)
@ongaeshi
ongaeshi / .bashrc
Created January 12, 2011 08:55
my .bashrc setting.
# ----------------------------------------
# コマンドエイリアス
# ---------------------------------------
#PS1='<\w>'
#PS1='% '
PS1='$ '
# ----------------------------------------
# ヒストリ設定
# ---------------------------------------
@ongaeshi
ongaeshi / .emacs
Created January 14, 2011 08:37
Meadowでterm-modeにチャレンジの足跡
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; shell
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; パスの設定
;; より下に記述した物が PATH の先頭に追加されます
(dolist (dir (list
"/sbin"
"/usr/sbin"
@ongaeshi
ongaeshi / font-settting.el
Created January 18, 2011 01:13
フォント設定
;;; font-setting.el
;;
;; 参考にしたページ
;;
;; フォントの設定 - Meadow - Trac
;; http://www.meadowy.org/meadow/wiki/%E3%83%95%E3%82%A9%E3%83%B3%E3%83%88%E3%81%AE%E8%A8%AD%E5%AE%9A
;;
;; 試し方
;; [Options] -> Set Font/Font Setで設定されているフォントを試すことが出来ます
;;
@ongaeshi
ongaeshi / ireplace-query-replace-interactive.el
Created January 18, 2011 05:10
置換時にインクリメンタルサーチからはじめ、そのまま置換する
;;--------------------------------------------------------------------------
;; 置換時にインクリメンタルサーチからはじめ、そのまま置換する
;;
;; EmacsWiki: Incremental Search And Replace
;; http://www.emacswiki.org/emacs/IncrementalSearchAndReplace
;;-------------------------------------------------------------------------
(defvar ireplace-isearch-mode-map
(let ((map (make-sparse-keymap)))
;; Maintain any customizations to isearch-mode-map.
(set-keymap-parent map isearch-mode-map)
@ongaeshi
ongaeshi / sample.html
Created February 8, 2011 15:22
Google Analytics
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
;;; color-setting.el
;;
;; (require 'color-setting)
; フェイスカスタマイズのために先行して読み込む必要があるもの
(require 'dired)
(require 'compile)
;;; font-lock-modeを有効に
(global-font-lock-mode t)
@ongaeshi
ongaeshi / gist:826936
Created February 15, 2011 01:30
groonga-1.1.0をWindowsでビルドする時のconfigure設定
----
今の設定
$ cd vendor/groonga-1.1.0
$ ./configure CC='i686-w64-mingw32-gcc' CFLAGS='-g -O0 -mno-cygwin' prefix='/c/users/ongaeshi/work/rroonga/vendor/local' i386-pc-mingw32
----
を、これに直すということで意図とあってますか?(ongaeshi)
$ cd vendor/groonga-1.1.0