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
;;;; -*- mode: emacs-lisp; coding: iso-2022-7bit -*- | |
;; 文字コードの設定 | |
(set-language-environment "Japanese") | |
(prefer-coding-system 'utf-8-unix) | |
(set-default-coding-systems 'utf-8-unix) | |
(setq file-name-coding-system 'sjis) | |
(setq locale-coding-system 'utf-8) | |
;; フォント設定 |
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
@echo off | |
rem 複数のcsvファイルを1つのcsvファイルに結合する。 | |
rem その際、2番目以降のCSVファイルは先頭行を除去する。 | |
rem 本バッチファイルのあるディレクトリをカレントディレクトリにする | |
cd /d %~dp0 | |
rem 結合ファイル | |
set resultfile=result.csv |
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
@echo off | |
:: ========================================================== | |
:: Windows(64bit) batch file tor set environment variables | |
:: JAVA_HOME and PATH for Oracle JDK or OpenJDK. | |
:: | |
:: For Oracle JDK, search JDK installed path from Windows registory. | |
:: For OpenJDK, search JDK installed path from directory name under | |
:: OPENJDK_BASE directory specified in this batch file. (needs to | |
:: customize your configuration) |
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 Get-MsiDatabaseProperties() { | |
<# | |
.SYNOPSIS | |
This function retrieves properties from a Windows Installer MSI database. | |
.DESCRIPTION | |
This function uses the WindowInstaller COM object to pull all value from | |
the Property table from a MSI | |
.EXAMPLE | |
Get-MsiDatabaseProperties 'MSI_PATH' | |
.PARAMETER FilePath |
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 | |
# | |
# Setting alternatives for Oracle JDK | |
# | |
JAVA_BASE=/usr/java/latest | |
JDK_BIN=$JAVA_BASE/bin | |
JRE_BIN=$JAVA_BASE/jre/bin | |
# check root permission | |
if [[ $EUID -ne 0 ]]; then |
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
/* | |
* Javadoc用docletクラスを作成する。 | |
* 次の@sinceタグのものだけリストアップする。 | |
* @since 1.8 | |
* @since 8 | |
* @since JDK1.8 | |
* sinceタグの抽出方法は、ClassDoc/MethodDOcのtags("@since")を呼出しTag[]を取得する。 | |
* | |
* 注意点 | |
* - コンパイル時にJDKのtools.jarをクラスパスに追加する(com.sun.javadocパッケージを使用するため) |