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
begin | |
raise "no input file." | |
rescue | |
puts "#{__FILE__}:#{$!.to_s}" | |
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
#!c:/bin/ruby | |
# -*- encoding: shift_jis -*- | |
# file: mc2html.rb | |
require 'optparse' | |
opt = OptionParser.new | |
OPTS = {} |
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
using System; | |
using System.Security; | |
using System.Security.Permissions; | |
using System.Security.Principal; | |
using System.Security.AccessControl; | |
namespace demo.security.descriptors { | |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using System.Runtime.Remoting.Lifetime; | |
namespace halfmoon.transport.ipc { | |
/// <summary> |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
namespace sample.any { | |
/// <summary> | |
/// |
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
/** | |
* マップコンテナ dictionary に keyname でアクセスした値が "yes" または "y" な | |
* ら真を返します。 | |
* @since 2010-09-03 | |
* @see map_about_yes_or_not_existsp | |
*/ | |
inline bool map_about_yesp( std::map<tstring, tstring>& dictionary, | |
const tstring& keyname | |
) | |
{ |
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
using System; | |
using System.IO; | |
using System.Text; | |
namespace halfmoon.util { | |
/// <summary> | |
/// |
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
#!/bin/ruby | |
# -*- encoding: shift_jis -*- | |
# file: notesplit.rb | |
Encoding.default_external = Encoding::UTF_8 | |
# ユーザー名。 | |
USER_NAME = ENV["USERNAME"] | |
# ノートが入ってるファイルへのパス。 |
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
/// <summary> | |
/// 受信が終了したときに呼び出されます。 | |
/// </summary> | |
/// <param name="ar"></param> | |
private void asyncReceiverCallback(IAsyncResult ar) { | |
UDPRecord record = (UDPRecord)ar.AsyncState; | |
byte[] received_bytes = record.client.EndReceive( ar, ref record.endpoint ); | |
record.client.Close(); |
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
select count(*) | |
from | |
sqlite_master | |
where | |
type = 'table' and | |
name = ? |