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
tell application "Address Book" | |
activate | |
## caso queria que atualize somente os selecionados | |
#set lista to selection | |
## selecine todos os contatos | |
set lista to people | |
## percorro cada contato e removo os que não possuem um telefone |
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
# Completed on Thu Jul 9 00:50:55 2009 | |
# Generated by iptables-save v1.4.1.1 on Thu Jul 9 00:50:55 2009 | |
*filter | |
:INPUT DROP [0:0] | |
:FORWARD DROP [0:0] | |
:OUTPUT DROP [0:0] | |
-A INPUT -i lo -j ACCEPT | |
-A INPUT -i ! lo -m state --state RELATED,ESTABLISHED -j ACCEPT | |
-A INPUT -i ! lo -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT | |
-A INPUT -i ! lo -p tcp -m state --state NEW -m tcp --dport 10000 -j ACCEPT |
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 | |
/** | |
* PHP-GTK Stub generator | |
* | |
* This program can be run on any system with PHP-GTK installed. | |
* It generates a skeleton file containing all classes present | |
* in the currently active PHP-GTK extension, with their | |
* constants, methods, and signatures thereof. | |
* | |
* This file can be installed on various IDEs to enable code |
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 | |
/** | |
* PHP-GTK skeletons, generated from the extension using: | |
* $Id$ | |
* | |
* Name : php-gtk | |
* Version : 2.0.0-dev | |
* INI entries : 2 | |
* - php-gtk.codepage = CP1250 | |
* - php-gtk.extensions = php_gtk_libglade2.dll,php_gtk_sourceview2.dll |
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 | |
/** | |
* Transforma um array em xml | |
*/ | |
$test_array = array ( | |
'bla' => 'blub', | |
'foo' => 'bar', | |
'another_array' => array ( | |
'stack' => 'overflow', | |
), |
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
DELIMITER $$ | |
CREATE PROCEDURE `db_status`(dbname varchar(50)) | |
begin | |
( | |
select | |
TABLE_NAME as `Table Name`, | |
ENGINE as `Engine`, | |
TABLE_ROWS as `Rows`, |
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
; Enable xdebug extension module | |
zend_extension=/usr/lib64/php/modules/xdebug.so | |
; ativado por padrão | |
xdebug.default_enable = 1 | |
; iniciar automaticamente | |
xdebug.auto_start = 1 | |
; ativa a depuração remota de scripts (mas os torna mais lentos) |
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/sh | |
iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o venet0 -m statistic --mode nth --every 5 -j SNAT --to-source 201.33.19.171 | |
iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o venet0 -m statistic --mode nth --every 5 -j SNAT --to-source 201.33.19.177 | |
iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 25 -o venet0 -m statistic --mode nth --every 5 -j SNAT --to-source 201.33.19.178 |
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/sh | |
iptables -t nat -F | |
iptables -t nat -A POSTROUTING -s 201.33.19.171 -j SNAT --to-source 201.33.19.177-201.33.19.178 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="Software" default="build" basedir="."> | |
<tstamp/> | |
<property name="application.library" value="${project.basedir}/library"/> | |
<property name="application.tests" value="${project.basedir}/tests"/> | |
<property name="application.builddir" value="${project.basedir}/build"/> | |
<property name="ftp.host" value="" /> |
OlderNewer