- git cloneする
git clone https://github.com/tdiary/tdiary-core tdiary-rdb
git clone https://github.com/tdiary/tdiary-io-rdb tdiary-io-rdb
- Gemfile.localを作成
git clone https://github.com/tdiary/tdiary-core tdiary-rdb
git clone https://github.com/tdiary/tdiary-io-rdb tdiary-io-rdb
@echo OFF | |
"%WINDIR%\system32\cscript.exe" //NOLOGO count_word.js %1 | |
exit /b 0 |
index 9aab054..f61c12e 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -22,6 +22,10 @@ gem 'hikidoc' | |
gem 'rdtool' | |
gem 'fastimage' | |
+group :fcgi do | |
+ gem 'fcgi' | |
+end |
{ | |
"id": "2013010656789", | |
"event_id": "56789", | |
"start_time": "2013-01-06T20:00:00+09:00", | |
"end_time": "2013-01-06T21:15:00+09:00", | |
"area": { | |
"area_id": "130", | |
"area_name": "東京" | |
}, | |
"service_": { |
# -*- coding: utf-8 -*- | |
# | |
# nhk_program_info.rb - embedded NHK program information | |
# refer to the URL below. | |
# http://www2.nhk.or.jp/api/docs/v1/ | |
# | |
# Copyright (C) 2013, tamoot <tamoot+tdiary@gmail.com> | |
# You can redistribute it and/or modify it under GPL2. | |
# |
Set objHTML = CreateObject("htmlfile") | |
TEXT = Trim(objHTML.ParentWindow.ClipboardData.GetData("text")) | |
'launch | |
Set objShell = CreateObject("WScript.Shell") | |
objShell.Run "http://hoge.fuga.org?param=" + TEXT |
Sub clipboard2browser() | |
'from clipboard | |
Dim DataObj As New MSForms.DataObject | |
DataObj.GetFromClipboard | |
On Error GoTo Whoa | |
'for browser launch | |
Dim objShell As Object | |
Set objShell = CreateObject("WScript.Shell") | |
[tamoot@bazil]#tdiary new sample_win_2_0_0 | |
D:/Application/ruby_2_0_0_p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- bundler (LoadError) | |
from D:/Application/ruby_2_0_0_p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' | |
from D:/Application/ruby_2_0_0_p0/lib/ruby/gems/2.0.0/gems/tdiary-3.2.2.20130507/tdiary/cli.rb:4:in `<top (required)>' | |
from D:/Application/ruby_2_0_0_p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' | |
from D:/Application/ruby_2_0_0_p0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' | |
from D:/Application/ruby_2_0_0_p0/lib/ruby/gems/2.0.0/gems/tdiary-3.2.2.20130507/bin/tdiary:5:in `<top (required)>' | |
from D:/Application/ruby_2_0_0_p0/bin/tdiary:23:in `load' | |
from D:/Application/ruby_2_0_0_p0/bin/tdiary:23:in `<main' > |
require 'cgi' | |
require 'rubygems' | |
require 'json' | |
require 'mechanize' | |
require 'pit' | |
# LDR | |
ldr_login = Pit.get("member.livedoor.com", :require => { | |
"username" => "your livedoor_id", |
/* | |
* tweet_embeded.js : embeded tweet | |
* | |
* Copyright (C) 2013 by tamoot <tamoot+tdiary@gmail.com> | |
* You can distribute it under GPL. | |
*/ | |
$( function() { | |
function embeded_callback(twitter_status, twitter_p) { |