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
miquire :mui, 'timeline' | |
Plugin::create(:search_streaming) do | |
@main = Gtk::TimeLine.new() | |
@main.force_retrieve_in_reply_to = false | |
@querybox = Gtk::Entry.new | |
@querycount = Gtk::VBox.new(false,0) | |
@searchbtn = Gtk::Button.new('検索') | |
# savebtn = Gtk::Bu | |
@queue_parse = SizedQueue.new(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
*** wscript.org 2011-11-07 20:52:47.000000000 +0900 | |
--- wscript 2011-11-07 20:50:22.000000000 +0900 | |
*************** def options(opt): | |
*** 19,24 **** | |
--- 19,25 ---- | |
def configure(conf): | |
conf.env.CXXFLAGS += ['-O2', '-Wall', '-g', '-pipe'] | |
+ conf.env.LINKFLAGS += ['-flat_namespace'] | |
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 Jubatus < Formula | |
url 'https://github.com/downloads/jubatus/jubatus/jubatus-0.1.0.tar.bz2' | |
homepage 'http://jubat.us/' | |
md5 '79b6cf2ee5fc7f733fcd6f5cc5f7ec62' | |
depends_on 'glog' | |
depends_on 'pkg-config' | |
depends_on 'pficommon' |
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 Pficommon < Formula | |
head 'https://github.com/pfi/pficommon.git' | |
homepage '' | |
md5 '' | |
depends_on 'msgpack' | |
def install |
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 JubatusPythonClient < Formula | |
head 'https://github.com/jubatus/jubatus-python-client.git' | |
homepage '' | |
md5 '' | |
depends_on 'jubatus' | |
def install |
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
source :rubygems | |
platforms :ruby_19 do | |
gem 'gtk2' | |
gem 'oauth' | |
gem 'json_pure' | |
gem 'ruby-hmac' | |
gem 'httpclient' | |
gem 'bsearch', '1.5' | |
gem 'addressable' | |
gem 'memoize' |
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
Plugin.create(:laputa) do | |
filter_command{|menu| | |
menu[:bars] = { | |
:slug => :bars, | |
:name => 'バルス', | |
:condition => lambda{|m| m.message.repliable?}, | |
:exec => lambda{|m| bars}, | |
:visible => true, | |
:role => :message | |
} |
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
int beatPin = 3; | |
int baudRate = 9600; | |
int ledPin[] = {6,7,8,9,10,11,12,13}; | |
void ledOn(int num){ | |
for(int i = 0; i < 8; i++){ | |
if(bitRead(num,i)==1){ | |
digitalWrite(ledPin[i], HIGH); | |
} | |
} |
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
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jan 19 2012 08:57:12) | |
適用済パッチ: 1-121 | |
Compiled by katsu@tuba.ds.cs.toyo.ac.jp | |
Big 版 with GTK2 GUI. 機能の一覧 有効(+)/無効(-) | |
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent | |
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments | |
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff | |
+digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi | |
+file_in_path +find_in_path +float +folding -footer +fork() +gettext | |
-hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall |
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
# -*- coding: utf-8 -*- | |
# mikutter plugin, 日本語のみ対応。右クリックからあえがせることができます。セクハラ注意 | |
# license: MIT | |
# Author: @tomy_kaira | |
Plugin::create(:aegu) do | |
def aegi(str) | |
split_jp(str).map{ |c| | |
next c if c.match(/\s+/) || rand(10) < 2 |
OlderNewer