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/bin/env bash | |
| TABLES="table1 table2 table3" | |
| str=$(IFS=' '; for x in $TABLES; do printf " -t %s" "$x"; done) | |
| echo "$str" | |
| #=> -t table1 -t table2 -t table3 |
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/bin/env bash | |
| set -eu | |
| # set -x | |
| # shellcheck source=env.sh | |
| . env.sh | |
| mkdir -p $OUTPUT_DIR | |
| echo "DROP DATABASE IF EXISTS $DBNAME;" | psql --username="$USERNAME" -h "$HOST" template1 |
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
| rem 毎回開くシナリオ、エビデンスのファイルを設定 | |
| set filename1=テストシナリオ.xlsx | |
| set filename2=エビデンス.xlsx | |
| rem 毎回開くフォルダを設定 | |
| set scenario_folder=W:\scenario_folder\ | |
| set evidence_folder=Z:\evidence_folder\ | |
| rem ファイルパスを設定 | |
| set scenario_path=%scenario_folder%%filename1% |
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
| f | |
| s | |
| dash | |
| evil | |
| evil-leader | |
| evil-matchit | |
| evil-numbers | |
| evil-visualstar | |
| elisp-slime-nav | |
| ace-jump-mode |
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
| # Cask | |
| 2048-game | |
| ac-php | |
| ac-php-core | |
| ace-jump-buffer | |
| ace-window | |
| ag | |
| aggressive-indent | |
| alchemist | |
| alect-themes |
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
| ac-clang | |
| anything-c-moccur | |
| csv-mode | |
| gtags | |
| html-helper-mode | |
| menu-tree | |
| moccur-edit | |
| msbuild-parser | |
| msvc | |
| navi |
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
| ace-jump-mode | |
| anaphora | |
| dash | |
| debbugs | |
| diminish | |
| dired-details | |
| el-get | |
| elisp-slime-nav | |
| i3-emacs | |
| ido-ubiquitous |
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
| function Get-ScreenShot | |
| { | |
| [CmdletBinding()] | |
| param( | |
| [parameter(Position = 0, Mandatory = 0, ValueFromPipelinebyPropertyName = 1)] | |
| [ValidateNotNullOrEmpty()] | |
| [string]$OutPath = "$env:USERPROFILE\Documents\ScreenShot", | |
| #screenshot_[yyyyMMdd_HHmmss_ffff].png | |
| [parameter(Position = 1, Mandatory = 0, ValueFromPipelinebyPropertyName = 1)] |
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
| anzu | |
| auctex | |
| auto-compile | |
| avy | |
| benchmark-init | |
| buffer-move | |
| calc | |
| cc-mode | |
| clean-aindent-mode | |
| cmake-ide |
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
| (require 'f) | |
| (defun current-line-number () | |
| "Print the current line number (in the buffer) of point." | |
| (interactive) | |
| (save-restriction | |
| (widen) | |
| (save-excursion | |
| (beginning-of-line) | |
| (1+ (count-lines 1 (point)))))) |