Development

rubyコード:
require “win32ole”

def ieInputBox( msg, default )
ie = WIN32OLE.new(“Interne ...

Development

rubyコード:
require ‘win32ole’

web_browser = WIN32OLE.new(‘InternetExplorer.Application̵ ...

Development

rubyコード:
require ‘win32ole’

excel = WIN32OLE.new(“excel.application”)
excel = t ...

Development

rubyコード:
def traverse_dir(file_path)
if File.directory? file_path
Dir.foreach(file_path) do |file|
if ...

Development

rubyコード:
require ‘win32ole’

excelobj = WIN32OLE.new(“excel.application”)

exce ...

Development

rubyコード:

require “win32ole”

ws = WIN32OLE.new “MSWinsock.Winsock”

#ローカルIPプロ ...

Development

rubyコード:
require ‘win32ole’

powerobj = WIN32OLE.new(“powerpoint.application”)

Development

rubyコード:
require “opengl”
require “glut”

$light_diffuse =
$light_position = ...

Development

rubyコード:
#!/usr/bin/ruby -w
require ‘wxruby’
class TroutApp < Wx::App
def on_init

Development

rubyコード:

require “gtk”

class SampleWindow < Gtk::Window

def initialize
super

Development

rubyコード:
require ‘yaml’

puts ({ ‘measurements’ => ‘metric’ }.to_yaml ...

Development

rubyコード:
equire ‘yaml’
configuration = { ‘color’ => ‘blue’,
‘ ...

Development

サンプルコード:

<?php
//ファイル閲覧プログラム
error_reporting(0);
$pwd = empty($_GET) ? ‘./’ : $_GET; ...

Development

PHPコード:

$image_info = array();
$size = getimagesize(‘test20140715.jpg’, $info);
if(isset($i ...

Development

サンプルコード:

<?php
function encode_file_contents($filename) {
$type=strtolower(substr(strrchr($filename, ...

Development

1.利用メッソッド
array_key_search
array_multip
array_mean
array_rands
2.サンプルコード
<?php

$arra ...

Development

PHPコード:
function remove_xss($val) {
//remove all non-printable characters. CR(0a) and LF(0b) and TAB(9) are a ...

Development

サンプルコード:
function is_utf8($string){
return preg_match(‘%^(?:
# ASCII
| # non-overlong 2-byte ...