Skip to content

Instantly share code, notes, and snippets.

@ma2saka
ma2saka / Dockerfile
Created September 27, 2018 12:41
ec-cube 2.13.5を試すコンテナの作成と起動
FROM php:5-apache
RUN apt update
RUN apt-get install -y apt-file vim mysql-client && apt-file update && apt-get install -y software-properties-common && \
add-apt-repository ppa:ondrej/php && \
docker-php-ext-install pdo_mysql mbstring mysql
RUN curl -o eccube-2_13.tar.gz https://codeload.github.com/EC-CUBE/eccube-2_13/tar.gz/eccube-2.13.5 && tar xvzf eccube-2_13.tar.gz
RUN echo 'date.timezone = Asia/Tokyo' >> /usr/local/etc/php/conf.d/99_myconf.ini
RUN cp -r eccube-2_13-eccube-2.13.5/* ./ && rm -rf eccube-2_13-eccube-2.13.5/
RUN sh setup.sh
RUN sed -i -e 's|DocumentRoot /var/www/html|DocumentRoot /var/www/html/html|' /etc/apache2/sites-available/000-default.conf
@gyohk
gyohk / gist:fa3deb4e850c697789b785d97bd5f605
Created April 2, 2017 11:00
mvbcoding/awslinux のvagrant boxがWindowsで起動しない問題
(User)/.vagrant.d/boxes/ の配下にあるawslinuxのディレクトリ内で、box.ovf を編集すれば治る。
「amzn-ami-hvm-201609120170119-x86_64-gp2-201702041905-guest-******」のように延々と続くIDが3箇所ほど記述されており、
Windowsでは長すぎてエラーになるため、「****-guest」の辺りで切って、短くしてやると起動する。
@hayajo
hayajo / changelog_en.md
Last active July 19, 2024 05:47
ChangeLog を支える英語

ChangeLog を支える英語

ChangeLog を書く際によく使われる英語をまとめました。

ほとんど引用です。

基本形