Skip to content

Instantly share code, notes, and snippets.

View razpeitia's full-sized avatar

Ricardo Azpeitia Pimentel razpeitia

  • Monterrey, Nuevo León, México
View GitHub Profile
using System;
namespace ConsoleApp2
{
class PruebaVector
{
private int[] vector;
public void Cargar()
@razpeitia
razpeitia / package.json
Created December 28, 2015 04:20
package.json para windows de tvify
{
"name": "tvify",
"description": "Una web app para seleccionar tus shows favoritos",
"version": "0.1.0",
"dependencies": {
"jquery": "^2.1.4",
"page": "^1.6.4",
"qs": "^6.0.0",
"serve": "^1.4.0"
},
def read_numbers(n):
numbers = []
for i in range(n):
numbers.append(int(raw_input('Number [%d]: ' % i)))
return numbers
def find_largest(numbers):
max_number = max(numbers)
return [index for index, number in enumerate(numbers) if number == max_number]
@razpeitia
razpeitia / I'm not pround of this code.c
Created May 19, 2013 22:30
Queue and Binary Tree. Implementation.
#include <stdio.h>
#include <stdlib.h>
typedef struct node {
struct node *next;
void *data;
} NODE;
typedef struct queue {
NODE *back;