View server.rb
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
# 起動 | |
# C:\apcupsd\cgi>ruby server.rb | |
# アクセス | |
# http://localhost:10080/multimon.cgi | |
require 'webrick' | |
DOCUMENT_ROOT = 'C:/apcupsd/cgi' | |
View TwitterSingleUserAuth.cs
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
// Console Applicatoin | |
// Add library using NuGet | |
// - DotNetOpenAuth OAuth 1.0(a) Consumer (byAndrew Amott) | |
// - DynamicJson (by neuecc) | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; |
View accdb_qeury.rb
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 'sequel' | |
# MS Accessの選択クエリ(AccdbQuery)のSQLビュー | |
# SELECT ID, 名前 AS Name, [コメント] AS Comment | |
# FROM 日本語サンプル; | |
def write(msg) | |
puts "\n" | |
puts '-' * 20 | |
puts msg |
View accdb_ja.rb
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 'sequel' | |
def write(msg) | |
puts "\n" | |
puts '-' * 20 | |
puts msg | |
puts '-' * 20 | |
end |
View sequel_to_ms_access.rb
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
# Tested Environment | |
# Windows7 x64, MS Access2010/2013, sequel 4.11.0 | |
# Gemfile | |
# source 'https://rubygems.org' | |
# gem 'sequel' | |
# gem 'ruby-odbc' # for ODBC | |
require 'sequel' |
View skype_win32ole.rb
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
# Tested Environment | |
# - Windows7 x64 | |
# - Skype 6.16.0.105 | |
# | |
# Thanks | |
# Sunitha/SkypeShell https://github.com/Sunitha/SkypeShell | |
require "win32ole" |
View Gemfile
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 'https://rubygems.org' | |
gem 'sinatra' | |
gem 'sinatra-contrib' | |
gem 'thin' | |
gem 'serialport' | |
View Gemfile
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 'https://rubygems.org' | |
gem 'activeldap' | |
gem 'net-ldap' |
View linq2twitter_sample.cs
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Data; | |
using System.Windows.Documents; | |
using System.Windows.Input; |
NewerOlder