This file contains hidden or 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 | |
################################################## | |
#### Script para importar dumps de MySQL ######### | |
#### ######### | |
#### Instruções: ######### | |
#### Sempre passar os parametros ######### | |
#### -u Nome de usuário ######### | |
#### -h Hostname ######### | |
#### -d Nome do Banco ######### |
This file contains hidden or 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 | |
################################################## | |
#### Script para importar dumps de MySQL ######### | |
################################################## | |
# Configurações | |
# Onde está seu MySQL? | |
MySQL="/opt/local/bin/mysql5" |
This file contains hidden or 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
<?php | |
/* | |
* Check HTTP Header Response | |
* Author: Brunno dos Santos | |
* Version: 1.0 | |
* Usage: run php check_http.php www.yoursite.com | |
*/ | |
$ch = curl_init($argv[1]); | |
curl_setopt($ch, CURLOPT_NOBODY, 1); |
This file contains hidden or 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
<?php | |
$included_files = get_included_files(); | |
foreach ($included_files as $filename) { | |
echo "$filename\n"; | |
} | |
?> |
This file contains hidden or 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
<?php | |
/* | |
* Title: vhost.php | |
* Create_date: 2011.02.23 | |
* Author: Abstraindo Team | |
* Version: 0.1 | |
* Desc: Script para auto inserção de virtual host do Apache, | |
* adição de regra no arquivo host e envio de e-mail para os | |
* interessados. | |
* HowToUse: execute sudo php vhost.php $endereçoVhost $pathProject |
NewerOlder