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
/* | |
---------------------------- | |
PARTIDOS | |
---------------------------- | |
*/ | |
// trae partidos segun el departamento | |
case 'partidos': | |
$departamento = (!empty($_GET['departamento'])) ? ms_escape_string($_GET['departamento']) : "0"; | |
$sql = "SELECT distinct P.PARTIDO, P.DESCRIPCION |
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
section .text | |
global _start ;must be declared for using gcc | |
_start: ;tell linker entry point | |
mov ecx,'4' | |
sub ecx, '0' | |
mov edx, '5' | |
sub edx, '0' | |
call sum ;call sum procedure | |
mov [res], eax |
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
//Ejercicio 2P2014-E02B; | |
// Dado un árbol n-ario de caracteres, determinar mediante | |
// una función si algún nodo formaba con sus hijos | |
// exactamente la palabra C A S A (en ese orden). | |
function busCasa(p:posicion; A:tArbol):boolean; | |
var | |
c: posicion; | |
casa: string; |
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
# -*- coding: utf-8 -*- | |
DEBUG = True | |
TEMPLATE_DEBUG = DEBUG | |
ADMINS = ( | |
('Tomas', 'tomas@comtomtech.com'), | |
) | |
MANAGERS = ADMINS |
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
Configurar proxy en Atom 1.0 | |
sistemas@webmaster /cygdrive/c/Users/sistemas/AppData/Local/atom/app-1.0.0/resources/app/apm/bin | |
$ ./apm.cmd config set https_proxy 'http://192.168.0.103:3128' | |
sistemas@webmaster /cygdrive/c/Users/sistemas/AppData/Local/atom/app-1.0.0/resources/app/apm/bin | |
$ ./apm.cmd config set http_proxy 'http://192.168.0.103:3128' | |
sistemas@webmaster /cygdrive/c/Users/sistemas/AppData/Local/atom/app-1.0.0/resources/app/apm/bin | |
$ ./apm.cmd config set proxy 'http://192.168.0.103:3128' |
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
format PE | |
entry main | |
section '.text' code readable executable | |
main: | |
push label_input | |
push _format_output | |
call [printf] | |
add esp, 8 |
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
format PE | |
entry main | |
section '.text' code readable executable | |
main: | |
push label_input | |
push _format_output | |
call [printf] | |
add esp, 8 |
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
format PE | |
entry main | |
section '.text' code readable executable | |
main: | |
mov eax, [esp] | |
xor edi, edi | |
; 32 bit -> 8 nibble | |
; valor inicial de la mascara |
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
format PE | |
entry main | |
section '.text' code readable executable | |
main: | |
push str_intro | |
push format_output | |
call [printf] |
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 (! extension_loaded('mssql')) { | |
//Return an associative array. Used on mssql_fetch_array()'s result_type parameter. | |
define('MSSQL_ASSOC', '1'); | |
//Return an array with numeric keys. Used on mssql_fetch_array()'s result_type parameter. | |
define('MSSQL_NUM', '2'); | |
//Return an array with both numeric keys and keys with their field name. This is the default value for mssql_fetch_array()'s result_type parameter. | |
define('MSSQL_BOTH', '3'); | |
//Indicates the 'TEXT' type in MSSQL, used by mssql_bind()'s type parameter. | |
define('SQLTEXT', '35'); |