This example connects to an imap server and retrieves emails
npm install imap mailparser
REM Delete eval folder with licence key and options.xml which contains a reference to it | |
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do ( | |
for /d %%a in ("%USERPROFILE%\.%%I*") do ( | |
rd /s /q "%%a/config/eval" | |
del /q "%%a\config\options\other.xml" | |
) | |
) | |
REM Delete registry key and jetbrains folder (not sure if needet but however) | |
rmdir /s /q "%APPDATA%\JetBrains" |
Banco do Brasil = "bbapp://" | |
Bradesco = "BDNiPhoneVarejo://" | |
Bradesco Prime = "BDNiPhonePrime://" | |
Itaú = "itauvarejo://" | |
Itaú Personnalité = "itaupersonnalite://" | |
Santander = "santanderpf://" | |
Sicoob = "sicoob://" | |
Neon = "banconeon://" | |
Nubank = "nuapp://" |
This example connects to an imap server and retrieves emails
npm install imap mailparser
/** | |
* Remove acentos de strings | |
* @param {String} string acentuada | |
* @return {String} string sem acento | |
*/ | |
var map={"â":"a","Â":"A","à":"a","À":"A","á":"a","Á":"A","ã":"a","Ã":"A","ê":"e","Ê":"E","è":"e","È":"E","é":"e","É":"E","î":"i","Î":"I","ì":"i","Ì":"I","í":"i","Í":"I","õ":"o","Õ":"O","ô":"o","Ô":"O","ò":"o","Ò":"O","ó":"o","Ó":"O","ü":"u","Ü":"U","û":"u","Û":"U","ú":"u","Ú":"U","ù":"u","Ù":"U","ç":"c","Ç":"C"}; | |
function removerAcentos(s){ return s.replace(/[\W\[\] ]/g,function(a){return map[a]||a}) }; |
<select name="estados-brasil"> | |
<option value="AC">Acre</option> | |
<option value="AL">Alagoas</option> | |
<option value="AP">Amapá</option> | |
<option value="AM">Amazonas</option> | |
<option value="BA">Bahia</option> | |
<option value="CE">Ceará</option> | |
<option value="DF">Distrito Federal</option> | |
<option value="ES">Espírito Santo</option> | |
<option value="GO">Goiás</option> |
#!/bin/sh | |
# | |
# redis - this script starts and stops the redis daemon | |
# | |
# chkconfig: - 85 15 | |
# description: Redis is an open source, BSD licensed, advanced \ | |
# key-value store. It is often referred to as a \ | |
# data structure server since keys can contain \ | |
# strings, hashes, lists, sets and sorted sets. | |
# processname: redis |