Skip to content

Instantly share code, notes, and snippets.


Sam Rahimi samrahimi

View GitHub Profile
samrahimi / Robot.cs
Created Mar 17, 2017
C3PO, The Psychic Robot - Coding Exercise for
View Robot.cs
* Implementation of the Robot coding exercise using a thread-safe lazy singleton pattern.
* To save time, the 2 chip implementations only support arrays of integers and not other numeric types
* Detailed explanations of design decisions are written as comments throughout this file. Test script is at
* the end.
* TESTING INSTRUCTIONS: Build, Run. Test results will be displayed as the output of a console app.
* IMPORTANT: Compatibility with Windows or the Visual Studio build environment is expected but not guaranteed.
* This code was developed, built, and tested using Jetbrains "Rider" IDE and the "Mono"
samrahimi / godfunction.html
Last active Nov 27, 2016
The God Function
View godfunction.html
* This code will run as is in desktop versions of Chrome. Download and enjoy.
* Inspired by truth and beauty ;)
body {
samrahimi / gist:034d0d0d0858e41079d8
Created Jan 25, 2016
Verifying that +samrahimi is my blockchain ID.
View gist:034d0d0d0858e41079d8
Verifying that +samrahimi is my blockchain ID.