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 | |
if [ $# -ne 1 ]; then | |
echo "プロジェクト名を設定設定してください。" 1>&2 | |
exit 1 | |
fi | |
# プロジェクト名設定 | |
PROJECT_NAME=$1 |
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
dnf group install "Development Tools" -y | |
cd ~ | |
git clone https://github.com/jhawthorn/fzy.git | |
cd fzy |
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 ffmpegパス設定 | |
set BIN_PATH=C:\ffmpeg-3.4.2-win64-static\bin | |
REM 出力先ディレクトリ指定 | |
set DEST_DIR=D:\01_Movie\80_Sequence | |
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
# IP Masquerade using Firewalld for CentOS 8.1 | |
# | |
# [Public Server] | |
# "eth0": "globalIP" - connected router or WAN | |
# "eth1": "10.0.0.1" - connected local switch | |
# | |
# [Local Server] | |
# "eth0": "10.0.1.1" - connected local switch | |
# | |
# |
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
# [Setup Desktop Environment] | |
dnf groupinstall -y "Server with GUI"; | |
dnf install -y xrdp; | |
systemctl enable xrdp --now; | |
systemctl status xrdp; | |
# Google Chrome | |
cd; | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm; |
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
# | |
# [ Setup phpenv w composer, rbenv, pyenv for CentOS 8.1 ] | |
# | |
# exec as root user. | |
# | |
# | |
# Packages | |
# | |
# remi and epel and enable PowerTools. | |
# and setup "dnf update" automaticly. |
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('vim_starting') | |
" 挿入モード時に非点滅の縦棒タイプのカーソル | |
let &t_SI .= "\e[6 q" | |
" ノーマルモード時に非点滅のブロックタイプのカーソル | |
let &t_EI .= "\e[2 q" | |
" 置換モード時に非点滅の下線タイプのカーソル | |
let &t_SR .= "\e[4 q" | |
endif |
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
rem preparation command | |
set pwshcmd=powershell -noprofile -command "&{[System.Reflection.Assembly]::LoadWithPartialName('System.windows.forms') | Out-Null;$OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog; $OpenFileDialog.ShowDialog()|out-null; $OpenFileDialog.FileName}" | |
rem exec commands powershell and get result in FileName variable | |
for /f "delims=" %%I in ('%pwshcmd%') do set "FileName=%%I" | |
@echo off | |
setlocal | |
set "psCommand="(new-object -COM 'Shell.Application')^ |
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 | |
function setup() { | |
dirs=() | |
dirs=("${dirs[@]}" "Scenes") | |
dirs=("${dirs[@]}" "Prefabs") | |
dirs=("${dirs[@]}" "Scripts") | |
dirs=("${dirs[@]}" "Animations") | |
dirs=("${dirs[@]}" "Materials") |
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
/** | |
* Some Class | |
*/ | |
export default class Some { | |
} | |
/** | |
* boot process | |
*/ | |
(function(global) { |
NewerOlder