Skip to content

Instantly share code, notes, and snippets.

View jdamiba's full-sized avatar

Joseph Damiba jdamiba

View GitHub Profile
@jdamiba
jdamiba / pricing_calculator.html
Created December 31, 2025 17:50
Renumerate Pricing Model Calculator
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Renumerate Pricing Model</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
input[type="number"] { -moz-appearance: textfield; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@jdamiba
jdamiba / index.html
Created May 28, 2018 02:04
Pink and the Brain Ponderings Generator
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Ponderings</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="script.js"></script>
<script src="ponderings.js"></script>
</head>
@jdamiba
jdamiba / conway.py
Created May 13, 2017 07:55 — forked from mdiazv/conway.py
Functional Conway's Game of Life (python 2.7)
from __future__ import print_function
M = 5
N = 10
w = [
[0,1,0,1,1,0,0,1,0,1],
[0,1,0,1,1,0,0,1,0,1],
[0,1,0,1,1,0,0,1,0,1],
[0,1,0,1,1,0,0,1,0,1],
[0,1,0,1,1,0,0,1,0,1],
@jdamiba
jdamiba / life.py
Created May 13, 2017 03:35 — forked from jasonkeene/life.py
Python implementation of Conway's Game of Life
"""Python implementation of Conway's Game of Life
Somewhat inspired by Jack Diederich's talk `Stop Writing Classes`
http://pyvideo.org/video/880/stop-writing-classes
Ironically, as I extended the functionality of this module it seems obvious
that the next step would be to refactor board into a class with advance and
constrain as methods and print_board as __str__.
"""