This file contains hidden or 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
$(document).ready(function(){ | |
$("#ichibaPanelAd button").click(); | |
$("#playerContainerWrapper").height(600); | |
$("#ichibaPanel").css("box-shadow", "0px 0px 0px"); | |
// player size | |
$("#nicoplayerContainerInner").css("left", "-130px") | |
var $plaery = $("#nicoplayerContainerInner object"); | |
$plaery.css("position", "relative"); | |
$plaery.width(800); |
This file contains hidden or 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
# utf-8の文字列をsjisで出力 | |
open(output_file, "w+:sjis:utf-8") | |
# sjisのファイルをutf-8とに変換して読み込み | |
open(input_file, "r:sjis:utf-8") |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
class NameCreator | |
def initialize() | |
niti = "あいうえおかきくけこさしすせそたちつてとはひふへほはひふへほやゆよつわあいうえおかきくけこさしすせそたちつてとはひふへほはひふへほやゆよつわ" * 10 | |
niti += "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホラリルレロヤユヨワヲンアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘ" * 50 | |
niti += "亜哀挨愛曖悪握圧扱宛嵐安案暗以衣位囲医依委威為畏胃尉異移萎偉椅彙意違維慰遺緯域育一壱逸茨芋引印因咽姻員院淫陰飲隠韻右宇羽雨唄鬱畝浦運雲永泳英" | |
niti += "映栄営詠影鋭衛易疫益液駅悦越謁閲円延沿炎宴怨媛援園煙猿遠鉛塩演縁艶汚王凹央応往押旺欧殴桜翁奥横岡屋億憶臆虞乙俺卸音恩温穏下化火加可仮何花佳価" | |
niti += "果河苛科架夏家荷華菓貨渦過嫁暇禍靴寡歌箇稼課蚊牙瓦我画芽賀雅餓介回灰会快戒改怪拐悔海界皆械絵開階塊楷解潰壊懐諧貝外劾害崖涯街慨蓋該概骸垣柿各" | |
niti += "角拡革格核殻郭覚較隔閣確獲嚇穫学岳楽額顎掛潟括活喝渇割葛滑褐轄且株釜鎌刈干刊甘汗缶完肝官冠巻看陥乾勘患貫寒喚堪換敢棺款間閑勧寛幹感漢慣管関歓" | |
niti += "監緩憾還館環簡観韓艦鑑丸含岸岩玩眼頑顔願企伎危机気岐希忌汽奇祈季紀軌既記起飢鬼帰基寄規亀喜幾揮期棋貴棄毀旗器畿輝機騎技宜偽欺義疑儀戯擬犠議菊" |
This file contains hidden or 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
# coding: utf-8 | |
require 'webrick' | |
require 'JSON' | |
require 'win32ole' | |
BASE_DIR = File.dirname(__FILE__) | |
FIELDS = ["ID","title","url","borrower","borrow_start","borrow_end"] | |
DB_PATH = 'Books.mdb' | |
CONFIG = JSON.parse(File.read(BASE_DIR + "/config.json").sub(/var conf = /, '')) |
This file contains hidden or 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
" vim:set ts=8 sts=2 sw=2 tw=0: (この行に関しては:help modelineを参照) | |
" | |
" An example for a Japanese version gvimrc file. | |
" 日本語版のデフォルトGUI設定ファイル(gvimrc) - Vim7用試作 | |
" | |
" Last Change: 01-Oct-2012. | |
" Maintainer: MURAOKA Taro <[email protected]> | |
" | |
" 解説: | |
" このファイルにはVimの起動時に必ず設定される、GUI関連の設定が書かれていま |
NewerOlder