Skip to content

Instantly share code, notes, and snippets.

View amcorreia's full-sized avatar
🎯
Focusing

Alessandro Madruga Correia amcorreia

🎯
Focusing
  • Depressive world
View GitHub Profile
@amcorreia
amcorreia / nginx.conf
Last active August 29, 2015 14:06 — forked from plentz/nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
# cat sciencevpn.sh
#!/bin/bash
ARGC=$#
if [[ "$ARGC" -lt "1" ]]; then
echo "Usage: $0 [on|off]"
exit 0;
fi
ENV=env
SRC_CORE=src
CLOC=$(shell which cloc)
test-all: clean pep8 cloc init-coverage test-unit test-functionnal test-integration report-coverage flake8 lint clone
pep8:
$(ENV)/bin/pep8 --max-line-length=99 $(SRC_CORE) > pep8.log || :

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should consider using (and some other shiny extras).

@amcorreia
amcorreia / awesome-php.md
Created April 11, 2014 04:36 — forked from SergSlon/awesome-php.md
List of amazingly awesome PHP libraries

Awesome PHP

A list of amazingly awesome PHP libraries, resources and shiny things.

Composer

(originally from: http://elytra.net/2011/03/31/hello-world/)

Howto

Install nginx+PHP:

brew install https://raw.github.com/ampt/homebrew/php/Library/Formula/php.rb --with-fpm --with-mysql --enable-cgi
brew install nginx
@amcorreia
amcorreia / killtcp.md
Created April 8, 2014 22:47 — forked from christianchristensen/killtcp.md
kill TCP connection