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 Nico Blogparts | |
// @version 0.2.1 | |
// @namespace https://gist.github.com/2573333 | |
// @description ニコニコ動画のブログ貼り付け用コードを動画画面に表示するGreasemonkey | |
// @include http://www.nicovideo.jp/watch/* | |
// @updated 2011/05/02 16:30:00 | |
// ==/UserScript== | |
// 0.0.1 - 2009/11/01 リリース | |
// 0.0.2 - 2009/11/08 チャンネル動画のvideoId(ex. http://www.nicovideo.jp/watch/1255083605)に対応 |
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 ZeroWatch UI Customize by is | |
// @version 0.3.0 | |
// @namespace nplll.com | |
// @description ZeroWatchのUIをカスタマイズするGreasemonkey。公式で対応した部分は順次機能削除していく予定です。 | |
// @include http://www.nicovideo.jp/watch/* | |
// @see https://gist.github.com/2575225 | |
// @license MIT License(http://en.wikipedia.org/wiki/MIT_License) | |
// ==/UserScript== | |
// Version History: |
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
<?php | |
require_once 'HTTP/Client.php'; | |
$client = new HTTP_Client(); | |
$client->get('https://api.twitter.com/1/users/profile_image?screen_name=nobodyplace'); | |
$response = $client->currentResponse(); | |
echo $response['url']; | |
?> |
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
grid.on({ | |
itemcontextmenu : { | |
scope : this, | |
fn : function(view, record, node, index, event, options) { | |
// 右クリックしたらその行を選択 | |
me.grid.getView().select(record.getId() - 1); | |
} | |
} | |
}); |
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 NicoPlayer UI Customize | |
// @namespace http://1ni.co/greasemonkeys | |
// @description ニコニコ動画プレイヤーのUIをカスタマイズするGreasemonkey | |
// @version 3.0.2 | |
// @downloadURL https://gist.github.com/raw/3905580/nicoplayer_ui_customize.user.js | |
// @updateURL https://gist.github.com/raw/3905580/nicoplayer_ui_customize.user.js | |
// @include http://www.nicovideo.jp/watch/* | |
// @grant GM_getValue | |
// @grant GM_setValue |
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 Freshreader Wide | |
// @namespace http://nplll.com/greasemonkeys | |
// @description Freshreaderの幅を調整する | |
// @version 1.0.0 | |
// @downloadURL https://gist.github.com/raw/3909684/freshreader_wide.user.js | |
// @updateURL https://gist.github.com/raw/3909684/freshreader_wide.user.js | |
// @include http://*/feedlist.php* | |
// @grant none | |
// @author Ippei "is" Suzuki |
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
javascript:void(function(u,t){if(u.match(/seiga.nicovideo.jp/))window.open('http://1ni.co/seiga/'+t+'/rss')})(location.href,document.getElementById('ko_watchlist_header').getAttribute('data-id')); |
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
javascript:void(function(t){window.open('http://1ni.co/tag/'+t[1]+'/rss')})(location.href.match(/http:\/\/www.nicovideo.jp\/tag\/([^/?]+)/)); |
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
//コールバックURL | |
$callback = 'http://nplll.com/tumblr_return'; | |
//HTTP_OAuth | |
$consumer = new HTTP_OAuth_Consumer(CONSUMER_KEY, CONSUMER_SECRET_KEY); | |
$http_request = new HTTP_Request2(); | |
$http_request->setConfig('ssl_verify_peer', false); | |
$consumer_request = new HTTP_OAuth_Consumer_Request(); | |
$consumer_request->accept($http_request); | |
$consumer->accept($consumer_request); |
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
$response = $consumer->sendRequest('http://api.tumblr.com/v2/user/info', array(), 'GET'); | |
$user = json_decode($response->getBody())->response->user; |