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.Net; | |
using System.Runtime.InteropServices; | |
using System.Runtime.Remoting; | |
using System.Text; | |
using System.Collections; | |
using System.Reflection; | |
using Microsoft.Scripting; |
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.IO; | |
using System.Runtime.InteropServices; | |
using System.Runtime.Remoting; | |
using System.Reflection; | |
using System.Security.Policy; | |
using System.Xml.Serialization; | |
using System.Runtime.Remoting.Proxies; | |
using System.Runtime.Remoting.Messaging; |
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
public static void Main(String[] args) | |
{ | |
var baseUrl = "http://exch2003/exchange/Alias/予定表"; | |
var xDoc = QueryToExchange(baseUrl, | |
String.Format( | |
@"SELECT | |
* | |
FROM | |
SCOPE('Shallow Traversal of """ + baseUrl + @"""') | |
WHERE |
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
module Misuzilla::IronRuby | |
module Hatetter | |
require 'rexml/document' | |
require 'open-uri' | |
@@channel = "#Hatetter" | |
@@interval = 360 | |
@@endpoint = 'http://hatetter.blogdb.jp/mayuki/statuses/friends_timeline.xml' | |
@@ids = {} |
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
#!ir -KS | |
# Encoding: Shift_JIS | |
a = "はうはう" | |
p "a = #{a}" | |
p "a.Length: #{a.Length}" # => 4 | |
p "a.IsBinary: #{a.IsBinary}" # => false | |
p "a =~ /foo/: #{a =~ /foo/}" # => (No Error) | |
p "----" |
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
# -*- coding: utf-8 -*- | |
import clr | |
import re | |
import Misuzilla.Applications.TwitterIrcGateway | |
from System import * | |
from System.Diagnostics import Trace | |
from Misuzilla.Net.Irc import * | |
from System.Runtime.InteropServices import Marshal |
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
# iTunesIrcGateway (with TwitterIrcGateway) | |
# -*- coding: utf-8 -*- | |
import clr | |
import re | |
import Misuzilla.Applications.TwitterIrcGateway | |
import Misuzilla.Applications.TwitterIrcGateway.AddIns.Console | |
from System import * | |
from System.Collections.Generic import * |
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
# Outlook IRC Access (with TwitterIrcGateway) | |
# -*- coding: utf-8 -*- | |
import clr | |
import re | |
import Misuzilla.Applications.TwitterIrcGateway | |
import Misuzilla.Applications.TwitterIrcGateway.AddIns.Console | |
from System import * | |
from System.Collections.Generic import * |
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
# ipy.exe for TwitterIrcGateway | |
import clr | |
import System | |
from System.Diagnostics import Trace | |
import Misuzilla.Applications.TwitterIrcGateway | |
import Misuzilla.Applications.TwitterIrcGateway.AddIns | |
import Misuzilla.Applications.TwitterIrcGateway.AddIns.Console | |
from Misuzilla.Applications.TwitterIrcGateway.AddIns.Console import Context |
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
# -*- coding: utf-8 -*- | |
# Based on http://d.hatena.ne.jp/kenkitii/20060429/p1 | |
import re | |
import datetime, time | |
# IronPython | |
import clr | |
from System import * | |
from System.Text import * |
OlderNewer