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
| 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 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
| format PE | |
| entry main | |
| section '.text' code readable executable | |
| main: | |
| push label_input | |
| push _format_output | |
| call [printf] | |
| add esp, 8 |
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
| format PE | |
| entry main | |
| section '.text' code readable executable | |
| main: | |
| push label_input | |
| push _format_output | |
| call [printf] | |
| add esp, 8 |
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
| 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 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
| # -*- coding: utf-8 -*- | |
| DEBUG = True | |
| TEMPLATE_DEBUG = DEBUG | |
| ADMINS = ( | |
| ('Tomas', 'tomas@comtomtech.com'), | |
| ) | |
| MANAGERS = ADMINS |
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
| //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 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
| 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 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
| /* | |
| ---------------------------- | |
| 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 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
| package turcobomber; | |
| public class TurcoBomber { | |
| public static void main(String[] args) { | |
| System.out.println("Alumnos instanciados:"); | |
| // crea los objetos | |
| pack.Alumno tomy = new pack.Alumno("Tomas", "Gonzalez Dowling", 28); | |
| pack.Alumno flaco = new pack.Alumno("Juan", "Gonzalez Soler", 21); |
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
| package pack; | |
| public class Alumno { | |
| private String nombre; | |
| private String apellido; | |
| private int edad; | |
| public Alumno(String nombre, String apellido, int edad){ | |
| this.nombre = nombre; | |
| this.apellido = apellido; |