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://github.com/igorw/silex-examples | |
https://github.com/77web/my-silex-examples |
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
location / { | |
try_files $uri $uri/ /index.php?$args; | |
} |
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
O FEDERATED é um Storage Engine, ou seja, um motor de armazenamento que surgiu juntamente com o MySQL 5 e que permite ao administrador de bancos de dados ou quem quer que esteja pilotando o MySQL, criar tabelas locais mas que utilizam dados remotos, localizados em outros servidores de bancos de dados localizados em outra posição geográfica ou IP diferente - podendo ser utilizado também em tabelas de um mesmo banco de dados. | |
Para saber se este motor esta habilitado em seus servidores de bancos de dados, entre com o comando show engines, dentro do mysql client: | |
mysql> show engines; | |
+------------+---------+----------------------------------------------------------------+--------------+------+------------+ | |
| Engine | Support | Comment | Transactions | XA | Savepoints | | |
+------------+---------+----------------------------------------------------------------+--------------+------+------------+ | |
| InnoDB | YES | Supports transactions, row-level lo |
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 true; do | |
clear; | |
echo "Free Memory:"; | |
free -h | grep Mem: | awk -F' ' '{print $4}'; | |
sleep 10; | |
done |
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
#Variables: | |
ServerName - String (Example: Server01) | |
macAddress - String (Example: 000027D15bE8) | |
# Commands | |
# verificar VMs ativas | |
vboxmanage list runningvms |
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
$("#header, .pagehead, .site-footer").hide(); | |
$(".container").css("width", "auto"); | |
$("#js-gist-files div.input").css('height', '400px') |
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
Considere utilizar o clear; antes do comando (clear; git log --sin...) | |
## Analitico do dia | |
git log --since=8.hours --stat --pretty=oneline | grep "insertion" | awk -F' ' '{print "Arquivos: " $1 " - Linhas: " $4 }'; | |
Exemplo de retorno: | |
Arquivos: 1 - Linhas: 2 | |
Arquivos: 52 - Linhas: 2543 | |
Arquivos: 3 - Linhas: 321 |
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
data:text/html, <html contenteditable> |
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
##Falta de foco: o mal de uma geração? | |
por Elton Minetto - 9/09/2014 - publicado em carreira | 3 Comments | |
Uma das minhas atribuições na Coderockr é encontrar novos talentos, tanto para nossos projetos quanto para nossos clientes (aliás, estamos sempre procurando desenvolvedores PHP, iOS e Android, então se tiver interesse envie um e-mail para jobs@coderockr.com). Ao conversar com antigos empregadores buscando referências é muito comum ouvir frases como: | |
“Fulano é um bom programador, mas não consegue manter o foco” | |
“Ciclano tem grande potencial mas vive perdendo a concentração, fica perdido em redes sociais e a qualidade do trabalho cai bastante” |
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
Reescrita de URL | |
OlderNewer