Skip to content

Instantly share code, notes, and snippets.

View darkcrawler01's full-sized avatar

Kalyanaraman Santhanam darkcrawler01

  • Beeswax
  • New York
View GitHub Profile
@darkcrawler01
darkcrawler01 / adx_convert_ip.py
Last active September 9, 2016 18:31
AdX ip address converter
# run in python shell
ip = '70.114.164.59'
ip = ip.split('.')
str(bytes(bytearray([int(ip[0]), int(ip[1]), int(ip[2])])))
@darkcrawler01
darkcrawler01 / LongestCompoundWord.java
Created April 22, 2014 20:03
Code I wrote for a programming challenge, Not sure why I didnt clear it though
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;