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
{"property_type":"House","title":"Casa en venta en Cumbres 4 Sector.","description":"Casa en venta en Cumbres 4 Sector, 3 Recamaras, 3 Baños, 2 Estacionamientos, Cochera techada y cerrada, Patio con asador, a 1 minuto de Leones, Parque con Vitapista, a 1 minuto de Soriana Hiper, a 1 minuto de Club Halcones, a 5 minutos de Gonzalitos.","status":"published","private_description":null,"operations":[{"type":"sale","active":true,"amount":7200000,"currency":"MXN"}],"agent":"j.cruz@verticali.mx","show_prices":true,"bedrooms":3,"bathrooms":0,"half_bathrooms":0,"parking_spaces":2,"age":null,"floor":2,"floors":2,"expenses":null,"internal_id":"EB-34574","location":{"name":"Cumbres 4, Cumbres 1º Sector, Monterrey, N.L., México","street":"Av. Leones","exterior_number":"123","interior_number":"","cross_street":"Juan de Garay","postal_code":"64610","latitude":25.719133589746985,"longitude":-100.386693323879,"show_exact_location":false,"hide_exact_location":true},"features":["pets allowed"],"share_commission":false,"collabor |
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 pygame | |
if __name__ == '__main__': | |
WINSIZE = 640, 480 | |
pygame.init() | |
#Initialize PyGame | |
screen = pygame.display.set_mode(WINSIZE, 0, 16) | |
pygame.display.set_caption('Python Kinect Game') | |
screen.fill(THECOLORS["black"]) |
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 | |
$response = array(); | |
require_once __DIR__ . '/db_connect.php'; | |
$db = new DB_CONNECT(); | |
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 | |
// array for JSON response | |
$response = array(); | |
$Camion = $_POST['Camion']; | |
$Ruta = $_POST['Ruta']; | |
$Latitud = $_POST['Latitud']; | |
$Longitud = $_POST['Longitud']; | |
//Field(s) | |
if (isset($Camion) && isset($Ruta) && isset($Latitud) && isset($Longitud)) { |
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
//Codigo obtenido de la siguiente URL: http://delta.cs.cinvestav.mx/~francisco/arith/Flujo.pdf | |
void a5_key(a5_ctx *c, char *k) //Funcion donde se definen las longitudes de los registros | |
{ | |
c->r1 = k[0]<<11|k[1]<<3 | k[2]>>5; /* 19 */ | |
c->r2 = k[2]<<17|k[3]<<9 | k[4]<<1 | k[5]>>7; /* 22 */ | |
c->r3 = k[5]<<15|k[6]<<8 | k[7]; /* 23 */ | |
} | |
int a5_step(a5_ctx *c) //Funcion donde se obtiene el valor de las variables de control de tiempo | |
{ |
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
#Esteganofragia en python | |
from PIL import Image | |
from sys import argv | |
import random | |
def transformar(original): #Funcion que transforma valores ascii a su valor original | |
mensaje = list() | |
for i in original: | |
mensaje.append(chr((i[0]))) | |
#mensaje.reverse() |
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
#librería para funciones matematicas en el algoritmo rsa. | |
#código obtenido de la URL: http://pastebin.com/ziaUdaw8 | |
import random | |
import sys | |
#Exponenciacion modular | |
def modex(base, exponente, modulo): | |
r = 1 | |
while exponente > 0: |
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/python2.7 | |
# enable debugging | |
#El programa es producto de varias recopilaciones de rsa y ejemplos de cgi | |
#URLS: http://blog.hackxcrack.es/2011/11/introduccion-la-criptografia-moderna_09.html | |
#http://code.activestate.com/recipes/572196-rsa/ | |
#http://cic.puj.edu.co/wiki/doku.php?id=materias:laboratorio_de_lenguajes_ii:lableng2:ejemplos1 | |
from rsa_math import * #importamos algunas funciones para el algoritmo rsa como la generacion de primos | |
import cgi, cgitb #importamos las librerias para cgi |
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
<html> | |
<head> | |
<title>Login</title> | |
</head> | |
<body> | |
<h1>Ingreso al Sistema</h1> | |
<p>Ingrese los siguientes datos: | |
</p> | |
<form name="datos" id="datos"> | |
<table> |
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/python2.7 | |
# enable debugging | |
#El programa es producto de varias recopilaciones de rsa y ejemplos de cgi | |
#URLS: http://blog.hackxcrack.es/2011/11/introduccion-la-criptografia-moderna_09.html | |
#http://code.activestate.com/recipes/572196-rsa/ | |
#http://cic.puj.edu.co/wiki/doku.php?id=materias:laboratorio_de_lenguajes_ii:lableng2:ejemplos1 | |
#http://www.tutorialspoint.com/python/python_cgi_programming.htm | |
NewerOlder