-
Check your version
brew --version
before proceeding -
Assuming that you have already installed php and apache via Homebrew v1.6+
-
Install xDebug php extension
pecl channel-update pecl.php.net
pecl clear-cache
using UnityEngine; | |
/// <summary> | |
/// Provides means to deep-copy a TerrainData object because Unitys' built-in "Instantiate" method | |
/// will miss some things and the resulting copy still shares data with the original. | |
/// </summary> | |
public class TerrainDataCloner | |
{ | |
/// <summary> | |
/// Creates a real deep-copy of a TerrainData |
# Extension package to add on Ubuntu 14.04 | |
sudo apt-get install libxml2-dev libbz2-dev libmcrypt-dev libreadline-dev libxslt1-dev autoconf -y | |
# Extension package to add on Ubuntu 18.04 | |
sudo apt-get install libssl-dev | |
# Extension package to add on Ubuntu 20.04 | |
sudo apt install -y pkg-config libssl-dev libsqlite3-dev libbz2-dev libxml2-dev libcurl4-openssl-dev libonig-dev libpq-dev libreadline-dev libxslt1-dev libzip-dev libsodium-dev libwebp-dev | |
# +apxs2 | |
sudo apt-get install apache2-dev -y |
#!/bin/bash | |
# | |
# Pre-commit hooks | |
# Check branch name | |
BRANCH_NAME_LENGTH=`git rev-parse --abbrev-ref HEAD | grep -E '^t[0-9]{2,16}\_.*_[A-Za-z]{2,2}$' | wc -c` | |
if [ ${BRANCH_NAME_LENGTH} -eq 0 ] ; then | |
echo -e '\E[37;44m'"\033[1mERROR\033[0m in pre-commit hook: vim /export/web/.git/hooks/pre-commit" | |
echo "Branch name should be like t00000_blah_blah_CA - brand is two letters" |
//-- pertinence et idf (Jean-Claude Jean après ville=Rueil) | |
{ | |
"query": { | |
"bool": { | |
"should": [ | |
{ | |
"text": { | |
"nom": "jean" | |
} | |
}, |
$ curl --dump-header - localhost:12345 | |
HTTP/1.0 404 Not Found | |
Content-Type: text/html | |
Content-Length: 43 | |
Date: Fri, 05 Dec 2014 17:48:56 +0000 | |
<html> | |
<body> | |
<h1>WUT</h1> | |
</html> |
server { | |
listen 80; | |
server_name localhost; | |
root /Users/YOUR_USERNAME/Sites; | |
access_log /Library/Logs/default.access.log main; | |
location / { | |
include /usr/local/etc/nginx/conf.d/php-fpm; | |
} |
# AWS specific install of Docker | |
sudo yum update -y | |
sudo yum install -y docker | |
sudo service docker start | |
sudo usermod -a -G docker ec2-user | |
# exit the SSH session, login again | |
# Docker | |
docker run -d --hostname my-rabbit --name some-rabbit -p 4369:4369 -p 5671:5671 -p 5672:5672 -p 15672:15672 rabbitmq |