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
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_ |
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
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, |
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 { | |
width: 500px; | |
height: 500px; | |
position: absolute; | |
top:50%; | |
left:50%; | |
margin-top: -250px; | |
margin-left: -250px; | |
background-color: #00F; | |
} |
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
<script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script> |
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(){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 |
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
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 |
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 | |
if(!$_GET['test']) | |
{ | |
header('Location: http://www.care-study.com/'); | |
} | |
?> |
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
[root@XXXCNN0733 bot]# python test.py | |
TwitterBot : *** roster *** | |
TwitterBot : [email protected] | |
TwitterBot : [email protected] | |
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 |
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
#!/usr/bin/python | |
# Thiago Avelino <[email protected]> | |
import twitter | |
import jabberbot | |
import yql | |
import urllib,urllib2 | |
botcmd = jabberbot.botcmd |
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
#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); |
OlderNewer