Skip to content

Instantly share code, notes, and snippets.

View ricardosiri68's full-sized avatar

Ricardo Agustin Siri ricardosiri68

  • Nubi
  • Capital Federal
View GitHub Profile
@ricardosiri68
ricardosiri68 / screencast.sh
Created December 31, 2014 21:23
Frame para Sceencast de tu webcam
mplayer -tv driver=v4l2:width=320:height=240: -vo xv tv:// -geometry "99%:98%" -noborder -ontop
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":"",
function NewObject(mensaje_inicial){
var count = 0;
this.SayHello = function (mensaje){
count++;
alert(mensaje_inicial + mensaje);
};
this.GetCount = function (){
return count;
# coding=utf-8
class Grafo:
'''
crea una instancia de grafos
'''
__vertices = []
__aristas = []
<?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
*
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
class Saludar:
__nombre = ''
run = True
def nombre(self):
self.__nombre = raw_input('Inserta un nombre: ')
print 'Buenos dias %s !' % self.__nombre
def adios(self):
class Saludar:
__nombre = ''
run = True
def nombre(self):
self.__nombre = raw_input('Inserta un nombre: ')
print 'Buenos dias %s !' % self.__nombre
def adios(self):
class Saludar:
__nombre = ''
run = True
def nombre(self):
self.__nombre = raw_input('Inserta un nombre: ')
print 'Buenos dias %s !' % self.__nombre
def adios(self):
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)