Skip to content

Instantly share code, notes, and snippets.

View tenpaiyomi's full-sized avatar

Eric Musgrove tenpaiyomi

View GitHub Profile
Processing DaysController#show (for 172.18.41.0 at 2008-08-13 16:49:09) [GET]
Session ID: eba184f55f1c2e969a9d2e9a3d405900
Parameters: {"date"=>"08-13-2008", "action"=>"show", "controller"=>"days"}
Rendering template within layouts/application
Compiling template _run_erb_47app47views47days47_show46html46erb_locals_object_show
Compiling template _run_erb_47app47views47days47_table_header46html46erb_locals_day_object_table_header
Compiling template _run_erb_47app47views47days47_day_navigation46html46erb_locals_day_day_navigation_object_tomorrow_msg_yesterday_msg
Rendered days/_day_navigation (0.00177)
Rendered days/_table_header (0.00498)
Compiling template _run_erb_47app47views47days47_time_row46html46erb_locals_bt_end_hour_bt_start_hour_day_object_time_row
//
// HAlogin.m
// Harvester
//
// Created by Eric Musgrove on 9/2/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import "HAlogin.h"
## One setup
# This one doesn't work at all. When going to baddomain.com it states:
# "Your browser sent a request that this server could not understand."
RewriteEngine on
RewriteCond %{HTTP_REFERER} baddomain\.com [NC]
RewriteRule .* error/STEALING.html [NC,L]
## Another setup
function callInProgress(xmlhttp) {
alert(xmlhttp.readyState); // This is returning a 0, even when host is not found
switch (xmlhttp.readyState) {
case 1: case 2: case 3:
return true;
break;
// Case 4 and 0
default:
return false;
break;
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<%= render :partial => "/layouts/head" %>
<body onload="preloadimages()">
<div id="container">
<div id="header">
def self.initializeMenuBar
# Create our status bar for the application
puts "Initializing....."
# Create our menu
# menu = NSMenu.allocWithZone(menuZone)
@menuItem = NSStatusBar.systemStatusBar.statusItemWithLength(NSVariableStatusItemLength)
# And set it's details
class MenuBarController
attr_accessor :timePortalHudWindow
def applicationDidBecomeActive(notification)
# Create our status bar for the application
puts "Initializing....."
# menuZone = NSMenu.menuZone()
# menu = NSMenu.allocWithZone(menuZone)
class MenuBarController
def init
if super
# Create our status bar for the application
puts "Initializing....."
# menuZone = NSMenu.menuZone()
# menu = NSMenu.allocWithZone(menuZone)
menuItem = NSStatusBar.systemStatusBar.statusItemWithLength(NSVariableStatusItemLength)
class MenuBarController
def init
if super
# Create our status bar for the application
puts "Initializing....."
# menuZone = NSMenu.menuZone()
# menu = NSMenu.allocWithZone(menuZone)
menuItem = NSStatusBar.systemStatusBar.statusItemWithLength(NSVariableStatusItemLength)
def init
if super
# Create our status bar for the application
puts "Initializing....."
# menuZone = NSMenu.menuZone()
# menu = NSMenu.allocWithZone(menuZone)
menuItem = NSStatusBar.systemStatusBar.statusItemWithLength(NSVariableStatusItemLength)
#