Skip to content

Instantly share code, notes, and snippets.

View bigomega's full-sized avatar

Bharath Raja bigomega

View GitHub Profile
@bigomega
bigomega / .gitignore
Last active February 7, 2016 16:44
Tic Tac Toe
/node_modules
npm-debug.log
@bigomega
bigomega / 07day.js
Last active December 20, 2015 12:56
Advent of Code problem solutions
// - If a is not found
// - iterate through the input
// - If it output doesn't exist
// - Check if inputs have value
// - If so calculate output and add value
// - Else add the equation
// - If the output has value(number), ignore
// - If the output has equation, try to calculate
// - Reapeat
@bigomega
bigomega / nde.py
Last active December 18, 2015 00:29
ND Encryption Algorithm
# **************************************************
# ND Encription algorithm (nde)
# - derived from phonetics of words
# - replacing the first two consonent sounds of every word
# - works best for tamil words written in english
# Authors:
# Bharath => Rabhath
# Dhinesh => Nidhesh
# **************************************************
[{date:
'7-1-13',
pepsi: 2,
dietPepsi: 3
},{date:
'10-1-13',
mountainDew: 2,
frooti: 2,
@bigomega
bigomega / gist:4054638
Created November 11, 2012 11:31
Batman Logo (nolan's)
//THE DARK KNIGHT logo openGL code
//--Brad
//change the include files accordingly
#include <stdlib.h>
#include<GL/gl.h>
#include<GL/glu.h>
#include<GL/glut.h>
#include<unistd.h>
@bigomega
bigomega / gist:3869102
Created October 10, 2012 23:01
BrainFuck Javascript Compiler
var strip=[0];
var index=0;
var loopStack=new Array();
var loopFlag=0;
var innerLoopCount=0;
input=document.getElementById('inp').value;
for(i=0;i<input.length;i++){
var element=input[i];
if(loopFlag==1){
if(element=='[')