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
| mplayer -tv driver=v4l2:width=320:height=240: -vo xv tv:// -geometry "99%:98%" -noborder -ontop |
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
| function post() { | |
| $(".masdiez a").click(); | |
| $.ajax({ | |
| type: 'POST', | |
| url:'http://www.taringa.net/borradores-agregar.php', | |
| async: false, | |
| data:{ | |
| "key":global_data.user_key, | |
| "id":"", | |
| "borrador_id":"", |
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
| function NewObject(mensaje_inicial){ | |
| var count = 0; | |
| this.SayHello = function (mensaje){ | |
| count++; | |
| alert(mensaje_inicial + mensaje); | |
| }; | |
| this.GetCount = function (){ | |
| return count; |
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 | |
| class Grafo: | |
| ''' | |
| crea una instancia de grafos | |
| ''' | |
| __vertices = [] | |
| __aristas = [] |
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
| <?php | |
| /** | |
| *---------------------------------------------------------------------------- | |
| * NullableFieldsLibros | |
| * | |
| * PHP version 5.4.12 | |
| * | |
| * edita el atributo NULL de los campos de 3 campos de la tabla libros: | |
| * subtitulo. descripcion y caratula | |
| * |
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
| class Funcion: | |
| ''' | |
| cada function tiene un nombre y un precio | |
| ''' | |
| def __init__(self, nombre, precio): | |
| self.setNombre(nombre) | |
| self.setPrecio(precio) | |
| def setNombre(self, nombre): | |
| self.__nombre = nombre |
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
| class Saludar: | |
| __nombre = '' | |
| run = True | |
| def nombre(self): | |
| self.__nombre = raw_input('Inserta un nombre: ') | |
| print 'Buenos dias %s !' % self.__nombre | |
| def adios(self): |
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
| class Saludar: | |
| __nombre = '' | |
| run = True | |
| def nombre(self): | |
| self.__nombre = raw_input('Inserta un nombre: ') | |
| print 'Buenos dias %s !' % self.__nombre | |
| def adios(self): |
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
| class Saludar: | |
| __nombre = '' | |
| run = True | |
| def nombre(self): | |
| self.__nombre = raw_input('Inserta un nombre: ') | |
| print 'Buenos dias %s !' % self.__nombre | |
| def adios(self): |
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
| import pygame,time | |
| from pygame.locals import * | |
| from configuracion import * | |
| from principal import* | |
| def LlenarLista(file): #Lleno la lista con cada linea del archivo. | |
| lista=[] | |
| for linea in file.readlines(): | |
| linea=linea[:-1] | |
| lista.append(linea) |