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
; https://editorconfig.org/ | |
root = true | |
[*] | |
insert_final_newline = true | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
indent_style = space | |
indent_size = 2 |
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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> | |
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/> | |
</its:rules> | |
<description>Set preferable fonts for non-Latin</description> | |
<alias> | |
<family>serif</family> |
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
list disk | |
select disk n(nはUSBディスクの番号) | |
clean | |
create partition primary | |
format fs=fat32 quick(fat32を他のファイルシステムに変更可能) | |
assign letter =x(xはパーティションに割り当てできるドライブ文字) | |
active | |
exit |
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
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f |
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
LANG="C" | |
LC_COLLATE="ja_JP.UTF-8" | |
LC_NUMERIC="ja_JP.UTF-8" | |
LC_TIME="en_US.UTF-8" | |
LC_MONETARY="ja_JP.UTF-8" | |
LC_PAPER="ja_JP.UTF-8" | |
LC_MEASUREMENT="ja_JP.UTF-8" | |
#LC_MESSAGE="en_US.UTF-8" | |
GDM_LANG="ja_JP.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
;;; init.el --- emacs init file | |
;;; Commentary: | |
;;; Code: | |
(set-language-environment "Japanese") | |
(set-default-coding-systems 'utf-8) | |
(if (eq system-type 'windows-nt) |
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
/usr/libexec/mozc/mozc_tool --mode=config_dialog | |
「一般」「キー設定」 | |
キー設定の選択「ことえり」 | |
「編集...」 | |
「Mozc キー設定」 | |
変換中 Ctrl g キャンセル | |
入力文字なし Ctrl \ IMEを無効化 | |
直接入力 Ctrl \ IMEを無効化 | |
変換前入力中 Ctrl \ IMEを無効化 |
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
# https://stackoverflow.com/questions/29102725/go-sql-driver-get-interface-column-values | |
var myMap = make(map[string]interface{}) | |
rows, err := db.Query("SELECT * FROM myTable") | |
defer rows.Close() | |
if err != nil { | |
log.Fatal(err) | |
} | |
colNames, err := rows.Columns() | |
if err != nil { |
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
#!/bin/bash | |
NEXTDAY=$(date -d '1 days' --rfc-3339='date') | |
ATTIME="00:01 ${NEXTDAY:5:2}${NEXTDAY:8:2}${NEXTDAY:2:2}" | |
sudo at "${ATTIME}" -f /root/reboot.sh |
NewerOlder