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
'元ネタはこちら。 | |
'ExcelVBA:マクロでページ数を取得してシート一覧表を作成する方法 | オコモトットとプログラム | オコモトットと。 | オコモトットと。 | |
'http://okomotot.com/?p=1685 | |
' | |
Sub 別シートで目次生成() | |
Dim mysheet As Worksheet '各シート | |
Dim page_sum As Integer 'ページ数 | |
Dim list() As Variant 'シート名とページ数格納用 | |
Dim i As Integer '配列添え字用 |
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
using System; | |
using System.Drawing; | |
using System.Threading.Tasks; | |
namespace MyGIS | |
{ | |
/* | |
Original | |
2011-12-15 【python】緯度経度から標準地域コードの取得 | |
http://d.hatena.ne.jp/letitride/20111215 |
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 ZeroFix | |
// @namespace applest.net | |
// @version 0.9 | |
// @description ZeroFix is ZeroWatch of niconico fixer. ZeroWatchが改良するまでの暫定的なユーザースクリプトです。 タイトルの縮小、タグの複数段表示、市場エリアを投稿者情報に、コメント入力エリアを下に、フェードを無効化などの機能があります。 | |
// @include http://www.nicovideo.jp/watch/* | |
// @license MIT License(http://en.wikipedia.org/wiki/MIT_License) | |
// ==/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
<?php | |
define('NICONICO_MAILADDRESS', '<アカウントアドレス>'); | |
define('NICONICO_PASSWORD' , '<アカウントパスワード>'); | |
$id = @$argv[1]; | |
if(!$id) exit('Usage (sm|lv)[\d]+'.PHP_EOL); | |
if(strpos($id, 'sm') === 0) getVideoComment($id); | |
if(strpos($id, 'lv') === 0) getLiveComment($id); | |
if(strpos($id, 'co') === 0) getLiveComment($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
# iMona lServer Access Count | |
#---------------------------------------- | |
#!/bin/sh | |
if [ "$1" = "config" ]; then | |
echo 'graph_title iMonaServerAccess' # グラフのタイトル。 | |
echo 'graph_args --base 1000 -l 0' # いわゆるベースとなるY軸の大きさ。一応、1000にしてあるけどアクセス数が多くて既に40Mとか表示されてるorz | |
echo 'graph_vlabel Access' # グラフのラベル。y軸のとこに出ます。 | |
echo 'graph_category other' # グラフのカテゴリ。一覧のHTMLで表示されるカテゴリ。DiskとかNetworkとかOtherとかProcessesとかのやつ。 | |
echo 'graph_info iMona Access Count.' # グラフの情報。詳細ページの下の方に出る。 |
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 Google Reader Star Opener(for Chrome) | |
// @namespace http://zuzu-service.net/ | |
// @description Starred item open in a lump for Google Reader for Chrome | |
// @include http://www.google.co.jp/reader/view/* | |
// @include http://www.google.com/reader/view/* | |
// @include https://www.google.com/reader/view/* | |
// @include https://www.google.co.jp/reader/view/* | |
// @version 1.0.1 | |
// ==/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
// ==UserScript== | |
// @name noref | |
// @description Aタグにrel="noreferrer"を付ける | |
// @match http://*/* | |
// @match https://*/* | |
// ==/UserScript== | |
var fn = function(node) { | |
if (node.nodeName === 'A') { | |
if (!/(?:^|\s)noreferrer(?:$|\s)/.test(node.rel)) { |
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 STrSM(SidebarTitle replace SidebarMenu) | |
// @include main | |
// @include chrome://browser/content/browser.xul | |
// @version 1.0.0 | |
// @create zuzu(http://zuzu-service.net/) | |
// @description サイドバーのタイトル部分を切り替えようメニューにします。 | |
// ==/UserScript== | |
// @version 2010/08/22 制作。 |
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 SelectionLinkURLCopy | |
// @namespace http://zuzu-service.net | |
// @description Adds 'Selection Link URL Copy' menu. | |
// @include main | |
// @compatibility Firefox 3.0, 3.5, 3.6 | |
// @author zuzu | |
// @version 1.0 | |
// @homepage http://zuzu-service.net/ | |
// ==/UserScript== |