Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
| import os, time, re | |
| import sublime | |
| import sublime_plugin | |
| import glob | |
| import os | |
| from xml.etree import ElementTree | |
| current_path = None | |
| class CreateFileFromTemplateCommand(sublime_plugin.WindowCommand): |
| html = ''' | |
| <table class="table"> | |
| <tr> | |
| <td> | |
| <a href='https://twitter.com/TwitAA_bot'> | |
| TwitAA_bot | |
| </a> | |
| </td> |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
| #!ruby -Ku | |
| require 'net/http' | |
| require 'uri' | |
| require 'json' | |
| require 'pp' | |
| class ShortURL | |
| # 普通のURLを渡した場合、そのまま返す | |
| def self.expand(short_url) |
| require 'pp' | |
| # http://0xcc.net/ruby-bsearch/index.html.ja | |
| # require './bsearch' | |
| # https://github.com/kanwei/algorithms | |
| # require 'rubygems' | |
| # require 'algorithms' | |
| # include Containers |
| require 'pp' | |
| # http://0xcc.net/ruby-bsearch/index.html.ja | |
| # require './bsearch' | |
| # https://github.com/kanwei/algorithms | |
| # require 'rubygems' | |
| # require 'algorithms' | |
| # include Containers |
| function sakura { | |
| cygstart /d/Program\ Files/sakura/sakura.exe `cygpath -m $@` | |
| } | |
| # 問題とサンプルデータを生成し、開く。 | |
| # usage: go A | |
| function go() { | |
| problem=$1 | |
| source=$problem.rb | |
| data=$problem-sample.in |
| require 'pp' | |
| # http://0xcc.net/ruby-bsearch/index.html.ja | |
| # require './bsearch' | |
| # https://github.com/kanwei/algorithms | |
| # require 'rubygems' | |
| # require 'algorithms' | |
| # include Containers |
| enchant() | |
| SCREEN_WIDTH = 640 | |
| SCREEN_HEIGHT = 480 | |
| class UhNyah extends Game | |
| constructor: () -> | |
| super(SCREEN_WIDTH, SCREEN_HEIGHT) | |
| @enemies = [] |
| enchant() | |
| window.onload = () -> | |
| game = new Game(320, 320) | |
| game.fps = 24 | |
| game.preload('chara1.gif') | |
| # The images used in the game should be preloaded | |
| game.onload = () -> | |
| bear = new Sprite(32, 32); |