My Recent Pastes (236733 and counting)
All Pasties (over 236,733 and counting)
Below are summaries of the most recent pasties.
November 19, 2008
7:10PM EDT
1 2 3 |
$(this).next('ul.menu').children('li').click(function() { $(this).children('a').trigger("click"); }); |
November 19, 2008
7:09PM EDT
View more (21 lines)
1 2 3 4 5 |
Blaqkie, You have been sent this communication from hobjob via the "Report this post to a moderator" link. ------------------------------------------------ |
November 19, 2008
7:09PM EDT
View more (55 lines)
1 2 3 4 5 |
Array
(
[add] => 783
[opt] => 0
[page] => viewProd
|
November 19, 2008
7:07PM EDT
View more (14 lines)
1 2 3 4 5 |
require "rubygems" require "ascii_art" if !ARGV.size.between?(1, 2) puts "Usage: ruby image2ascii IMAGE_FILE [COLUMNS=80]" |
November 19, 2008
7:07PM EDT
View more (93 lines)
1 2 3 4 5 |
require "xterm256color" require "RMagick" require "open-uri" class AsciiArt |
November 19, 2008
7:05PM EDT
View more (93 lines)
1 2 3 4 5 |
module Xterm256Color # the 6 value iterations in the xterm color cube VALUERANGE = [ 0x00, 0x5F, 0x87, 0xAF, 0xD7, 0xFF ] |
November 19, 2008
7:04PM EDT
1 |
array(52) { ["add"]=> string(3) "783" ["opt"]=> string(1) "0" ["page"]=> string(8) "viewProd" ["cat_id"]=> string(2) "57" ["quan"]=> string(1) "1" ["total"]=> string(1) "0" ["hidden_price_0"]=> string(1) "0" ["calculatedTotal"]=> string(1) "0" ["previouslySelectedDropdown"]=> string(1) "0" ["mobil"]=> string(5) "mobil" ["keep1"]=> string(2) "no" ["np1"]=> string(5) "andet" ["skiftmsisdn1"]=> string(0) "" ["mobilselskab1"]=> string(0) "" ["andetselskab1"]=> string(0) "" ["andeticc1"]=> string(0) "" ["msisdn"]=> string(0) "" ["icc1"]=> string(0) "" ["msisdntdc1"]=> string(0) "" ["ban1"]=> string(0) "" ["keep2"]=> string(2) "no" ["skiftmsisdn2"]=> string(0) "" ["mobilselskab2"]=> string(0) "" ["andetselskab2"]=> string(0) "" ["andeticc2"]=> string(0) "" ["icc2"]=> string(0) "" ["msisdntdc2"]=> string(0) "" ["ban2"]=> string(0) "" ["keep3"]=> string(2) "no" ["skiftmsisdn3"]=> string(0) "" ["mobilselskab3"]=> string(0) "" ["andetselskab3"]=> string(0) "" ["andeticc3"]=> string(0) "" ["icc3"]=> string(0) "" ["msisdntdc3"]=> string(0) "" ["ban3"]=> string(0) "" ["keep4"]=> string(2) "no" ["skiftmsisdn4"]=> string(0) "" ["mobilselskab4"]=> string(0) "" ["andetselskab4"]=> string(0) "" ["andeticc4"]=> string(0) "" ["icc4"]=> string(0) "" ["msisdntdc4"]=> string(0) "" ["ban4"]=> string(0) "" ["keep5"]=> string(2) "no" ["skiftmsisdn5"]=> string(0) "" ["mobilselskab5"]=> string(0) "" ["andetselskab5"]=> string(0) "" ["andeticc5"]=> string(0) "" ["icc5"]=> string(0) "" ["msisdntdc5"]=> string(0) "" ["ban5"]=> string(0) "" } Patrick Ipsen Hovedvejen test test2 test3 2600 Glostrup 72428626 add: 783 page: viewProd cat_id: 57 quan: 1 mobil: mobil keep1: no np1: andet keep2: no keep3: no keep4: no keep5: no array(30) { ["add"]=> string(3) "881" ["opt"]=> string(1) "0" ["page"]=> string(8) "viewProd" ["cat_id"]=> string(2) "68" ["hidden_price_676"]=> string(3) "202" ["hidden_price_677"]=> string(3) "298" ["hidden_price_682"]=> string(3) "257" ["hidden_price_665"]=> string(3) "195" ["hidden_price_666"]=> string(3) "363" ["hidden_price_667"]=> string(3) "284" ["hidden_price_683"]=> string(3) "133" ["hidden_price_684"]=> string(2) "69" ["hidden_price_668"]=> string(2) "59" ["hidden_price_678"]=> string(3) "254" ["hidden_price_669"]=> string(3) "269" ["hidden_price_679"]=> string(3) "135" ["hidden_price_680"]=> string(3) "296" ["hidden_price_670"]=> string(3) "162" ["hidden_price_672"]=> string(3) "419" ["hidden_price_671"]=> string(3) "356" ["hidden_price_681"]=> string(3) "355" ["hidden_price_673"]=> string(3) "241" ["hidden_price_674"]=> string(3) "379" ["hidden_price_675"]=> string(3) "152" ["productOptions"]=> array(1) { [0]=> string(3) "681" } ["quan"]=> string(1) "1" ["total"]=> string(1) "0" ["hidden_price_0"]=> string(1) "0" ["calculatedTotal"]=> string(1) "0" ["previouslySelectedDropdown"]=> string(1) "0" } Michael Vinther Odgaard Himmerlandsgade 3 9600 Aars add: 881 page: viewProd cat_id: 68 hidden_price_676: 202 hidden_price_677: 298 hidden_price_682: 257 hidden_price_665: 195 hidden_price_666: 363 hidden_price_667: 284 hidden_price_683: 133 hidden_price_684: 69 hidden_price_668: 59 hidden_price_678: 254 hidden_price_669: 269 hidden_price_679: 135 hidden_price_680: 296 hidden_price_670: 162 hidden_price_672: 419 hidden_price_671: 356 hidden_price_681: 355 hidden_price_673: 241 hidden_price_674: 379 hidden_price_675: 152 productOptions: Array quan: 1
|
November 19, 2008
7:04PM EDT
View more (153 lines)
1 2 3 4 5 |
[daya@lindev2 ship]$ jirb -I ~/webdev/webapp-common/build/classes/ -I ~/webdev/xtralibs/hibernate/lib irb(main):001:0> require "com/skyauction/webapp/dao/BaseDAO" => true irb(main):002:0> require "com/skyauction/webapp/dao/DAOFactory" => true |
November 19, 2008
7:03PM EDT
by anathematic
View more (40 lines)
1 2 3 4 5 |
## Header <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> |
November 19, 2008
7:01PM EDT
View more (50 lines)
1 2 3 4 5 |
We have the following table that stores the access information for a project; The access_type represents access to a particular project.. i.e. 1 means standard access for a project, 2 might mean advanced access. The underlying table looks like this: |
November 19, 2008
7:00PM EDT
View more (38 lines)
1 2 3 4 5 |
#my ruby environment variable in .bashrc RUBYLIB=/Users/m.hansen/biopieces/code_ruby |
November 19, 2008
6:56PM EDT
View more (9 lines)
1 2 3 4 5 |
def read_line (database) File.open(database) do |file| file.each do |line| yield line end |
November 19, 2008
6:47PM EDT
View more (11 lines)
1 2 3 4 5 |
module Kernel def gem(gem_name, *version_requirements) # :doc: skip_list = (ENV['GEM_SKIP'] || "").split(/:/) raise Gem::LoadError, "skipping #{gem_name}" if skip_list.include? gem_name |
November 19, 2008
6:41PM EDT
View more (32 lines)
1 2 3 4 5 |
We have the following table that stores the access information for a project; The access_type represents access to a particular project.. i.e. 1 means standard access for a project, 2 might mean advanced access. The underlying table looks like this: |
November 19, 2008
6:41PM EDT
View more (43 lines)
1 2 3 4 5 |
2Test(s) saved. Compilation successful. Testsuite: TestPascalsTriangleFunctionPublic Tests run:3, Failures: 3, Errors: 0, Time elapsed: 0.037 sec ------------- Standard Output --------------- |
November 19, 2008
6:37PM EDT
View more (9 lines)
1 2 3 4 5 |
def read_line (database) File.open(database) do |file| file.each.do |line| yield line end |
November 19, 2008
6:36PM EDT
View more (30 lines)
1 2 3 4 5 |
Index: Five/viewlet/manager.py =================================================================== --- Five/viewlet/manager.py (revision 78510) +++ Five/viewlet/manager.py (working copy) @@ -8,6 +8,7 @@ |
Pastie