Skip to content

Instantly share code, notes, and snippets.

INSERT INTO `tb_visita` (`id_visita`, `id_centro`, `id_paciente`, `ds_inicias`, `ds_responsavel`, `dt_visita_dd_v1_m1`, `id_consentimento_v1_m1`, `dt_consentimento_v1_m1`, `id_criterios_0_v1_m1`, `id_criterios_1_v1_m1`, `id_criterios_2_v1_m1`, `id_criterios_3_v1_m1`, `dt_idade_v1_m1`, `ds_idade_v1_m1`, `id_sexo_v1_m1`, `id_escolaridade_v1_m1`, `id_atividade_rs_v1_m1`, `id_parentesco_v1_m1`, `id_vive_da_v1_m1`, `id_dedicacao_da_v1_m1`, `id_pergunta_01_v1_m2`, `id_pergunta_02_v1_m2`, `id_pergunta_03_v1_m2`, `id_pergunta_04_v1_m2`, `id_pergunta_05_v1_m2`, `id_pergunta_06_v1_m2`, `id_pergunta_07_v1_m2`, `id_pergunta_08_v1_m2`, `id_pergunta_09_v1_m2`, `id_pergunta_10_v1_m2`, `id_pergunta_11_v1_m2`, `ds_comentario_v1_m2`, `id_assinatura_v1_m2`, `dt_visita_dd_v2`, `dt_inicio_v2`, `id_continua_v2`, `dt_termino_v2`, `id_pergunta_01_v2`, `id_pergunta_02_v2`, `id_pergunta_03_v2`, `id_pergunta_04_v2`, `id_pergunta_05_v2`, `id_pergunta_06_v2`, `id_pergunta_07_v2`, `id_pergunta_08_v2`, `id_pergunta_09_v2`, `id_pergunta_10_
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
CREATE TABLE IF NOT EXISTS `paises` (
`iso` char(2) NOT NULL,
#id {
width: 500px;
height: 500px;
position: absolute;
top:50%;
left:50%;
margin-top: -250px;
margin-left: -250px;
background-color: #00F;
}
<script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
(function(){function F(){if(window.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(a){}return null}function i(a,b,c){var d=" "+a.className+" ",e=" "+b+" ";if(c){if(d.indexOf(e)>-1)return;a.className+=" "+b}else{if(d.indexOf(e)==-1)return;a.className=u(d.replace(e," "))}if(a.parentNode)a.parentNode.className+=""}function v(a){var b,c=[];m.open("GET",a,false);m.send();for(var d=G(m.status==200?m.responseText:""),e=0;e<d.imports.length;e++)if(b=w(d.imports[e],a)){b=v(b);c=c.concat(b)}return c.concat(d.a)}function r(a){try{return x(a)||[]}catch(b){return[]}}function y(){i(event.srcElement,k+"hover",event.type=="mouseenter")}function z(){i(event.srcElement,k+"focus",event.type=="focus")}function H(a){(a=s(a,"disabled"))&&i(a,k+"disabled",a.disabled)}function I(a){(a=s(a,"disabled"))&&i(a,k+"enabled",!a.disabled)}function J(a){(a=s(a,"checked"))&&i(a,k+"checked",a.checked)}function s(a,b){return a.nodeType?a:a.propertyName==b?a.srcElement:null}function A(a,b){for(var
select tb_visita.id_centro AS 'Nº do Centro', tb_cuidador.cuidador AS 'Nº do Cuidador', tb_visita.ds_responsavel AS 'Login', tb_visita.ds_inicias AS 'Iniciais', tb_visita.dt_visita_dd_v1_m1 AS 'Data' from tb_visita
inner join tb_cuidador on tb_cuidador.cuidador=tb_visita.id_paciente
inner join tb_centro on tb_centro.ncentro=tb_cuidador.centron
inner join tb_uc on tb_uc.ncentro=tb_centro.ncentro
GROUP BY tb_visita.ds_inicias ORDER BY tb_visita.id_centro, tb_visita.ds_inicias, tb_cuidador.cuidador
<?php
if(!$_GET['test'])
{
header('Location: http://www.care-study.com/');
}
?>
[root@XXXCNN0733 bot]# python test.py
TwitterBot : *** roster ***
TwitterBot : tweetbot@jabber.ccc.de
TwitterBot : avelino@jabber.org
TwitterBot : *** roster ***
TwitterBot : bot connected. serving forever.
Traceback (most recent call last):
File "test.py", line 129, in ?
bot.serve_forever()
File "/usr/lib/python2.4/site-packages/jabberbot.py", line 423, in serve_forever
#!/usr/bin/python
# Thiago Avelino <avelinoo@me.com>
import twitter
import jabberbot
import yql
import urllib,urllib2
botcmd = jabberbot.botcmd
#usr/local/bin/perl
use CAM::PDF;
use CAM::PDF::PageText;
$file='file.pdf';
my $pdf = CAM::PDF->new($file);
my $getPage = $pdf->getPageContentTree(1);
print CAM::PDF::PageText->render($getPage);