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
#define BOOST_THREAD_PROVIDES_FUTURE | |
#include <boost/thread.hpp> | |
#include <boost/thread/future.hpp> | |
#include <boost/shared_ptr.hpp> | |
#include <boost/exception_ptr.hpp> | |
#include <iostream> | |
template <typename T> | |
class deferred | |
{ |
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
style -name liberator-bottombar-fix chrome://* <<EOM | |
#liberator-statusline, | |
#liberator-customize-toolbar { | |
-moz-box-align: center !important; | |
-moz-box-pack: center !important; | |
-moz-appearance: none !important; | |
border: none !important; | |
} | |
#liberator-bottombar toolbarbutton, | |
#liberator-bottombar toolbaritem, |
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 | |
# -*- encoding: utf-8 -*- | |
filename = ARGV[1] || 'yuiyuinikki_kaomoji.csv' | |
yomi = ARGV[2] || 'ゆい' | |
open 'yuiyui.txt', 'w' do |output| | |
open filename do |input| | |
input.readlines.each do |s| | |
row = s.split(',').map { |s| s.strip } |
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
ゆい (*-v・) 顔文字 | |
ゆい (∩^ω^∩) 顔文字 | |
ゆい (○>ω<○) 顔文字 | |
ゆい (´ω`) 顔文字 | |
ゆい (-∀-) 顔文字 | |
ゆい (´`) 顔文字 | |
ゆい (´Д`) 顔文字 | |
ゆい (^ω^) 顔文字 | |
ゆい (*-∀-) 顔文字 | |
ゆい (´-ω-`) 顔文字 |
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 <future> | |
#include <memory> | |
#include <thread> | |
#include <chrono> | |
#include <iostream> | |
namespace miu { | |
template <typename Derived> | |
class deferrable |
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 <future> | |
#include <memory> | |
#include <thread> | |
#include <chrono> | |
#include <iostream> | |
namespace miu { | |
template <typename Derived> | |
class deferrable |
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
def default_headers | |
{ | |
:accept => '*/*', | |
:accept_language => 'ja,en-US;q=0.8,en;q=0.6', | |
:user_agent => 'Mozilla/4.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)', | |
:cache_control => 'no-cache', | |
} | |
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
# coding: utf-8 | |
require 'nokogiri' | |
require 'cgi' | |
class GoogleAnswer | |
include Donkun::Plugin | |
set :help, <<-EOS | |
age|birthday <query> | |
指定した人物の生年月日を表示します | |
born <query> |
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
CREATE TABLE `inbox_mails` ( | |
`user_id` int(11) NOT NULL, | |
`mail_id` binary(16) NOT NULL, | |
`modified_seqno` int(11), | |
`modified_time` double, | |
`visibility` tinyint(4) NOT NULL, | |
`timestamp` double NOT NULL, | |
`year` smallint(6) NOT NULL, | |
`source_uuid` binary(16) NOT NULL, | |
`source_metadata` blob NOT NULL, |
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 <future> | |
#include <memory> | |
#include <iostream> | |
#include <boost/lexical_cast.hpp> | |
template <typename T> | |
class deferred | |
{ | |
public: | |
typedef deferred deferred_type; |