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
#!/bin/bash | |
# SQL情報 | |
PREFIX= | |
USER= | |
PASSWORD= | |
SCHEMA= | |
# 最終保存日 | |
DATE=`date '+%Y-%m-%d'` |
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
// 指定のウィンドウサイズに変更 | |
int width = 480; | |
int height = 600; | |
driver.manage().window().setSize(new Dimension(width, height)); | |
// 最大化 | |
/* driver.manage().window().maximize(); */ | |
if (isFirefox) { | |
FirefoxProfile profile = new FirefoxProfile(); |
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
import java.io.BufferedReader; | |
import java.io.DataOutputStream; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.UnsupportedEncodingException; | |
import java.net.HttpURLConnection; | |
import java.net.ProtocolException; | |
import java.net.URL; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Calendar; |
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
" 日本語入力設定 | |
if has('multi_byte_ime') || has('xim') | |
" IME ON時のカーソルの色を設定(設定例:紫) | |
highlight CursorIM guibg=Purple guifg=NONE | |
" 挿入モード・検索モードでのデフォルトのIME状態設定 | |
set iminsert=0 imsearch=0 | |
" 挿入モードでのIME状態を記憶させない | |
inoremap <silent> <ESC> <ESC>:set iminsert=0<CR> | |
endif |
NewerOlder