http://arfyasu.hatenablog.com/entry/2016/01/26/212543
http://kkurahar.github.io/blog/2013/03/24/aws-node-install/
http://lealog.hateblo.jp/entry/2012/10/04/005326
$ sudo yum install git -y
$ sudo yum install openssl-devel -y
$ sudo yum install gcc-c++ -y
$ sudo yum install make -y
$ sudo yum update -y
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
FROM ubuntu:14.04 | |
RUN apt-get install -y curl unzip | |
# TERRAFORM ENV | |
ENV TERRAFORM_VERSION=0.6.12 | |
ENV TERRAFORM_URL=https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/ | |
ENV TERRAFORM_FILE=${TERRAFORM_URL}terraform_${TERRAFORM_VERSION}_linux_amd64.zip | |
ENV AWS_ACCESS_KEY_ID= |
npm install -g asciify
> $ asciify
Options:
-l, --list List the fonts
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
Show hidden characters
{"presets": ["es2015", "react"]} |
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
<?php | |
$arr = [ | |
(object) ['name' => 'aaa'], | |
(object) ['name' => 'bbb'], | |
(object) ['name' => 'ccc'], | |
]; | |
foreach ($arr as $v) { | |
var_dump($v->name); |
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
FROM php:5.6-apache | |
RUN a2enmod rewrite | |
RUN usermod -u 1000 www-data |
- 5.5
mysql> SELECT @@GLOBAL.sql_mode;
+-------------------+
| @@GLOBAL.sql_mode |
+-------------------+
| |
+-------------------+
1 row in set (0.00 sec)