※英字配列での記述[]内が日本語配列
- win+ ret ナレーターモード起動
- win+1~10 タスクバーに登録されているものの左から1,2,,,で起動
- win+ =[^] 画面拡大モード起動 ※使い方不明
- win+ e エクスプローラー起動
//配列を作成する | |
var width_arr = new Array(); | |
//jQueryで階層指定及び最初の要素を指定する | |
//下の例だと、id=estimateList配下のtbody配下の最初のtr配下のtd全て | |
var tbody_tds = $('#estimateList tbody tr:first-child td'); | |
//jQueryで繰り返し処理 | |
$.each($(tbody_tds),function(i){ | |
width_arr.push($(this).width()); |
$(function(){ | |
$('#toggle-button-search-form').click(function(){ | |
var _search_form = $('#toggle-search-form'); | |
$(_search_form).toggle(); | |
if(_search_form.is(":hidden")){ | |
$('#list-box').height(580); | |
$('#list-box div.scroll').height(580); | |
}else{ | |
$('#list-box').height(380); | |
$('#list-box div.scroll').height(380); |
$(function(){ | |
function table_adjust(){ | |
var width_arr = new Array(); | |
var tbody_tds = $('#estimateList tbody tr:first-child td'); | |
var thead_ths = $('#estimateList thead tr:first-child th'); | |
$.each($(tbody_tds),function(i){ | |
width_arr.push($(this).width()); | |
}); | |
$.each($(thead_ths),function(i){ | |
$(this).width(width_arr[i]); |
.inVisible { | |
display: none; | |
} |
body { | |
padding-top: 60px; | |
} | |
/* ブラウザの横幅が980px以下の時 */ | |
@media (max-width: 980px){ | |
body { | |
padding-top: 0px; | |
} | |
} |
#/usr/bin/ruby | |
require 'rubygems' | |
require 'sinatra' | |
require 'model/comment.rb' | |
require 'sass' | |
helpers do | |
include Rack::Utils;alias_method :h, :escape_html | |
#追加 |
%form{:method=>"POST",:action => '/fmcomment'} | |
%input{:type=>"hidden",:name=>"_method",:value=>"PUT"} | |
%table | |
%tr | |
%td 名前 | |
%td | |
%input{:type=>"text",:name=>"name"} | |
%tr | |
%td タイトル | |
%td |
require 'rfm' | |
class FMServer | |
def initialize() | |
@FM_CONFIG = { | |
:host => "FileMakerServerの接続先IP", | |
:account_name => "FileMakerFileのログインアカウント", | |
:password => "FileMakerFileのログインパスワード", | |
:database => "FileMakerFileの名前", | |
:ssl => false, | |
:root_cert => false, |
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
import sys, urllib | |
import os.path | |
def download(url): | |
img = urllib.urlopen(url) | |
localfile = open( os.path.basename(url), 'wb') | |
localfile.write(img.read()) |