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 NicoChart Improved | |
// @namespace http://now.nicochart.jp/* | |
// @include http://now.nicochart.jp/* | |
// ==/UserScript== | |
var tmbs = document.getElementsByClassName('lazy-display'); | |
for (var i = 0; i < tmbs.length; i++) { | |
var tmb = tmbs[i].parentNode; | |
tmb.setAttribute('target', '_blank'); | |
tmb.setAttribute('onClick', 'this.parentNode.parentNode.parentNode.style.display = \'none\';'); |
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
$tags = get_meta_tags($res->url); | |
$headers = get_headers($res->url,1); | |
$ctype = $headers['Content-Type']; | |
if(preg_match('/utf-8|euc-jp|shift_jis|iso-2022-jp/iu',$ctype,$cset)){ | |
switch($cset[0]){ | |
case 'euc-jp': | |
case 'EUC-JP': | |
$tag_key = mb_convert_encoding( $tags['keywords'], 'UTF-8' , 'eucJP-win'); |
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
function throttle( fn, time ) { | |
var t = 0; | |
return function() { | |
var args = arguments, ctx = this; | |
clearTimeout(t); | |
t = setTimeout( function() { | |
fn.apply( ctx, args ); | |
}, time ); | |
}; |
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
Host legnoh | |
User root | |
HostName legnoh.jp | |
Port 10022 | |
IdentityFile ~/.ssh/id_rsa | |
ForwardAgent yes |
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
div#tickets { | |
width: 999px!important; | |
} | |
div#tickets div.ticket_relative { | |
width: 329px; | |
float:left; | |
} | |
div#tickets div.ticket { |
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 | |
// convert.phpとか適当に名前つけて保存してくだしあ | |
// ファイル名を引数から読込んで定義 | |
$option = getopt('i:o:'); | |
$filename_in = empty( $option['i'] ) ? "./名称未設定.txt" : $option['i'] ; | |
$filename_out = empty( $option['o'] ) ? "./IME辞書01.plist" : $option['o'] ; | |
// 存在確認して入力ファイルを開く |
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
0.00::/"=== 1. 基本設定 ======================" | |
0.00::/position = "shita" | |
0.00::/default_time = 4.0 | |
0.00::/scroll_time = 0.0 | |
0.00::/lines_max = 5 | |
0.00::/"=== 2. フォントの設定 ================" | |
0.00::/font_size = 16 | |
0.00::/font_color = 0xFFFFFF | |
0.00::/font_bold = false | |
0.00::/font_fuchi = true |
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
0::/"=== 1. 基本設定 ======================" | |
0::/position = "shita" | |
0::/default_time = 4.0 | |
0::/scroll_time = 0.0 | |
0::/lines_max = 5 | |
0::/"=== 2. フォントの設定 ================" | |
0::/font_size = 20 | |
0::/font_color = 0xFF0000 | |
0::/font_bold = false | |
0::/font_fuchi = true |
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
やった | |
---- | |
- hoge | |
課題 | |
---- | |
- hoge |
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 Y!SHP Descliber | |
// @namespace http://www.legnoh.jp | |
// @version 0.1 | |
// @description disable checkbox to desclibe Y!SHP mail | |
// @author legnoh | |
// @match https://order.shopping.yahoo.co.jp/cgi-bin/review-order* | |
// @grant none | |
// ==/UserScript== |
OlderNewer