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
'doctrine' => array( | |
'driver' => array( | |
'application_entity' => array( | |
/* Yaml Driver Example */ | |
'class' => 'Doctrine\ORM\Mapping\Driver\YamlDriver', | |
'paths' => __DIR__ . '/yml/application' | |
/* Xml Driver Example */ | |
//'class' => 'Doctrine\ORM\Mapping\Driver\XmlDriver', |
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
server { | |
server_name default; | |
root /var/www/symfony/web; | |
client_max_body_size 100M; | |
fastcgi_read_timeout 1800; | |
location / { |
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
# you can repeat this for any version of PHP available in brew | |
# adding needed taps | |
brew tap homebrew/php | |
brew tap homebrew/homebrew-php | |
# install php56 + mongodb and unlinking it | |
brew install php56 | |
brew install homebrew/php/php56-mongodb | |
brew unlink php56 |
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
#https://docs.docker.com/machine/drivers/vm-fusion/ | |
#vmwarefusion | |
docker-machine create --driver vmwarefusion \ | |
--vmwarefusion-cpu-count 4 \ | |
--vmwarefusion-disk-size 200000 \ | |
--vmwarefusion-memory-size 4096 \ | |
default | |
#virtualbox | |
docker-machine create --driver virtualbox \ |
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
#docker install on ubuntu 16.04 LTS | |
sudo apt update | |
sudo apt install apt-transport-https ca-certificates | |
sudo sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo echo deb https://apt.dockerproject.org/repo ubuntu-xenial main | sudo tee /etc/apt/sources.list.d/docker.list | |
sudo apt update | |
sudo apt upgrade | |
sudo apt-cache policy docker-engine | |
sudo apt install linux-image-extra-$(uname -r) linux-image-extra-virtual |
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 | |
while getopts h:u:s:d: option | |
do | |
case "${option}" | |
in | |
h) HOST=${OPTARG};; | |
u) USER=${OPTARG};; | |
s) SOURCE=${OPTARG};; | |
d) DESTINATION=$OPTARG;; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>my_fancy_launchd_job</string> | |
<key>LowPriorityIO</key> | |
<false/> | |
<key>Nice</key> | |
<integer>0</integer> |
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
#Additionally, for those blessed with MySQL >= 5.1.12: | |
Execute SET GLOBAL log_output = 'TABLE'; | |
Execute SET GLOBAL general_log = 'ON'; | |
Take a look at the table mysql.general_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
#description :This Makefile will help you installing mongodb or mariadb on an ubuntu 16.04 LTS machine. The goal is to add more targets which i personaly need | |
#author :Steve Seidenthal | |
#date :2017-05-25 | |
#version :0.1 | |
#usage :make, then follow the instructions | |
#notes :before using make sure you have "make" and "build-essential" installed | |
CURRENT_RELEASE := $(shell lsb_release -sr) | |
hello: |
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 | |
# Maintainer Steve Seidenthal <[email protected]> | |
# | |
# This is a custom entrypoint for an php:7.1-apache image, it might work in a similar way with other base images but it | |
# has not been tested | |
# | |
# what it does | |
# - it parses a parameters file *CONFIG_FILE* of your project an looks for variable placeholders | |
# - it checks if any _FILE appended environment variables exist, if so it puts the content of the file in the variable | |
# - it makes sure all needed variables (as defined in CONFIG_FILE) exist |
OlderNewer