This file contains hidden or 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 <stdlib.h> | |
| #include <string.h> | |
| #include <mecab.h> | |
| #include "erl_driver.h" | |
| #include "ei.h" | |
| #include "erl_interface.h" | |
| #define OP_BEGIN_PARSING 1 | |
| #define OP_GET_VERSION 2 |
This file contains hidden or 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 'optparse' | |
| require 'stringio' | |
| require 'rubygems' | |
| require 'twitter' | |
| module Twsh | |
| class Logout < StandardError; end | |
| class TwshError < StandardError; end | |
| class Shell |
This file contains hidden or 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 escript | |
| %% -*- erlang -*- | |
| main(_) -> | |
| io:format("~p~n", [hex_to_binary("180ff")]), | |
| io:format("~p~n", [integer_to_binary(16#180ff)]). | |
| hex_to_binary(Hex) -> | |
| fold(fun | |
| ([L, U|H]) -> {char_to_integer(U) bsl 4 bor char_to_integer(L), H}; |
This file contains hidden or 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
| -module(twitter_status). | |
| -author("KONDO Takahiro <heartery@gmail.com>"). | |
| -export([hashtags/1]). | |
| -define(ALPHANUMERIC(C), ($a =< C andalso C =< $z orelse | |
| $A =< C andalso C =< $Z orelse | |
| $0 =< C andalso C =< $9)). | |
| -define(HASHTAG_PREFIX(C), (C =:= $# orelse C =:= 65283)). |
This file contains hidden or 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
| -module(twitter.streaming). | |
| -author("KONDO Takahiro <heartery@gmail.com>"). | |
| -export([behaviour_info/1]). | |
| -export([start_link/4, start_link/5, start/4, start/5]). | |
| -export([call/2, call/3, cast/2, reply/2]). | |
| -behaviour(gen_server). | |
| -export([init/1, handle_call/3, handle_cast/2, handle_info/2, | |
| terminate/2, code_change/3]). |
This file contains hidden or 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 ruby | |
| require 'optparse' | |
| radix = 36 | |
| OptionParser.new do |opt| | |
| opt.on('-d') { radix = 10 } | |
| opt.on('-z') { radix = 36 } | |
| opt.on('-r VAL') {|v| radix = Integer v } | |
| opt.parse! ARGV |
This file contains hidden or 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
| VERSION 5.00 | |
| Begin VB.Form frmMain | |
| BorderStyle = 1 '固定(実線) | |
| Caption = "相関係数・回帰直線" | |
| ClientHeight = 6135 | |
| ClientLeft = 45 | |
| ClientTop = 330 | |
| ClientWidth = 4695 | |
| BeginProperty Font | |
| Name = "BDF M+" |
This file contains hidden or 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 'optparse' | |
| require 'open3' | |
| voice = 'bells' | |
| ARGV.options do |opt| | |
| opt.on('-v VAL', '--voice=VAL') {|v| voice = v} | |
| opt.parse! | |
| end |
This file contains hidden or 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
| var unekointhehousenow = function(input) { | |
| var copy = function(source, buffer, pointer) { | |
| for (var i = 0, l = source.length; i < l; ++i) { | |
| buffer[pointer + i] = source[i]; | |
| } | |
| }; | |
| var tokens = input.match(/うーねこいんざおうちなうよー|うーねこ|いんざ|おうち|なうよー/g) || []; | |
| var buffer = [0]; | |
| var pointer = 0; |
This file contains hidden or 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
| slow 遅い | |
| fast 速い | |
| above より上に | |
| below より下に | |
| absolute 絶対的な | |
| relative 相対的な | |
| abstract 抽象的な |
OlderNewer