Skip to content

Instantly share code, notes, and snippets.

View itorain's full-sized avatar

Isaiah Torain itorain

View GitHub Profile
@itorain
itorain / README-Template.md
Created May 10, 2017 08:21 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@itorain
itorain / 2dListIter.py
Created January 9, 2017 22:01
Challenge for creating an iterator for a list of lists in python for an interview challenge
'''
Challenge: Create an iterator for a list of lists with the following methods:
boolean **hasNext**()
return true if there is another element in the set
int **next**()
return the value of the next element in the array
void **remove**()
@itorain
itorain / main.cpp
Last active April 5, 2019 18:10
C++ LCG
#include <iostream>
#include <memory>
using namespace std;
typedef unsigned char BYTE;
int M = 0xA5;
int A = 0xc9;
int N = 256;
int init = 0x55;