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: shift-jis | |
| import clr | |
| from Kbtter import * | |
| from System import * | |
| from TweetSharp import * | |
| from System.Text import * | |
| from System.Text.RegularExpressions 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: shift-jis | |
| import clr | |
| from Kbtter import * | |
| from System import * | |
| from TweetSharp 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
| public interface IKbtterCallable : IKbtterHasName | |
| { | |
| IEnumerable<KbtterPluginMenu> GetMenuList(); | |
| } | |
| public class KbtterPluginMenu | |
| { | |
| public string MenuTitle { get; set; } | |
| public Action MenuAction { get; set; } | |
| } |
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 |
OlderNewer