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:/bin/ruby/bin/ruby | |
# -*- encoding: shift_jis -*- | |
require 'optparse' | |
opt = OptionParser.new | |
OPTS = {} | |
opt.version = "0.0.3" |
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
XmlReader createXMLReader(string text_representation) { | |
XmlReaderSettings settings = new XmlReaderSettings(); | |
settings.NameTable = new NameTable(); | |
XmlNamespaceManager manager = new XmlNamespaceManager( settings.NameTable ); | |
XmlParserContext context = new XmlParserContext( settings.NameTable, | |
manager, | |
"ja", | |
XmlSpace.Default | |
); |
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 std; | |
using std.io; | |
using std.text; | |
using net.socket; | |
let port : int = 52292; | |
let udp_sender : UDPSocket = new UDPSocket( port ); | |
try { |
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 std; | |
using std.io; | |
let ( stream : FileOutputStream = FileOutputStream.open( "sample.txt" ) ) { | |
stream.each_line ( line : string ) => { | |
console.puts line.chomp | |
}; | |
} ensure { | |
stream.close(); |
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 std; | |
using std.io; | |
using std.text; | |
using net.socket; | |
let udp_receiver : UDPSocket = new UDPSocket( 11000 ); | |
let remote_endpoint : IPEndPoint = new IPEndPoint( IPAddress.ANY, 0 ); | |
try { |
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.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Text; | |
using System.Windows.Forms; | |
namespace sample.demo.notifyicon { |
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.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Windows.Forms; |
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.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using System.Windows.Forms; |
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
typedef char gchar; | |
typedef HWND widget_t; | |
typedef HICON icon_t; | |
typedef NOTIFYICONDATA notify_icon_t; | |
void notifyicon_demo_append_notify_icon(widget_t window, icon_t tasktray_icon) |
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.Text; | |
using System.Xml; | |
namespace meserv.util { | |
/// <summary> |
OlderNewer