My Recent Pastes (169 and counting)

Pastes by court3nay (169 and counting)

Below are the 15 most recent pasties by court3nay.

May 01, 2007
1:54AM EDT
by court3nay

var max = 2000;

var Scroller = {
  pos: function() {
    return parseInt($('scroller').style.left);    

April 30, 2007
7:41PM EDT
by court3nay

#!/usr/bin/env ruby
require 'rubygems'
gem 'curb'
require 'curb_core'
require 'cgi'

April 26, 2007
8:32PM EDT
by court3nay

iostat -x 5
Linux 2.6.18-1.2869.fc6xen (two)        04/26/2007

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          16.68    7.11    4.69    1.29    0.48   69.75

April 23, 2007
5:35PM EDT
by court3nay

CC auto.o
glibtool --mode=compile gcc -Wall -O2 -ffast-math -funroll-loops -finline-functions -fno-omit-frame-pointer -finline-limit=2000 --param max-inline-insns-single=3500 --param large-function-growth=2000 --param inline-unit-growth=1000 -g -I../../include -I .. -iquote . -I../external_libs/libevent -I../external_libs/cinvoke/lib -I../external_libs/onig -I../external_libs/libtommath -I../external_libs/libzip/lib `pkg-config glib-2.0 --cflags` -c auto.c
mkdir .libs
 gcc -Wall -O2 -ffast-math -funroll-loops -finline-functions -fno-omit-frame-pointer -finline-limit=2000 --param max-inline-insns-single=3500 --param large-function-growth=2000 --param inline-unit-growth=1000 -g -I../../include -I .. -iquote . -I../external_libs/libevent -I../external_libs/cinvoke/lib -I../external_libs/onig -I../external_libs/libtommath -I../external_libs/libzip/lib -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -c auto.c  -fno-common -DPIC -o .libs/auto.o
In file included from /usr/local/include/glib-2.0/glib/galloca.h:30,

April 20, 2007
2:09PM EDT
by court3nay

resolution : percentage
================
1280x1024:21
1024x768:14
1440x900:13

April 20, 2007
2:07PM EDT
by court3nay

resolution : percentage
==============
1024x768:48
1280x1024:16
1280x800:7

April 16, 2007
3:19PM EDT
by court3nay

class Buyer < ActiveRecord::Base
  has_many :carts do
    def find_alternate(permalink)
      find :first, :conditions => ['permalink = ?', permalink] ...
    end

April 16, 2007
12:31AM EDT
by court3nay

## domain.rb

class Domain < ActiveRecord::Base
  belongs_to :user
  has_many :pages

April 13, 2007
3:26PM EDT
by court3nay

slippy.local (0.0.0.0)                                                                         Fri Apr 13 12:25:48 2007
Resolver error: No error returned but no answers given. of fields   quit
                                                                               Packets               Pings
 Host                                                                        Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 192.168.1.1                                                              13.3%    15    0.8   0.8   0.6   1.3   0.2

April 12, 2007
2:58PM EDT
by court3nay

mysql> show processlist;
+-----+------+-----------+------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| Id  | User | Host      | db   | Command | Time | State        | Info                                                                                                 |
+-----+------+-----------+------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| 117 | root | localhost | weed | Query   | 9230 | Locked       | SELECT * FROM stats WHERE (stats.`id` = 311925 AND (stats.domain_id = 723))                          | 

April 12, 2007
2:58PM EDT
by court3nay

mysql> show processlist;
+-----+------+-----------+------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| Id  | User | Host      | db   | Command | Time | State        | Info                                                                                                 |
+-----+------+-----------+------+---------+------+--------------+------------------------------------------------------------------------------------------------------+
| 117 | root | localhost | weed | Query   | 9230 | Locked       | SELECT * FROM stats WHERE (stats.`id` = 311925 AND (stats.domain_id = 723))                          | 

April 12, 2007
1:05PM EDT
by court3nay

 update stats set id=(select id from uniques where 
        uniques.ip_address=stats.ip_address and 
        uniques.domain_id=stats.domain_id and
        user_agent_id=stats.user_agent_id) where stats.unique_id is null

April 11, 2007
10:40PM EDT
by court3nay

# == Schema Information
# Schema version: 42
#
# Table name: referers
#

April 11, 2007
2:15PM EDT
by court3nay

courtenay /tmp $ sysctl -ah
kern.ostype: FreeBSD
kern.osrelease: 6.1-RELEASE-p10
kern.osrevision: 199506
kern.version: FreeBSD 6.1-RELEASE-p10 #0: Wed Nov  1 00:46:06 EST 2006

April 10, 2007
4:25PM EDT
by court3nay

Index: test/functional/admin/comments_controller_test.rb
===================================================================
--- test/functional/admin/comments_controller_test.rb   (revision 2838)
+++ test/functional/admin/comments_controller_test.rb   (working copy)
@@ -10,7 +10,7 @@

Next page

Previous page