This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
import json | |
import hashlib | |
with open('export.json') as f: | |
pws = json.load(f) | |
def build_radix_index(i, offset, lchar): | |
radix = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Author : Emad Elsaid (https://github.com/blazeeboy) | |
# | |
# this script is a small practice in implementing | |
# simple sorting algorithms in ruby, i converted | |
# the sorting algorithms from wikipedia pages | |
class Array | |
# Insertion sort is a simple sorting algorithm that builds | |
# the final sorted array (or list) one item at a time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Produce PHP-style multidimensional array. | |
# | |
# Example | |
# | |
# arr = Marray.new | |
# | |
# arr[1][2][3] = "foo" | |
# => "foo" | |
# | |
# arr[1][2][3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Search Suggestions | |
Original design by Visual Idiot - http://dribbble.com/shots/377281-Search-Suggestions | |
*/ | |
html { | |
min-height: 100%; | |
background: -webkit-linear-gradient(#dbddde, #b6babb); | |
font-family: Helvetica Neue, Helvetica, Arial, sans-serif; | |
-webkit-font-smoothing: antialiased; |