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
{ | |
"updates":true, | |
"timestamp":"20120201201032", | |
"data": { | |
"tipos":[ | |
{"id":1, "nome":"Denuncia"}, | |
{"id":2, "nome":"Colaboração"}, | |
{"id":3, "nome":"Reclamação"}, | |
{"id":4, "nome":"Propaganda Indevida"} | |
], |
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
<?php | |
/* | |
POST /novidades/comentar.php | |
id_novidade: | |
nome: | |
email: | |
descricao: | |
RETURN | |
true - success |
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
<?php | |
function request_get($url) { | |
return file_get_contents($url); | |
} | |
function request_post($url, $data=null){ | |
$handler = curl_init($url); | |
curl_setopt($handler, CURLOPT_RETURNTRANSFER, 1); | |
if(isset($data)){ |
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
{ | |
"updates":true, | |
"timestamp":"20120201201032", | |
"data":[ | |
{ | |
"id":1, | |
"titulo":"Wallpaper para perfis Facebook 1024x768", | |
"descricao":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vitae quam nunc. In hac habitasse platea dictumst.", | |
"foto":"http://candidatomobile.samus.com.br/service/downloads/foto.jpg", | |
"arquivo":"http://blog.webshots.com/wp-content/uploads/2006/11/mystery_photo.jpg", |
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
import flash.events.MouseEvent; | |
var clicks:Number = 0; | |
btn_one.addEventListener(MouseEvent.CLICK, btn_one_click); | |
function btn_one_click(e:MouseEvent):void { | |
clicks += 1; | |
output(); | |
} |
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
# $1 - commit | |
# $2 - file | |
# usage: git-restore-file {commit} {file} | |
# example: git-restore-file 6fe4857 folder/todo.diff | |
git show $1:"$2" > "$2" |
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
[ | |
{ "id":1, | |
"tipo_id":1, | |
"nome":"Casamento Grasielli e Carlos Eduardo", | |
"data":"02/20/2011", | |
"thumb":"upld/eventos/1/thumb.jpg", | |
"descricao":"Lorem Ipsum é simplesmente uma simulação de texto da indúst...", | |
"fotos": [ | |
{"thumb":"upld/eventos/1/thumb_1.jpg", "large":"upld/eventos/1/large_1.jpg"}, | |
{"thumb":"upld/eventos/1/thumb_2.jpg", "large":"upld/eventos/1/large_2.jpg"}, |
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
<?php | |
require_once 'app/lib/sf/AppConfiguration.php'; | |
require_once 'app/lib/sf/SF.php'; | |
require_once 'app/system/config.inc.php'; | |
if($_SERVER["REQUEST_URI"]=='/' && $_SERVER["SERVER_NAME"] != "localhost") { | |
header( 'Location: http://cetemag.org.br/index' ) ; | |
} | |
SF::init(); |
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
::CPBR11+ | |
+ Microsoft Kinect http://www.youtube.com/watch?v=8HvsBFM3_Pw | |
+ Ferramenta de Robótica Livre http://www.youtube.com/watch?v=XvAsJLm0V84 | |
+ Primeiros passos na programaçao para iOS http://www.youtube.com/watch?v=_ai_OxvsI_0 | |
+ JavaScript: agora é sério http://www.youtube.com/watch?v=8EsSc-_af2I | |
+ HTML5 http://www.youtube.com/watch?v=n2o-uD7juas | |
+ Como ganhar dinheiro criando jogos http://www.youtube.com/watch?v=XSRW815pmx0 | |
+ Uso de robôs em comunicações espaciais http://www.youtube.com/watch?v=IRq42PJkg0M |
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
[ | |
{ "id": "1", | |
"id_tipo_servico": "1", | |
"nome": "Confraterniza\u00e7\u00e3o 1", | |
"responsavel": "Ana Luiza 1", | |
"local":"Itamaraty Hall", | |
"saloes":"Foyer Água Marina, Foyer Turquesa", | |
"data":"2012-02-06", | |
"inicio":"14h", | |
"termino":"17h", |