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
// ==UserScript== | |
// @name Keyboard Shortcut for Google Reader with G+ | |
// @version v1.2 (2011/11/29) | |
// @namespace hecomi | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js | |
// @include http*://www.google.*/reader/* | |
// @include http*://plusone.google.com/* | |
// ==/UserScript== | |
(function(){ |
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 <iostream> | |
#include <string> | |
#include <boost/spirit/include/qi.hpp> | |
#include <boost/spirit/include/phoenix.hpp> | |
#include <boost/spirit/include/phoenix_stl.hpp> |
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 <iostream> | |
#include <string> | |
#include <boost/spirit/include/qi.hpp> | |
#include <boost/spirit/include/phoenix.hpp> | |
#include <boost/spirit/include/phoenix_stl.hpp> | |
#include <boost/format.hpp> | |
namespace qi = boost::spirit::qi; |
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 <iostream> | |
#include <string> | |
#include <vector> | |
#include <boost/shared_ptr.hpp> | |
#include <boost/spirit/include/qi.hpp> | |
#include <boost/range/adaptor/transformed.hpp> | |
#include <mecab.h> | |
namespace qi = boost::spirit::qi; | |
using qi::standard_wide::char_; |
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 <iostream> | |
#include <string> | |
#include <vector> | |
#include <boost/shared_ptr.hpp> | |
#include <boost/spirit/include/qi.hpp> | |
#include <boost/range/adaptor/transformed.hpp> | |
#include <mecab.h> | |
namespace qi = boost::spirit::qi; | |
using qi::standard_wide::char_; |
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 <iostream> | |
#include <string> | |
#include <map> | |
#include <vector> | |
#include <boost/shared_ptr.hpp> | |
#include <boost/spirit/include/qi.hpp> | |
#include <boost/regex.hpp> | |
#include <boost/range/adaptor/transformed.hpp> | |
#include <unicode/translit.h> | |
#include <mecab.h> |
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 <string> | |
#include <iostream> | |
#include <cstdlib> | |
#include <boost/optional.hpp> | |
#include "oll.hpp" | |
template<int TrainMethodNum> struct train_method { typedef void type; }; | |
template<> struct train_method<0> { typedef oll_tool::P_s type; }; // Perceptron | |
template<> struct train_method<1> { typedef oll_tool::AP_s type; }; // Averaged Perceptron | |
template<> struct train_method<2> { typedef oll_tool::PA_s type; }; // Passive Agressive |
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 -*- | |
# favstar / earthquakge.gem plugin | |
# | |
# e.g. :favstar #=> your favstar | |
# :favstar who #=> who's favstar | |
# | |
require 'rss' | |
require 'open-uri' | |
require 'nokogiri' |
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
/** | |
* Shooting Sample | |
* created by @hecomi | |
* web: http://d.hatena.ne.jp/hecomi/ | |
*/ | |
$(function(){ | |
/* ------------------------------------------------------------------------- */ | |
// Global Parameters |
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
/** | |
* Shooting Sample | |
* created by @hecomi | |
* web: http://d.hatena.ne.jp/hecomi/ | |
*/ | |
$(function(){ | |
/* ------------------------------------------------------------------------- */ | |
// Global Parameters | |
/* ------------------------------------------------------------------------- */ |
OlderNewer