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
# type of database. Run with -dbhelp for details | |
schemaspy.t=mysql | |
# optional path to alternative jdbc drivers. | |
schemaspy.dp=/home/vagrant/dbspy/mysql-connector-java-5.1.43-bin.jar | |
# database properties: host, port number, name user, password | |
schemaspy.host=server | |
schemaspy.port=3306 | |
schemaspy.db=db_name | |
schemaspy.u=database_user | |
schemaspy.p=database_password |
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
$ sudo yum localinstall http://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm | |
$ sudo yum install mysql-community-server |
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
C:\vagrant>vagrant box add https://app.vagrantup.com/bento/boxes/centos-7.3 | |
==> box: Loading metadata for box 'https://app.vagrantup.com/bento/boxes/centos-7.3' | |
This box can work with multiple providers! The providers that it | |
can work with are listed below. Please review the list and choose | |
the provider you will be working with. | |
1) parallels | |
2) virtualbox | |
3) vmware_desktop |
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
export PASSWORD_SEED=hoge | |
export MONGO_URI=mongodb://hoge:hoge@localhost/crowidb | |
node app.js |
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
$ composer require kitchenu/slim-debugbar |
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
[XDebug] | |
zend_extension = /opt/remi/php70/root/usr/lib64/php/modules/xdebug.so | |
xdebug.coverage_enable=1 | |
xdebug.default_enable=1 | |
xdebug.profiler_enable=1 | |
xdebug.profiler_output_dir="/tmp" | |
xdebug.remote_handler = "dbgp" | |
xdebug.remote_port = 9001 | |
xdebug.remote_autostart=1 | |
xdebug.remote_enable=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
$this->logger->addDebug('log'); | |
$this->logger->addInfo('log'); | |
$this->logger->addWarning('log'); |
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
abstract class Mapper { | |
protected $db; | |
public function __construct($db) { | |
$this->db = $db; | |
} | |
} |
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
# yum install epel-release | |
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | |
# yum install --enablerepo=remi,remi-php70 php php-devel php-mbstring php-pdo php-gd php-mysqlnd unzip |
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
-rw------- 1 vagrant vagrant 389 Aug 23 15:10 authorized_keys |