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
//改良前のコード抜粋 | |
if (artifact["target_object"] != null) | |
{ | |
return DeserializeUserStreamEvent(content); | |
} | |
/* | |
・問題点 | |
1.イベントの条件が「target_objectがあるかどうか」 | |
2.そのせいでtarget_objectがないfollowとかuser_updateは | |
切り捨てられる |
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; | |
namespace Kb10uy { | |
public class ExtremeArray<T> { | |
HashSet<KeyValuePair<Tuple<int,int>>> list; | |
public ExtremeArray() { | |
list=HashSet<KeyValuePair<Tuple<int,int>>>(); | |
} |
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
キャリア detune : 1 基本周波数 : 4Hz | |
モジュレータ detune : 0.75 変調指数 : 2 | |
0 | |
0.098008665572831 | |
0.195023513209373 | |
0.290064720944675 | |
0.382180180850238 | |
0.470458668609379 | |
0.554042208419641 | |
0.632137398036769 |
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; | |
public class | |
Program { | |
public | |
static void Main(string[] args){ | |
Console.Write("Hello,World!"); | |
} | |
} | |
//このプログラムは、 | |
//C#でコンパイルしても |
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
#!/usr/bin/ruby | |
# ScreenName を自分のSNに置き換えてね | |
require 'rubygems' | |
require 'twitter' | |
ckey="ConsumerKey" | |
csec="ConsumerSecret" | |
atok="AccessToken" |
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
# coding: utf-8 | |
import clr | |
from System import * | |
from System.Collections.Generic import * | |
from System.Text import * | |
from System.Text.RegularExpressions import * | |
from System.IO import * | |
clr.AddReferenceByPartialName("CoreTweet") | |
from CoreTweet import * |
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
ACLS | |
N=1 | |
H=0 | |
@START | |
C$="" | |
FOR I=0 TO 3 | |
C$=C$+CHR$(RND(26)+65) | |
NEXT | |
COLOR RND(12)+3 |
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
# coding: utf-8 | |
import clr | |
import sys | |
from System import * | |
from System.Collections.Generic import * | |
from System.Text import * | |
from System.Text.RegularExpressions import * | |
from System.IO import * | |
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
# coding: utf-8 | |
import clr | |
import sys | |
from System import * | |
from System.Collections.Generic import * | |
from System.Text import * | |
from System.Text.RegularExpressions import * | |
from System.IO import * | |
Name="突然の死ジェネレータコマンドプラグイン" |
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
# coding: utf-8 | |
# Base64プラグイン | |
# ・Base64と思われるツイートの自動デコード | |
# ・Base64エンコード・デコード・ツイートコマンド | |
# ・それぞれ"b64enc","b64dec","b64tweet"で、 | |
# ・textパラメータに文字列を指定することで使用できます | |
import clr | |
from System import * |