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
// ------------------------- | |
// TabGroup&Tabの定義と表示 | |
// ------------------------- | |
// | |
// ※余談ですが、SplitViewをコンテナとしてTabGroupを持つ事が出来ません。 | |
// そういう構成を組みたい場合はwin3.jsサンプルのようにViewを分割し、 | |
// 左側のViewにTabGroupをセットするようなやり方になります。 | |
// | |
var tabGroup = Ti.UI.createTabGroup(); | |
tabGroup.addTab(Ti.UI.createTab({ |
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
// http://nanto.asablo.jp/blog/2005/10/24/118564 の 擬似的なnew演算子の動作 | |
F.applyNew([param1, param2]); // == new F(param1, param2) をやったとき | |
// => this : F , args : [param1, param2] | |
Function.prototype.applyNew = function (args) { | |
var that = this;// 解説的にややこしいのでthatにする | |
var Constructor = function () {};//空のオブジェクト作る | |
Constructor.prototype = this.prototype;// prototypeの設定をする | |
var instance = new Constructor();// instanceを作る | |
var result = that.apply(instance, args); |
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
// ==UserScript== | |
// @name play on tumblr | |
// @namespace tag:[email protected],2008-04-03:/coderepos.org | |
// @description play current image or video on tumblr dashboard with 'ENTER' key. open notes with 'h' key. like it with 'l' key. if won't work, pray on tumblr! | |
// @include http://www.tumblr.com/dashboard* | |
// @include http://www.tumblr.com/show/* | |
// @include http://www.tumblr.com/tumblelog/* | |
// @include http://www.tumblr.com/tagged/* | |
// ==/UserScript== |
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
This project was moved to https://github.com/tdtds/kindlizer |
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
var oauth = require('oauth-client'); | |
var consumerKey = '', | |
consumerSecret = '', | |
oauthToken = '', | |
oauthTokenSecret = ''; | |
var consumer = oauth.createConsumer(consumerKey, consumerSecret); | |
token = oauth.createToken(oauthToken, oauthTokenSecret); | |
signer = oauth.createHmac(consumer, token); |
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
// | |
// ReederMacPatcherShareTwitter.m | |
// ReederMacPatcher | |
// | |
// Created by moyashi on 11/01/16. | |
// Copyright 2011 __MyCompanyName__. All rights reserved. | |
// | |
#import "ReederMacPatcherShareTwitter.h" |
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
=begin | |
必要なもの | |
$ gem install rubytter | |
../oauth_yaml/#{Client}-#{App}.yaml ( TwitterOAuthの情報を格納したもの ) | |
最初の方に定義してある定数をちょこちょこ書き換えるスキル | |
これはなに | |
指定した人の最新200件のtweetを取得して、既にふぁぼってるの以外をふぁぼります。 | |
このscriptでふぁぼったものだけを #{@screen_name}-favterro-#{日付}.yaml に書き出すので、簡単にリセットできます。 |
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
// ==UserScript== | |
// @name BoringTwitter | |
// @namespace http://tokyoenvious.net/ | |
// @description Make one's tweets boring | |
// @include http://twitter.com/#!/* | |
// @include https://twitter.com/#!/* | |
// @require https://github.com/cho45/jsdeferred/raw/master/jsdeferred.userscript.js | |
// ==/UserScript== | |
with (D()) + function () { |
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
=begin | |
必要なもの | |
$ gem install rubytter | |
../oauth_yaml/#{Client}-#{App}.yaml ( TwitterOAuthの情報を格納したもの ) | |
これはなに | |
指定したscreen_nameのfollowingの色んな変更をチェックする感じ。 | |
つかいかた |
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
UIKit (architecture armv6): | |
Contents of (__DATA,__objc_classlist) section | |
0048edf4 0x4f5cb0 | |
isa 0x4f5c9c | |
superclass 0x4f6020 | |
cache 0x0 | |
vtable 0x0 | |
data 0x490274 (struct class_ro_t *) | |
flags 0x0 | |
instanceStart 44 |