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
FROM centos:8 | |
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial && \ | |
dnf -y upgrade && \ | |
dnf -y install glibc-locale-source && \ | |
dnf clean all && \ | |
localedef -f UTF-8 -i ja_JP ja_JP.UTF-8 && \ | |
ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime | |
ENV LANG="ja_JP UTF-8" \ | |
LANGUAGE="ja_JP:ja" \ |
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
$ code --list-extensions | xargs -L 1 echo code --install-extension | |
code --install-extension Angular.ng-template | |
code --install-extension Asuka.insertnumbers | |
code --install-extension atomiks.moonlight | |
code --install-extension bierner.color-info | |
code --install-extension bradgashler.htmltagwrap | |
code --install-extension chrmarti.regex | |
code --install-extension codezombiech.gitignore | |
code --install-extension CoenraadS.bracket-pair-colorizer-2 | |
code --install-extension dbaeumer.vscode-eslint |
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/sh | |
read -p "作成するフォルダ数を入力してください。: " num | |
for looop in `seq $num` | |
do | |
echo "フォルダ「No.${looop}」の作成.." | |
mkdir -p "No.$looop" | |
done |
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
// 有効にすると、ファイルの保存時に末尾の空白をトリミングします。 | |
"files.trimTrailingWhitespace": true, |
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
#------------------------------------------------------------------------------- | |
# python rename.py | |
# を実行すると /yyyyMMdd(今日日付)配下のExcelファイルを | |
# eggs.xls → eggs_yyyyMMdd.xls にリネームします。 | |
#------------------------------------------------------------------------------- | |
# -*- coding: utf-8 -*- | |
import sys, os, glob, datetime | |
#ファイル名と拡張子の間に文字列を挿入する | |
def makeNewName(filename, suffix): |