Skip to content

Instantly share code, notes, and snippets.

View vividness's full-sized avatar

vividness vividness

  • San Francisco Bay Area
View GitHub Profile
@miguno
miguno / build.sbt
Created November 30, 2013 13:03
build.sbt for Apache Kafka 0.8.0 for Scala 2.10 with sbt 0.13.0. Note: The code uses the Apache Staging repository because we use the latest release candidate (RC) of Kafka 0.8.0. For official Kafka releases you don't need that staging repository.
name := "kafka-0.8-with-scala-2.10-example"
version := "1.0"
scalaVersion := "2.10.3"
sbtVersion := "0.13.0"
// Required to retrieve Kafka 0.8.0-rc5 artifacts; once Kafka 0.8.0 is officially released
// you don't need to use the Apache Staging repo anymore.
@bloudermilk
bloudermilk / README.md
Created March 23, 2012 19:07
Facebook Page Categories

All of the categories!

I wrote a really simple JavaScript script that uses jQuery to extract all the categories from Facebook's "Create a page" page.

Instructions

  1. Navigate to the Create a page page.
  2. jQuerify the page.
  3. Open up your JavaScript console of choice and run the following script: