Skip to content

Instantly share code, notes, and snippets.

#include "KeywurlBrowserWindowController.h"
#include "KeywurlPlugin.h"
@implementation KeywurlBrowserWindowController
// We override this method to intercept addresses at an early stage without
// invoking Safari's fallback system. This is quicker as it avoids unnecessary
// DNS lookups
- (void) goToToolbarLocation: (id) sender {
KeywurlPlugin* plugin = [KeywurlPlugin sharedInstance];
Date/Time: 2010-01-29 09:13:31.645 -0500
OS Version: 10.4.11 (Build 8S165)
Report Version: 4
Command: Google Book Downloader
Path: /Volumes/Google Book Downloader/Google Book Downloader.app/Contents/MacOS/Google Book Downloader
Parent: WindowServer [67]
Version: ??? (1.0.1)
@hac
hac / FacebookBot.rb
Created January 4, 2011 02:00
A class for automating basic user tasks on FaceBook.
#!/usr/bin/ruby
require 'rubygems'
require 'mechanize'
# We will probably want to start using JSON instead of regular expressions sometime.
#require 'json'
class Mechanize::Page
#!/usr/bin/perl
use strict;
use warnings;
use Mac::PropertyList qw(parse_plist_file);
use DBI;
my $app_support = "$ENV{HOME}/Library/Application Support";