- SEDEX sem contrato - 40010
- SEDEX com contrato - 40096
- SEDEX com contrato - 40436
- SEDEX com contrato - 40444
- SEDEX com contrato - 40568
- SEDEX com contrato - 40606
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 | |
# Ubuntu Developer Script For Laravel 5 | |
# Ramon Barros | |
# contato [a] ramon-barros.com | |
# v0.1.0 | |
# | |
# Download and configures the following: | |
# | |
# curl | |
# composer |
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
Show hidden characters
{ | |
"caret_style": "phase", | |
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme", | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
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
var value = 170090; // 'R$ 1.700,90' | |
var money = parseInt(value.replace(/[\D]+/g,'')) | |
.toString() | |
.replace(/([0-9]{2})$/g, ',$1') | |
.replace(/([0-9]{3}),([0-9]{2}$)/g, '.$1,$2') |
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 | |
# Ramon Barros | |
# contato [a] ramon-barros.com | |
# v0.1.0 | |
#md5sum="md5sha1sum-0.9.5" | |
#"wget microbrew.org/tools/md5sha1sum/md5sha1sum-0.9.5.tar.gz" - automatizar instalação | |
md5="git-update.sh" | |
file_hash=$(date +"%m%d%Y%H%M%S") #"$(echo -n "$md5" | md5sum | awk '{ print $1 }' )" | |
tmp="tmp" |
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 | |
# Ramon Barros | |
# contato [a] ramon-barros.com | |
# v0.1.0 | |
echo "Script para configuração do git-ftp." | |
verlte() { | |
[ "$1" = "`echo -e "$1\n$2" | sort -n | head -n1`" ] | |
} |
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 | |
# | |
# This script remove malware of PHP files. | |
# | |
# In this case it will remove some malicious code | |
# from all Wordpress PHP files that is at top of | |
# every PHP file. | |
# | |
# The string at the top of every file is: | |
# |
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
#include <stdio.h> | |
#include <conio.h> | |
#include <string.h> | |
#include <ctype.h> | |
void main() { | |
char aux[256], *words[50], *pTmp; | |
int c, i; | |
// Lê string |
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
// include EventListener https://gist.github.com/rbarros/6c7888320ee0cdc3bab7 | |
// include Ajax https://gist.github.com/rbarros/2776240 | |
function OnBeforeUnLoad(e) { | |
e.preventDefault(); | |
var ajax = Ajax.open({ | |
method: 'GET', | |
url: 'http://localhost/', | |
dataType: 'json', | |
//data: { id: 1 }, | |
success: function (json) { |
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
/*! EventListener - v1.0.0 - 2014-05-30 | |
* Controla os eventos de click | |
* Copyright (c) 2014 Ramon Barros; Licensed MIT */ | |
(function (root) { | |
'use strict'; | |
var EventListener = function () { | |
this.version = '1.0.0'; | |
}; | |
EventListener.prototype.addEvent = function(el, type, fn) { |