Skip to content

Instantly share code, notes, and snippets.

Max Burstein mburst

Block or report user

Report or block mburst

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mburst
mburst / rss_reader.php
Created Mar 24, 2013
RSS Feed Reader in PHP
View rss_reader.php
<html>
<head>
<title>RSS Feed Reader</title>
</head>
<body>
<?php
//Feed URLs
$feeds = array(
"http://maxburstein.com/rss",
"http://www.engadget.com/rss.xml",
@mburst
mburst / astar.rb
Created Feb 24, 2013
Ruby A* implementation
View astar.rb
require 'priority_queue'
require 'set'
class Node
def initialize(x, y)
@x = x
@y = y
@obstacle = false
@g_score = Float::INFINITY
end
View bloomfilter.py
from bitarray import bitarray
import mmh3
class BloomFilter:
def __init__(self, size, hash_count):
self.size = size
self.hash_count = hash_count
self.bit_array = bitarray(size)
self.bit_array.setall(0)
View jquery_autocomplete.html
<!DOCTYPE html>
<html>
<head>
<title>jQuery Autocomplete</title>
<style>
#res {
margin: 0px;
padding-left: 0px;
width: 150px;
}
You can’t perform that action at this time.