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
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"Behat", | |
"Behat Features", | |
"Colorsublime", |
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/sh | |
PHPFILES=`git diff --cached --name-only --diff-filter=ACMR HEAD | grep .php` | |
# verifica CodeSniffer PHP | |
if [ "$PHPFILES" != "" ] | |
then | |
# verifica arquivos PHP | |
echo "Executando Code Sniffer..." | |
./bin/phpcs --warning-severity=0 --standard=PSR2 --encoding=utf-8 -p $PHPFILES |
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
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |
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 | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi | |
yum groupinstall -y 'Development tools' | |
yum install -y httpd php php-devel mysql mysql-server php-mysqlnd php-mssql php-opcache |
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 | |
# To enable this hook, rename this file to "post-update". | |
project_folder="/var/www/example"; # Folder where the project live | |
project_name="Example Project"; # Project name | |
remote_upstream="stage"; # Remote server name | |
upstream_branch="develop"; # Remote upstream branch name | |
remote_branch="$remote_upstream/$upstream_branch"; # The upstream branch on remote server | |
apache_user=$(pstree -p | grep -E "apache|httpd" -m1 | rev | cut -d'(' -f1 | rev | tr -d ')' | xargs ps -o user h -p); # Apache user |
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 | |
# To enable this hook, rename this file to "post-update". | |
project_folder="/var/www/example"; # Folder where the project live | |
project_name="Example"; # Project name | |
remote_upstream="origin"; # Remote server name | |
upstream_branch="develop"; # Remote upstream branch name | |
remote_branch="$remote_upstream/$upstream_branch"; # The upstream branch on remote server | |
apache_user=$(pstree -p | grep -E "apache|httpd" -m1 | rev | cut -d'(' -f1 | rev | tr -d ')' | xargs ps -o user h -p); # Apache user |
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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"draw_minimap_border": true, | |
"draw_white_space": "all", | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
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
/* Português - Brasil for the jQuery UI date picker plugin. */ | |
/* Written by Danton Dietze ([email protected]). */ | |
jQuery(function($){ | |
$.datepicker.regional['pt-BR'] = { | |
clearText: 'Limpar', | |
clearStatus: '', | |
closeText: 'Fechar', | |
closeStatus: 'Fermer sans modifier', | |
prevText: '<Anterior', | |
prevStatus: '<<Ano anterior', |
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
# Ensure that Apache listens on port 80 | |
Listen 80 | |
# Listen for virtual host requests on all IP addresses | |
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
DocumentRoot /www/example1 | |
ServerName www.example.com |
NewerOlder