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 | |
try { | |
$arquivos = parsePostSegundaEtapa(); | |
// echo $_SESSION['imagen']; | |
$path = realpath(dirname(__FILE__)) . "/../../images/upload/"; | |
die($path); | |
// -- Criando o diretório de armazenamento dos anexos da proposta | |
if (!is_dir($path)) { | |
mkdir($path, 0777, true); | |
} |
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
{ | |
"auto_upgrade_last_run": null, | |
"installed_packages": | |
[ | |
"All Autocomplete", | |
"BracketHighlighter", | |
"Clipboard History", | |
"Comment-Snippets", | |
"EditorConfig", | |
"Emmet", |
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 | |
/* | |
Plugin Name: Plugin Rss with thumbnails | |
Plugin URI: | |
Description: Esse plugin é um feed-reader como outro qualquer, porém, ele apresenta também os thumbnails presentes no feed | |
Author: Rodrigo Morbach | |
Version: 1 | |
Author URI: http://www.mundodosaber.com.br/ | |
*/ |
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 | |
$cURL = curl_init('http://www.exemplo.com.br/enviaPost.php'); | |
curl_setopt($cURL, CURLOPT_RETURNTRANSFER, true); | |
$post = array( | |
'nome' => 'Renan Martins Pimentel', | |
'email' => '[email protected]', | |
'mensagem' => 'Agora eu sei usar o cURL, demais!' | |
); |
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
# editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true |
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
#!/usr/bin/env ruby | |
require 'gosu' # gem install gosu --no-document | |
include Gosu | |
$dimension, $splits = 200, 20 | |
$size = $dimension.to_f / $splits.to_f | |
class Worm | |
attr_writer :dir | |
def initialize() reset end |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style type="text/css"> | |
.marcado{background-color:#C1FFC1 !important;} | |
.remover{ display:none;} | |
table.tableizer-table { |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style type="text/css"> | |
.marcado{background-color:#C1FFC1 !important;} | |
.remover{ display:none;} | |
tbody{display: none; | |
} |
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 | |
function ranger($url){ | |
$headers = array( | |
"Range: bytes=0-32768" | |
); | |
$curl = curl_init($url); | |
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); |
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 sum = 0; | |
$(".valor-simula-"+<?php echo $a; ?>).each(function() { | |
sum += Number(parseFloat($(this).val())); | |
$("#mostra-total-"+<?php echo $a; ?>).text(formatNumber(sum)); | |
}); | |
//formatar para formato brasileiro | |
function formatNumber(number) | |
{ |
OlderNewer