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
TARGET = target | |
SOURCES = main.cpp | |
CXX = g++ | |
CXXFLAGS = -O3 -Wall -W | |
LDFLAGS = | |
INCLUDES = | |
LIBS = | |
OBJECTS = $(SOURCES:.cpp=.o) | |
LFLAG = |
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
def exstractFeature1(text): | |
return [len(text)] | |
class HasChar(object): | |
def __init__(self, ch): | |
self.ch = ch | |
def __call__(self, text): | |
return [0 if text.find(self.ch)<0 else 1] | |
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 | |
MASTER=${1:-"master"} | |
WORKING_BRANCH=`git branch -l | grep "*" | cut -d " " -f 2` | |
git rebase $MASTER && git checkout $MASTER && git reset --hard $WORKING_BRANCH && git branch -D $WORKING_BRANCH |
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
LATEX = platex | |
TETEX2_ENABLED = false | |
LATEXFLAGS = -kanji=utf-8 | |
DVIPDFMFLAGS = -p a4 | |
BIBTEX = pbibtex | |
BIBTEXFLAGS = -kanji=utf-8 | |
# 参考文献(.bib)とか分割したTeXファイルとか | |
TEXDEPS[] = | |
articles.bib |
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
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
def grid(w, h): | |
edge = [] | |
for i in range(h): | |
for j in range(w): | |
edge.append( ((i,j), (i,j+1)) ) | |
edge.append( ((i,j), (i+1,j)) ) | |
edge.append( ((i,w), (i+1,w)) ) |
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
[12/09/06 17:40:07] くいなちゃん: くいなちゃん が新規ピクチャを設定しました | |
[12/09/06 17:46:37] くいなちゃん: くいなちゃん が新規ピクチャを設定しました | |
[12/09/06 17:49:33] くいなちゃん: 6さいカンファレンス #6saiconf 第1回 「C言語で作る、はじめてのDAWソフト制作」 2012/09/06(木) 21:00~23:00 | |
[12/09/06 20:28:24] くいなちゃん: 開始まで少々お待ちください。 | |
[12/09/06 20:28:30] くいなちゃん が shindex00 を会話に追加しました | |
[12/09/06 20:28:33] くいなちゃん が cllightz を会話に追加しました | |
[12/09/06 20:28:36] くいなちゃん が minto-ziru を会話に追加しました | |
[12/09/06 20:28:37] くいなちゃん が kurisaka_konabe を会話に追加しました | |
[12/09/06 20:28:39] くいなちゃん が tsukiyo_rosette を会話に追加しました | |
[12/09/06 20:28:41] くいなちゃん が saga_tokiha を会話に追加しました |
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
[12/09/13 20:32:38] くいなちゃん が 風兎 を会話に追加しました | |
[12/09/13 20:32:41] くいなちゃん が cat_mask を会話に追加しました | |
[12/09/13 20:32:43] くいなちゃん が shindex00 を会話に追加しました | |
[12/09/13 20:32:52] くいなちゃん が minto-ziru を会話に追加しました | |
[12/09/13 20:32:54] くいなちゃん が moriken-www を会話に追加しました | |
[12/09/13 20:32:57] くいなちゃん が saga_tokiha を会話に追加しました | |
[12/09/13 20:32:58] くいなちゃん が daisukeegg を会話に追加しました | |
[12/09/13 20:33:05] くいなちゃん が i6snld を会話に追加しました | |
[12/09/13 20:33:06] くいなちゃん が nonamea774 を会話に追加しました | |
[12/09/13 20:33:10] くいなちゃん が machiningcenter を会話に追加しました |
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
[12/09/20 20:11:44] くいなちゃん: くいなちゃん が新規ピクチャを設定しました | |
[12/09/20 20:27:37] くいなちゃん が tooms32 を会話に追加しました | |
[12/09/20 20:27:39] くいなちゃん が cat_mask を会話に追加しました | |
[12/09/20 20:27:41] くいなちゃん が shindex00 を会話に追加しました | |
[12/09/20 20:27:43] くいなちゃん が minto-ziru を会話に追加しました | |
[12/09/20 20:27:45] くいなちゃん が moriken-www を会話に追加しました | |
[12/09/20 20:27:47] くいなちゃん が kurisaka_konabe を会話に追加しました | |
[12/09/20 20:27:49] くいなちゃん が tsukiyo_rosette を会話に追加しました | |
[12/09/20 20:27:50] くいなちゃん が daisukeegg を会話に追加しました | |
[12/09/20 20:27:52] くいなちゃん が basshi-13 を会話に追加しました |
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
function base64(input) { | |
var i, length = input.length; | |
var x, y, z; | |
var s = ''; | |
var table = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; | |
for(i = 0; i < length; i += 3) { | |
x = input[i]; | |
y = i + 1 < length ? input[i+1] : 0; | |
z = i + 2 < length ? input[i+2] : 0; | |
s += table.charAt(x >> 2) + |
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
[12/10/04 20:12:56] くいなちゃん: くいなちゃん が新規ピクチャを設定しました | |
[12/10/04 20:13:33] くいなちゃん が cllightz を会話に追加しました | |
[12/10/04 20:13:35] くいなちゃん が 名無しの人A(のな) を会話に追加しました | |
[12/10/04 20:13:37] くいなちゃん が 風兎 を会話に追加しました | |
[12/10/04 20:13:39] くいなちゃん が shindex00 を会話に追加しました | |
[12/10/04 20:13:41] くいなちゃん が syaukkaii を会話に追加しました | |
[12/10/04 20:13:44] くいなちゃん が minto-ziru を会話に追加しました | |
[12/10/04 20:13:46] くいなちゃん が 神無奏龍 を会話に追加しました | |
[12/10/04 20:13:48] くいなちゃん が moriken-www を会話に追加しました | |
[12/10/04 20:13:50] くいなちゃん が saga_tokiha を会話に追加しました |