Thursday, April 2, 2009

Summary report for 2009-04-03

Top 25 Images


As of 2009-04-03




















































































































































































































Tag Thumbnail Score Trials Average
COMB 196 31 6
SPADE 180 31 5
SPADE 169 29 5
COMB 167 29 5
SAIL 142 23 6
WORM 139 22 6
COW 132 22 6
DRAIN 128 22 5
FOWL 126 23 5
PIG 126 21 6
COW 121 23 5
STOCKING 120 20 6
APPLE 119 18 6
SCISSORS 118 19 6
PIG 116 19 6
NUT 114 17 6
FOOT 113 17 6
THUMB 113 18 6
SCISSORS 113 21 5
COW 113 21 5
WHEEL 110 20 5
RECEIPT 110 21 5
RECEIPT 108 20 5
DRAIN 108 20 5
SPOON 107 18 5

Monday, March 10, 2008

monday 8:46 PM

to find and recover a screen:

screen -ls
screen -x screenID

Wednesday, February 27, 2008

wed 11PM

rand number in JS:
var randomnumber=Math.floor(Math.random()*11)

for 0-10

http://www.javascriptkit.com/javatutors/randomnum.shtml


in a range:
function getRandom(min, max) {
var randomnumber= Math.floor(Math.random()*(max-min))+min;
console.log(randomnumber);
return randomnumber;
}

wednedday 3:08PM

You can either find out your IP address through the command line interface or through a Web-based interface that can determine your address for you.

Through command line interface:

Note: Root access may be required to run these commands. These commands will all be launched from the command line.

1. Launch a command line interface. (This will vary depending on operating system distribution.)

2. In the resulting command line window or screen, type ifconfig.

3. Press Enter. For example, typing ifconfig at the command line:

[sygny@linuxbox /home]# ifconfig

eth0 Link encap:Ethernet HWaddr 00:10:5A:1A:DC:65
inet addr:198.209.253.169 Bcast:208.141.109.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18940 errors:1 dropped:0 overruns:0 frame:2
TX packets:11554 errors:0 dropped:0 overruns:0 carrier:0
collisions:2 txqueuelen:100
RX bytes:4087250 (3.8 Mb) TX bytes:2499423 (2.3 Mb)
Interrupt:11 Base address:0xd000

In the example above, the IP address is labeled inet addr:198.209.253.169.

http://www.answerbag.com/q_view/12741
The subnet mask is listed as Mask:255.255.255.0.

wed 3:26 AM

iGoogle themes don't accept military times, just gringo times

http://code.google.com/apis/themes/docs/reference.html

wed 3:20 AM

Like JS split or java tokenizer - explode will split a string into an array based on a delimiter:

http://www.w3schools.com/php/func_string_explode.asp

wedneday 3:02 AM

get all the files matching a pattern in a directory in a nice list:

ls 360cities_stuttgart_* > test.log

will output one on each line in the log file