main.cpp
- Beginnings of learning C++ from Accelerated C++
fibonacci.c
- An annotated C program for calculating fibonacci sequences.
vowels.js
- Basic 'string searching' in JavaScript - checking for vowels in a string.
conjecture.hs
- Collatz numbers / sequence calculator in Haskell
bubble.go
- An annotated program with a bubble sort function and main function to call the sort on a list.
euler.go
- Project Euler's problems 1 and 6, in go.
averages.py
- Multiple functions for lists with Python. The shortest program yet π
piglatin.js
- Words => Pig Latin Translator, rittenway inay avascriptjay.
polishNotation.go
- solve() function for evaluating calculations in polish notation.
sparkdown.py
- An incredibly lightweight, kind of buggy, markdown implementation in python.
caesar.py
- Caesar Cipher
fizzBuzz.pas
- My first ever program in Pascal -- fizzbuzz.
addTwoInputs.bf
- Getting two integers from input and adding them together in brainf***
wordGuess.hs
- A guessing game in Haskell. It doesn't work yet π, I'll try and fix it.
intrst - Not a small program, but a website. In its own repository
mode.py
- Calculating the most frequent integer in an array. Also see my writing on it.
crayon.py
- A random, graphical generator. Uses the pygame library (sudo apt-get install python-pygame
)
collatz.pas
- My second collatz conjecture, in pascal. I didn't have any ideas.
Game.java
, Entity.java
, and Keyboard.java
- these make up a very simple platformer.
rand7.cpp
- Implement a rand7() function (random number from 1 -> 7), by using a rand5() function. There will be a
writeup of this program.
palindrome/*
- Programs in multiple languages to return whether or not a string is a palindrome.
anagram.clj
- An anagram-checker, beginning to familiarise myself with clojure's syntax.
joshhartigan.github.io - Redesign and beginnings of content overhaul. Also, a script for converting bulk markdown to HTML.
An Introduction to Python on my site. Contains 3 very small programs - the focus is on the writing.
neominim/*
- Beginnings of a parser for a 'sequel' to my minimalist programming language, minim.
eva.clj
- Mathematical Expression Evaluation, in Clojure.
pythagoras.go
- Multiple functions written in Go that take advantage of Pythagoras's theorem.
nextPrime.cpp
- A function that takes in a number as an argument, and returns the next prime number.
myTake.hs
- An reimplementation of Haskell's take
function.
monkey.go
- Command line, file input, polish notation, calculator. Put instructions in a text file and run ./monkey myFile.txt
. Results are printed. To build, go build monkey.go
useless.py
- An obfuscated, complicated way of printing integers. Take up the challenge of figuring out how it works! π
monkey.go
- The beginning of an implementation of variable manipulation and storage.
monkey.go
- Full variable implementation, major cleanup, and documentation.
monkey.go
- Full implementation of multiple parameters. Also, semicolons are needed for non-assignment expressions. I will take a break from monkey now.
sdl/*
- A Graphical program, using libSDL, in C++. My first graphical program not in Java or Python.
timeMeasurement.cpp
- Given x number of seconds, this program will show how many hours and minutes (and remainder seconds) are in x.
shortPath.cpp
- Finds the shortest non-diagonal path between two points in a matrix.
shortPath.cpp
- Implementation of diagonal paths.
monkey.go
- Cleanup, fixing of variable usage, better function naming.
pyramid.cpp
- Classic text-based pyramid drawing program.
redditerm.py
- Simple command line interface for reddit.
web/*
- Beginnings of a website redesign.
coderbyte_challenges.py
- Solutions to various challenges from www.coderbyte.com, in Python.
coderbyte_challenges.py
- Two more challenges, very small as I had little time. It's not like anyone reads this anyway.
Beginnings of an article on my website about the stack and the heap.
icogen.py
- Random icon / avatar generator.