Skip to content

Instantly share code, notes, and snippets.

View atsushieno's full-sized avatar
💭
anything unrelated to my writings will be put in low priority queue for months

Atsushi Eno atsushieno

💭
anything unrelated to my writings will be put in low priority queue for months
View GitHub Profile
diff --git a/samples/WebMidiPlayer.cs b/samples/WebMidiPlayer.cs
index 2eb8b7c..b7b61c7 100644
--- a/samples/WebMidiPlayer.cs
+++ b/samples/WebMidiPlayer.cs
@@ -1,30 +1,45 @@
using System;
using System.ServiceModel;
+using System.Threading;
namespace Commons.Music.Midi.Player
denom
enodes
enough
genom
openoffice
singlenode
tylenor
venom
denote
ええのう
// OK WCF sucks with REST. I dump it away.
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using System.ServiceModel.Dispatcher;
using System.ServiceModel.Web;
{"status": "ok",
"rooms": [
{"room":
{"messages": [
{"message":
{"type": "user",
"local_id": "",
"timestamp": "2009-09-08T04:56:28Z",
"icon_url": "http://www.gravatar.com/avatar/1c55cf46019f01113eaf24b2c1df38a1.jpg",
"nickname": "atsushieno",
@atsushieno
atsushieno / gist:191293
Created September 22, 2009 18:14
C# lingr(2) client
// It uses limited set of WCF features that does not such that much.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Json;
using System.Net;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
/*
Yahoo! JAPAN サービス - ご意見・ご要望フォーム
1. ご利用のサービス(必須)
Yahoo!天気情報
2. ご意見・ご要望(必須)
# -*- mode: python -*-
#
# Copyright (C) 2006, 2007, 2008 Imendio AB
#
# Default setup for building GTK+ on Mac OS X. Note that you should
# normally never need to edit this file. Any custom settings should be
# done in ~/.jhbuildrc-custom.
#
# Specific builds can be set up by creating files named
# ~/.jhbuildrc-<build>. When setting the environment variable JHB to
# -*- mode: python -*-
setup_sdk_10_5()
environ_append("CFLAGS", "-arch i386")
environ_append("CXXFLAGS", "-arch i386")
environ_append("LDFLAGS", "-arch i386")
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using Irony.Parsing;
namespace FreeActionScript
{
[Language ("ActionScript", "3.0-", "ActionScript pseudo grammar")]
public class ActionScriptGrammar : Grammar
//
// OSC implementation (haven't ever used; it just compiles yet)
//
// Author:
// Atsushi Eno ( http://github.com/atsushieno )
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the