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
l:^g – Para encontrar conversas que foram interrompidas. | |
l:^p – Mensagens marcadas como phishing. | |
l:^op – As marcadas como phishing de forma automática pelo Gmail | |
l:^os – As marcadas de forma automática como spam | |
l:^vm – As mensagens de voz de Google Voice voicemail | |
l:^io_im – As mensagens importantes | |
l:^unsub – As que incluem opção para cancelar assinatura | |
l:^cff – Os e-mails de nossos contatos do Google+ | |
l:^p_esnotif – As notificações de Google+ |
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
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |
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
(function( jQuery ) { | |
var matched, | |
userAgent = navigator.userAgent || ""; | |
// Use of jQuery.browser is frowned upon. | |
// More details: http://api.jquery.com/jQuery.browser | |
// jQuery.uaMatch maintained for back-compat | |
jQuery.uaMatch = function( ua ) { | |
ua = ua.toLowerCase(); |
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
function valida(selector, show_errors) { | |
var show_errors = (show_errors!=undefined)?show_errors:true; | |
var validaForm = true; | |
/*var $input = $("input[type=email]").val(); | |
var _reg = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i; | |
if(!_reg.test($input)) { | |
alert("digite um email válido"); | |
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
/** | |
* truncate title | |
* @param {String} text suffix | |
* @param {Number} size text | |
* @return {String} text truncate | |
*/ | |
var truncateText = function(str, size, suffix) { | |
var newTitle; |
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
Show hidden characters
{ | |
"requireCurlyBraces": true, | |
"requireSpaceAfterKeywords": true, | |
"requireSpaceBeforeBlockStatements": true, | |
"requireParenthesesAroundIIFE": true, | |
"requireSpacesInConditionalExpression": true, | |
"requireSpacesInFunctionExpression": { | |
"beforeOpeningRoundBrace": true, | |
"beforeOpeningCurlyBrace": true | |
}, |
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
{ | |
// JSHint Default Configuration File (as on JSHint website) | |
// See http://jshint.com/docs/ for more details | |
"maxerr" : 50, // {int} Maximum error before stopping | |
// Enforcing | |
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.) | |
"camelcase" : true, // true: Identifiers must be in camelCase | |
"curly" : true, // true: Require {} for every new block or scope |
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
cd /usr/local/mysql/bin/ | |
./mysql -u root -p | |
> Enter password: [type old password invisibly] | |
use mysql; | |
update user set password=PASSWORD("NEW_PASSWORD_HERE") where User='root'; | |
flush privileges; | |
quit |
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
/* | |
0480 | |
*/ | |
@media only screen and (min-width : 320px) and (max-width : 660px){} | |
/* | |
0780 | |
*/ | |
@media only screen and (min-width : 661px) and (max-width : 860px) {} |
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
ffmpeg -i song.wav song.mp3 |
OlderNewer