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
set -e | |
set -u | |
neutrinoDir=${1} | |
shift | |
set -- -b "${1}" -s "${2}" -n "${3}" -m "${4}" -p "${5}" -f "${6}" | |
while getopts b:f:m:n:p:s: arg | |
do |
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
set -e | |
set -u | |
neutrinoDir=${1} | |
shift | |
set -- -b "${1}" -s "${2}" -n "${3}" -m "${4}" -p "${5}" -f "${6}" | |
while getopts b:f:m:n:p:s: arg | |
do |
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 ubuntu:18.04 | |
RUN apt-get update && apt-get -y install libgomp1 |
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
set -e | |
set -u | |
neutrinoDir=${1} | |
shift | |
set -- -b "${1}" -s "${2}" -n "${3}" -m "${4}" -p "${5}" -f "${6}" | |
bundleIdentifier=com.github.mattintosh4.easywine | |
bundlePath=$(osascript -e $'use framework "AppKit"\non run argv\nPOSIX path of ((current application\'s NSWorkspace\'s sharedWorkspace()\'s URLForApplicationWithBundleIdentifier:(item 1 of argv)) as string)\nend run' -- ${bundleIdentifier}) |
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/ksh | |
set -e | |
set -u | |
#set -x | |
PS4=$'\e[32m>>>\e[m ' | |
while getopts b:e:f:m:n:p:h arg | |
do | |
case ${arg} in |
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 | |
# vim:fenc=utf-8 ff=unix ft=sh et sts=4 sw=4 ts=4: | |
set -e | |
set -u | |
#set -x | |
PATH=/usr/local/bin:/usr/bin:/bin | |
: ${QUALITY:=90} |
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 -y install httpd mysql-server patch php php-intl php-json php-mbstring php-mysqlnd php-opcache php-pdo php-pecl-zip php-xml | |
wget http://downloads.ec-cube.net/src/eccube-4.0.3.zip | |
unzip -q eccube-4.0.3 | |
rm -rf /var/www/html | |
mv eccube-4.0.3 /var/www/html | |
chown -R apache: /var/www/html | |
patch /etc/httpd/conf/httpd.conf <<'!' | |
--- /dev/fd/63 2019-12-03 22:46:40.673649696 +0900 | |
+++ httpd.conf 2019-12-03 22:46:05.214422731 +0900 | |
@@ -144,14 +144,14 @@ |
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 | |
set -e | |
set -u | |
set -x | |
name="El Capitan" | |
tempfile=$(mktemp -u) | |
hdiutil create -size 8g -fs HFS+J -layout SPUD ${tempfile} | |
hdiutil attach ${tempfile}.dmg -noverify -nobrowse -mountpoint "/Volumes/Install OS X ${name}" | |
sudo "/Applications/Install OS X ${name}.app/Contents/Resources/createinstallmedia" --volume "/Volumes/Install OS X ${name}" --applicationpath "/Applications/Install OS X ${name}.app" --nointeraction |
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 | |
set -e | |
set -u | |
set -x | |
name="High Sierra" | |
tempfile=$(mktemp -u) | |
hdiutil create -size 8g -fs HFS+J -layout SPUD ${tempfile} | |
hdiutil attach ${tempfile}.dmg -noverify -nobrowse -mountpoint "/Volumes/Install macOS ${name}" | |
sudo "/Applications/Install macOS ${name}.app/Contents/Resources/createinstallmedia" --volume "/Volumes/Install macOS ${name}" |
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
/usr/bin/curl -O 'http://ftp.jaist.ac.jp/pub/Linux/debian/pool/main/f/fonts-vlgothic/fonts-vlgothic_20141206.orig.tar.xz' | |
/usr/bin/tar xf fonts-vlgothic_20141206.orig.tar.xz --strip=1 '**.ttf' | |
cp VL-Gothic-Regular.ttf VL-PGothic-Regular.ttf ~/Library/Application\ Support/com.xmtrading.mt4_???????????????/drive_c/windows/Fonts | |
rm fonts-vlgothic_20141206.orig.tar.xz VL-PGothic-Regular.ttf VL-Gothic-Regular.ttf | |
/usr/bin/iconv -f UTF-8 --unicode-subst="\x%04x" -t ISO-8859-1 <<! | tee -a ~/Library/Application\ Support/com.xmtrading.mt4_???????????????/user.reg | |
[Software\\\\Wine\\\\Fonts\\\\Replacements] $(date +%s) | |
"MS UI Gothic"="VL PGothic" | |
"MS ゴシック"="VL Gothic" | |
"MS Pゴシック"="VL PGothic" |
NewerOlder