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
#include <stdio.h> | |
#include <string> | |
#include <vector> | |
#include <stack> | |
#include <windows.h> // PE関連の構造体のため | |
int addr_putchar = 0x00405044; | |
int addr_getchar = addr_putchar + 4; | |
int addr_buf = 0x00406000; |
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 'tempfile' | |
def tempwrite | |
f = Tempfile.new('temp') | |
f.puts 'nihanihanihanihatorigairu' | |
f.close | |
return f | |
end | |
temp = tempwrite |
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
class TapTree | |
module Adapter | |
def taptree(n = nil, filter = nil) | |
tap{|x| TapTree.new(x, filter).display(n) } | |
end | |
end | |
IGNORE = [TapTree::Adapter] | |
COLS = 100 | |
def initialize(obj, filter_re = nil) |
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
@mixin all-reset { | |
azimuth: center; | |
background: #fff; | |
border: none; | |
bottom: auto; | |
caption-side: top; | |
clear: none; | |
clip: auto; | |
color: #000; | |
content: ''; |
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
*markdown-cheat-sheet.jax* Markdown カンニングペーパー | |
作者: Kyo Nagashima <[email protected]> | |
バージョン: 0.04 | |
説明: Markdown 記法のカンニングペーパーです。 | |
1. 記法の例 |markdown-cheat-sheet-examples| | |
1.1 段落 |markdown-cheat-sheet-paragraph| | |
1.2 改行 |markdown-cheat-sheet-linebreak| | |
1.3 テキストの強調 |markdown-cheat-sheet-emphasis| |
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
i686-w64-mingw32-gcc は、cygwin付属のcygwin.dllに依存しないgcc4です。 | |
% cd ~/work/rroonga/vendor/groonga-1.0.4 | |
% ./configure CC='i686-w64-mingw32-gcc' CFLAGS='-g -O0 -mno-cygwin' prefix='/c/users/ongaeshi/work/rroonga/vendor/local' i386-pc-mingw32 | |
% make | |
. | |
. | |
. | |
. | |
Making all in src |
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
# ---------------------------------------- | |
# コマンドエイリアス | |
# --------------------------------------- | |
#PS1='<\w>' | |
#PS1='% ' | |
PS1='$ ' | |
# ---------------------------------------- | |
# ヒストリ設定 | |
# --------------------------------------- |
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
;;; 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で設定されているフォントを試すことが出来ます | |
;; |
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
;;; color-setting.el | |
;; | |
;; (require 'color-setting) | |
; フェイスカスタマイズのために先行して読み込む必要があるもの | |
(require 'dired) | |
(require 'compile) | |
;;; font-lock-modeを有効に | |
(global-font-lock-mode t) |
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 | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(require 'anything-startup) | |
; anything-for-filesの内容をカスタマイズ、anything-c-source-locateを除外 | |
(setq anything-for-files-prefered-list | |
'(anything-c-source-ffap-line | |
anything-c-source-ffap-guesser | |
anything-c-source-buffers+ |
OlderNewer