Skip to content

Instantly share code, notes, and snippets.

View samrahimi's full-sized avatar

Sam Rahimi samrahimi

View GitHub Profile
@samrahimi
samrahimi / gist:034d0d0d0858e41079d8
Created January 25, 2016 22:46
Verifying that +samrahimi is my blockchain ID. https://onename.com/samrahimi
Verifying that +samrahimi is my blockchain ID. https://onename.com/samrahimi
@samrahimi
samrahimi / godfunction.html
Last active November 27, 2016 08:55
The God Function
<html>
<body>
<style>
/*
* This code will run as is in desktop versions of Chrome. Download and enjoy.
* Inspired by truth and beauty ;)
*/
body {
background-color:black;
}
@samrahimi
samrahimi / Robot.cs
Created March 17, 2017 04:51
C3PO, The Psychic Robot - Coding Exercise for Horoscope.com
/*
* 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"