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
/* | |
Azurea 1.3.2.ColorLabelPreviewを利用してカラーラベルを利用するためのサポートスクリプト | |
ColorLabelPreviewとセットで使用してください。 | |
http://refy.net/temp/Azurea.1.3.2.ColorLabelPreview.1.i386.exe | |
http://refy.net/temp/Azurea.1.3.2.ColorLabelPreview.1.ARMv5T.exe | |
使用方法 | |
Scripts\以下に任意のファイル名で保存 | |
テキストエリアからsetcolor(screen_name,colorcode)とPostする | |
screen_nameはカラーラベルを設定したいユーザのスクリーンネーム、 |
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
/* | |
* メニュー項目をメモリにもっておいて、ほしくなったタイミングで即座に生成してくれるなにか。 | |
* WindowsのメニューをInsert/Removeして使い回すと挙動が微妙なので車輪した。 | |
*/ | |
#include<Windows.h> | |
#include<boost/shared_ptr.hpp> | |
#include<boost/make_shared.hpp> | |
#include<string> | |
#include<vector> |
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
#include<Windows.h> | |
#include<iostream> | |
#define ControlDll L"C:\\Program Files\\Fujitsu\\FUJ02E3\\FUJ02E3.dll" | |
typedef unsigned int(__cdecl * Fuj02e3FuncDwordPDword)(unsigned int dwArg1, unsigned int* pdwArg2); | |
typedef unsigned int(__cdecl * Fuj02e3FuncDwordDwordPDword)(unsigned int dwArg1, unsigned int dwArg2, unsigned int* pdwArg3); | |
Fuj02e3FuncDwordPDword getPhonePCDataControl; | |
Fuj02e3FuncDwordDwordPDword setPhonePCDataControl; |
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
// [EDIT] 2011/10/05 SimpleMultiAnimationクラスを追加 | |
/// <summary> | |
/// キーフレームを使わないアニメーションをコードから簡単に作成できるクラス | |
/// </summary> | |
/// <typeparam name="Type">アニメーションクラス</typeparam> | |
/// <typeparam name="Easing">イージング関数</typeparam> | |
/// <typeparam name="ValueType">アニメーションさせる値の型</typeparam> | |
class SimpleAnimation<Type, Easing, ValueType> | |
where Type : Timeline, new() |
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.Windows; | |
using System.Windows.Controls; | |
// [Edit] 2011/10/05 もう少しまじめに書き直した | |
namespace PhoneClassLibrary1 | |
{ | |
public class Class1:Panel | |
{ |
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.Linq; | |
namespace System.Net.Sockets | |
{ | |
/// <summary> | |
/// Rx的に使えるSocket | |
/// </summary> | |
public class ObservableSocket : Socket | |
{ | |
public enum AsyncRequestType |
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.Linq; | |
namespace System.Net.Sockets | |
{ | |
/// <summary> | |
/// Rx的に使えるSocket | |
/// </summary> | |
public static class SocketExtention | |
{ | |
public enum AsyncRequestType |
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.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using Microsoft.SPOT; | |
using Microsoft.SPOT.Hardware; | |
using Netduinist.Net; | |
using SecretLabs.NETMF.Hardware; | |
using SecretLabs.NETMF.Hardware.NetduinoPlus; |
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
// SilverlightでTupleないので作った。よくある実装。 | |
namespace DataTypes | |
{ | |
public class Tuple | |
{ | |
public static Tuple<T1> Create<T1>(T1 item1) | |
{ | |
return new Tuple<T1>(item1); | |
} | |
public static Tuple<T1, T2> Create<T1, T2>(T1 item1, T2 item2) |
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
System.addKeyBindingHandler('B'.charCodeAt(0), 2, function(id){ | |
TwitterService.status.update('バルス!!', 0); | |
}); | |