Skip to content

Instantly share code, notes, and snippets.

View anchormath's full-sized avatar

Ankur Mathur anchormath

  • San Francisco, CA
View GitHub Profile
@p10rahulm
p10rahulm / create_static_site.MD
Last active July 23, 2024 01:35
Create Static Site using Godaddy and Google Cloud Storage in 15 minutes

Steps to create a static Site using Godaddy and Google Cloud Storage

Create a static html site

  • Can use this boilerplate to modify: http://www.initializr.com/
  • Make all your subpages and make sure to link them
  • Check your index.html works
@thomasdarimont
thomasdarimont / AkkaActorApiExample.scala
Created October 29, 2014 12:25
akka Actor API and Actor DSL example for ping pong
package example
import akka.actor._
case object PingMessage
case object PongMessage
case object StartMessage
case object StopMessage
class Ping(pong: ActorRef) extends Actor {
@debasishg
debasishg / gist:8172796
Last active June 8, 2025 08:30
A collection of links for streaming algorithms and data structures

General Background and Overview

  1. Probabilistic Data Structures for Web Analytics and Data Mining : A great overview of the space of probabilistic data structures and how they are used in approximation algorithm implementation.
  2. Models and Issues in Data Stream Systems
  3. Philippe Flajolet’s contribution to streaming algorithms : A presentation by Jérémie Lumbroso that visits some of the hostorical perspectives and how it all began with Flajolet
  4. Approximate Frequency Counts over Data Streams by Gurmeet Singh Manku & Rajeev Motwani : One of the early papers on the subject.
  5. [Methods for Finding Frequent Items in Data Streams](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.187.9800&rep=rep1&t
@bwhite
bwhite / rank_metrics.py
Created September 15, 2012 03:23
Ranking Metrics
"""Information Retrieval metrics
Useful Resources:
http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt
http://www.nii.ac.jp/TechReports/05-014E.pdf
http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf
http://hal.archives-ouvertes.fr/docs/00/72/67/60/PDF/07-busa-fekete.pdf
Learning to Rank for Information Retrieval (Tie-Yan Liu)
"""
import numpy as np
@vikrum
vikrum / App.scala
Created June 26, 2012 18:51
Scala REPL exposed via Netty
object App extends Logging {
def main(args: Array[String]) = {
setupNetty
scalaReplConsole
}
/**
* Setup Netty for things like logging, etc. This should happen first. Do not get rid of this.
* You'll have a calamity on your hands if it needs to log under stress and it is unable to.