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 -*- | |
""" | |
英辞郎をMDict形式に変換します。 | |
""" | |
from writemdict import MDictWriter, encrypt_key | |
import sys | |
import codecs | |
import re |
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
# 起動 | |
# C:\apcupsd\cgi>ruby server.rb | |
# アクセス | |
# http://localhost:10080/multimon.cgi | |
require 'webrick' | |
DOCUMENT_ROOT = 'C:/apcupsd/cgi' | |
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
// 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; |
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 'sequel' | |
# MS Accessの選択クエリ(AccdbQuery)のSQLビュー | |
# SELECT ID, 名前 AS Name, [コメント] AS Comment | |
# FROM 日本語サンプル; | |
def write(msg) | |
puts "\n" | |
puts '-' * 20 | |
puts msg |
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 'sequel' | |
def write(msg) | |
puts "\n" | |
puts '-' * 20 | |
puts msg | |
puts '-' * 20 | |
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
# 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' |
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
# Tested Environment | |
# - Windows7 x64 | |
# - Skype 6.16.0.105 | |
# | |
# Thanks | |
# Sunitha/SkypeShell https://github.com/Sunitha/SkypeShell | |
require "win32ole" |
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
source 'https://rubygems.org' | |
gem 'sinatra' | |
gem 'sinatra-contrib' | |
gem 'thin' | |
gem 'serialport' | |
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
source 'https://rubygems.org' | |
gem 'activeldap' | |
gem 'net-ldap' |
NewerOlder