Skip to content

Instantly share code, notes, and snippets.

R SATO rsato

Block or report user

Report or block rsato

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rsato
rsato / 1-spring-security-twitter-is-not-work
Last active Dec 15, 2015
[solved]Making Grails app with Twitter authentication, using "spring-security-twitter" is not work well...
View 1-spring-security-twitter-is-not-work
# DevEnv
+ JDK 7 update 17
+ GGTS 3.2.0RELEASE
+ Grails 2.2.1
# Operations
1.Create Grails Project "test"
2. Add to BuildConfig.groovy
@rsato
rsato / 放送内容解析システム概要
Last active Dec 25, 2015
放送内容を自動で解析、情報収集するシステムの構想です。個人ではリソースの限界があるので、是非forkいただいてこの内容を充実させたり、一部実装してみたとかお待ちしております。
View 放送内容解析システム概要
# これは?
放送内容を自動で解析、情報収集するシステムの構想です。
# 取得する情報
- 文字や画像として出ている情報
- 字幕スーパー(動画内とデータ)
- 地図?
- クレジット
View japanese-pref-order.md

Order of the prefectures in Japan

In a English Website, When choosing a Prefectures in Japan, the order is alphabetical.

  1. Aichi
  2. Akita
  3. Aomori
  4. Chiba
  5. Ehime
  6. Fukui
@rsato
rsato / TwitterOAuthRequestTokenCallbacks.java
Last active Aug 29, 2015
AndroidアプリでNetworkOnMainThreadExceptionを避けつつTwitter4Jを使用したアプリ連携を行う #Twitter4J ref: http://qiita.com/rsato/items/39efd16c8a77a893a67e
View TwitterOAuthRequestTokenCallbacks.java
public class TwitterOAuthRequestTokenCallbacks implements LoaderCallbacks<RequestToken> {
private Context mContext;
private Twitter mTwitter;
public TwitterOAuthRequestTokenCallbacks(Context context, Twitter twitter) {
mContext = context;
mTwitter = twitter;
}
@rsato
rsato / PC98Beep.cs
Last active Aug 29, 2015
PC98の起動音をC# とWindows PowerShellで
View PC98Beep.cs
using System;
class PC98Beep
{
public static void Main(string[] args)
{
// Console.Beep(int frequency, int duration);
Console.Beep(2000, 120); // pi
Console.Beep(1000, 120); // po
}
@rsato
rsato / file0.txt
Created May 3, 2014
シークヮーサーとファイアーエムブレムの表記ゆれを正規表現で表す ref: http://qiita.com/rsato/items/d804894b6b54003b9cb1
View file0.txt
シ((ィ|イ)(|ー)|ー)ク(ア|ァ|ワ|ヮ)(ー|)(サ|シャ)ー
@rsato
rsato / file0.groovy
Created May 15, 2014
「一反田えー(1反田A)」から「千反田える」までを生成する ref: http://qiita.com/rsato/items/a0013f35f731ff6b494f
View file0.groovy
def alphabetList = ["えー", "びー", "しー", "でぃー", "いー", "えふ", "じー", "えいち", "あい", "じぇい", "けー", "える", "えむ", "えぬ", "おー", "ぴー", "きゅー", "あーる", "えす", "てぃー", "ゆー", "ぶい", "だぶりゅー", "えっくす", "わい", "ぜっと"]
def range = 1..1000
range.eachWithIndex {num, i->
println "${arabicNumToKanjiNum(num)}反田${alphabetList[i%alphabetList.size()]}"
}
// アラビア数字を漢数字に変換します
def arabicNumToKanjiNum(long num){
def kanjiNumUnit = ["", "", "", "", ""]
@rsato
rsato / JAL-2-step-verification-password-list
Last active Aug 29, 2015
JAL 2-step verification password list. It is the birthday "yyyyMMdd" format. cf. JALホームページにおける2段階認証の実施について http://www.jal.co.jp/info/jmb/140731.html .
View JAL-2-step-verification-password-list
18980305
18980306
18980307
18980308
18980309
18980310
18980311
18980312
18980313
18980314
@rsato
rsato / sequence_sourceforge-redirect-to-adsrvmedia.txt
Last active Aug 29, 2015
"sourceforge" redirect to "adsrvmedia"
View sequence_sourceforge-redirect-to-adsrvmedia.txt
http://tortoisesvn.net/downloads.html
click link text
http://downloads.sourceforge.net/tortoisesvn/LanguagePack_1.8.8.25755-x64-ja.msi?download
redirect (HTTP 307)
http://sourceforge.net/projects/tortoisesvn/files/1.8.8/Language%20Packs/LanguagePack_1.8.8.25755-x64-ja.msi/download?use_mirror=switch&download=
:
?
:
http://d.startpagea.com/widget/render/hash/0433a6b04002a22cbb0f6a1b5e1e7e54
iframe src
@rsato
rsato / target-list.txt
Created Nov 22, 2014
Webサイト #どうして解散するんですか why-kaisan.com でツイートすると追加される宛先アカウントリスト
View target-list.txt
@1hatanorina
@21csts
@310akirasato
@310kakizawa
@47staff
@Abeshinzo
@CoTakayuki
@Dr_NakaMats
@ETO_Akinori
@FujiokaTakao
You can’t perform that action at this time.