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
function removeAcentos (string) { | |
non_asciis = { | |
'a': '[àáâãäåª]', | |
'A': '[ÀÁÂÃÄÅ]', | |
'ae': 'æ', | |
'c': 'ç', | |
'C': 'Ç', | |
'e': '[èéêë]', | |
'E': '[ÈÉÊË]', | |
'i': '[ìíîï]', |
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
<snippet> | |
<content><![CDATA[ | |
echo "<pre>" . print_r(${1}, true) . "</pre>"; exit(); | |
]]></content> | |
<tabTrigger>ptr</tabTrigger> | |
<scope>source.php</scope> | |
<description>show formated print_r and exit</description> | |
</snippet> |
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
<snippet> | |
<content><![CDATA[ | |
echo "<pre>"; var_dump(${1}, true); "</pre>"; exit(); | |
]]></content> | |
<tabTrigger>vdp</tabTrigger> | |
<scope>source.php</scope> | |
<description>show formated var_dump and exit</description> | |
</snippet> |
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
############################################################################## | |
# INSTALL isolated PHP 5.6 ZTS (Thread-safe) with pthreads on Ubuntu 14.04 ### | |
############################################################################## | |
1) Install necessary bison version | |
wget http://launchpadlibrarian.net/140087283/libbison-dev_2.7.1.dfsg-1_amd64.deb | |
wget http://launchpadlibrarian.net/140087282/bison_2.7.1.dfsg-1_amd64.deb | |
dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb | |
dpkg -i bison_2.7.1.dfsg-1_amd64.deb |
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
<snippet> | |
<content><![CDATA[public function get${1/(.*)/\u$1/}() { | |
return \$this->${1:$SELECTION}; | |
} | |
public function set${1/(.*)/\u$1/}(\$$1) { | |
\$this->$1 = \$$1; | |
} | |
]]></content> | |
<!-- Optional: Tab trigger to activate the snippet --> |
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
<h2>Política de privacidade para Extensões para Google Chrome de Fernando Migliorini Tenório></h2> | |
<p>Todas as suas informações pessoais recolhidas, serão usadas para o ajudar a tornar a sua visita no nosso site o mais produtiva e agradável possível.</p> | |
<p>A garantia da confidencialidade dos dados pessoais dos utilizadores do nosso site é importante para o Extensões para Google Chrome de Fernando Migliorini Tenório.</p> | |
<p>Todas as informações pessoais relativas a membros, assinantes, clientes ou visitantes que usem o Extensões para Google Chrome de Fernando Migliorini Tenório serão tratadas em concordância com a Lei da Proteção de Dados Pessoais de 26 de outubro de 1998 (Lei n.º 67/98).</p> | |
<p>A informação pessoal recolhida pode incluir o seu nome, e-mail, número de telefone e/ou telemóvel, morada, data de nascimento e/ou outros.</p> | |
<p>O uso do Extensões para Google Chrome de Fernando Migliorini Tenório pressupõe a aceitação deste Acordo de privacidade. A equipa do Extensões para Google Chrome de Fernando |
NewerOlder