Skip to content

Instantly share code, notes, and snippets.

View PabloReszczynski's full-sized avatar
👽

Pablo Reszczynski PabloReszczynski

👽
View GitHub Profile
use std::collections::HashMap;
use std::collections::HashSet;
type Cell = (i32, i32);
type Colony = HashSet<Cell>;
fn print_colony(col: &Colony, width: i32, height: i32) {
for y in 0..height {
for x in 0..width {
print!("{} ",
@PabloReszczynski
PabloReszczynski / gol.erl
Last active April 30, 2020 22:17
Game of life in Erlang
-module(gol).
-export([bang/1]).
-define(CHAR_DEAD, 32). % " "
-define(CHAR_ALIVE, 111). % "o"
-define(CHAR_BAR, 45). % "-"
-define(GEN_INTERVAL, 100).
@PabloReszczynski
PabloReszczynski / index.html
Created November 20, 2018 22:21
Tarea 2 GPU
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Tarea 2</title>
</head>
<body>

Keybase proof

I hereby claim:

  • I am pabloreszczynski on github.
  • I am pablore (https://keybase.io/pablore) on keybase.
  • I have a public key whose fingerprint is 6323 3DA3 227B C732 E053 C61C 0D64 0862 6D88 FFFD

To claim this, I am signing this object: