User contributions for Egge
2 June 2009
- 21:4021:40, 2 June 2009 diff hist 0 N File:Cygwin-sqlite.PNG No edit summary current
- 21:4021:40, 2 June 2009 diff hist +632 Nm Sqlite ruby cygwin New page: To get sqlite 3 running in ruby under Cygwin, I followed these steps: 1. Install libsqlite3_0 and libsqlite3-devel from the Cygwin setup. <br> Image:cygwin-sqlite.PNG 2. Installed th...
26 May 2009
- 02:0502:05, 26 May 2009 diff hist +972 m Ruby Solaris Install No edit summary current
25 May 2009
- 20:5620:56, 25 May 2009 diff hist +712 m 10 Things I've Learned from other Languages No edit summary current
15 May 2009
- 20:5320:53, 15 May 2009 diff hist +224 m Ruby mXML error No edit summary current
- 09:5409:54, 15 May 2009 diff hist +6 m Ruby Tips →Shuffle a list of numbers
- 09:4509:45, 15 May 2009 diff hist +853 Nm Ruby mXML error New page: I received this error on my Mac OSX 10.5 After using Mac Ports to install Ruby, and then installing Ruby gems 1.3.3, I received this error when installing rubyosa. <geshi lang="bash"> $...
23 March 2009
- 01:2701:27, 23 March 2009 diff hist +1,825 Nm Javascript callback recursion New page: Recently, I had the misfortune to have to write some JavaScript which needed to work in IE6. Basically, I wanted to create a loading screen for a web page. Basically the code looks like:... current
8 March 2009
- 19:4419:44, 8 March 2009 diff hist +694 Nm Average ping time New page: This perl one-liner sends ten 100 byte packets to '''hostname''', and then displays the average. <geshi lang="perl"> /usr/sbin/ping -s hostname 100 10 | perl -ne \ 'BEGIN{ $sum = 0.0; $c... current
2 March 2009
- 00:4900:49, 2 March 2009 diff hist +1,169 m Encrypt a file No edit summary
23 February 2009
- 18:0818:08, 23 February 2009 diff hist +3,037 Nm Sybase Packet Trace New page: Sometimes it's useful to view all the data being sent and received from a Sybase installation. Depending on the hardware one may be able to directly run a packet sniffer to view the traff... current
18 February 2009
- 15:5915:59, 18 February 2009 diff hist +21 m Sybase Wait Time No edit summary current
- 15:5815:58, 18 February 2009 diff hist +3,820 Nm Sybase Wait Time New page: View Sybase wait statistics. <pre> select m.WaitEventID, Description, Waits, WaitTime from master..monSysWaits m, master..monWaitEventInfo i where m.WaitEventID = i.WaitEventID order by W...
16 February 2009
- 01:0201:02, 16 February 2009 diff hist +246 Nm Encrypt a file New page: How to quickly encrypt a file. <geshi lang="bash"> echo "Hello world" > message.txt encrypt -a 3des -i message.txt -o message.txt.encrypted Enter key: decrypt -a 3des -i message.txt.encry...
21 January 2009
- 00:4300:43, 21 January 2009 diff hist +334 Nm Count Logical IO New page: I append this one liner to my sqsh statement to get a count of logical io. Be sure to '''set statistics io on''' first. <geshi lang="bash">| ruby -pe ' BEGIN{@sum=0}; if $_ =~ /logical re... current
7 January 2009
- 21:3721:37, 7 January 2009 diff hist +106 m Solaris tar No edit summary current
2 January 2009
- 01:5501:55, 2 January 2009 diff hist +190 m Java Tips →replaceAll Backreferences
23 December 2008
- 18:5818:58, 23 December 2008 diff hist +1,244 Nm Lesspipe.sh New page: http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html lesspipe is a input filter for the less pager. Recently I asked the author about supporting '''wget''' and he provided me this p... current
11 December 2008
- 23:0323:03, 11 December 2008 diff hist +449 Nm Testing firewall rules with netcat New page: It's quite easy to test to see if a firewall will allow traffic on a specific port if you have control of the server behind the firewall. Example: On the remote side, listen to a port: <... current
- 22:0022:00, 11 December 2008 diff hist +15 m Reformat Java Sql No edit summary current
- 21:4521:45, 11 December 2008 diff hist +397 Nm Reformat Java Sql New page: Occasionally, I come across a large multi-line SQL block inside Java code. The following sed one liner takes the code off from my clipboard, tidies it up, and puts it back in the clipboar...
- 19:4019:40, 11 December 2008 diff hist +274 Nm Transmit error: code 1314 New page: <geshi> $ tracert somehost Tracing route to somehost.pc.internal.bigbank.com [10.202.60.244] over a maximum of 30 hops: 1 Transmit error: code 1314. Trace complete. </geshi> The e... current
8 December 2008
- 22:0122:01, 8 December 2008 diff hist +191 m DaCapo No edit summary
4 December 2008
- 18:1318:13, 4 December 2008 diff hist +74 m String Concatenation optimization No edit summary
3 December 2008
- 02:2002:20, 3 December 2008 diff hist +2,884 Nm And vs Modulo performance New page: In school I was taught the modulo operator is slow compared with bitwise operators. This is because often modulo is implemented using divide. See http://en.wikipedia.org/wiki/Modulo_oper...
24 November 2008
- 00:2500:25, 24 November 2008 diff hist +3,039 Nm Ivy+Eclipse 3.4 New page: After upgrading to Eclipse 3.4 (Ganymede), I started getting this error when attempting to run a JUnit 3 Test Suite: <pre> junit.framework.AssertionFailedError: No tests found in com.fin... current
23 November 2008
- 21:1421:14, 23 November 2008 diff hist +19 m EqualityTestCase No edit summary
21 November 2008
- 02:0502:05, 21 November 2008 diff hist +870 Nm How to upload large data to a web server New page: One area where applications are often vulnerable is attacks which post large amounts of data to the server. The server might be expecting only a user name, and may fail if given a large a... current
11 November 2008
- 04:3104:31, 11 November 2008 diff hist +375 m BITS No edit summary current
- 02:2102:21, 11 November 2008 diff hist +2,425 Nm BITS New page: BITS is Microsoft's '''Background Intelligent Transfer Service'''. Today I wanted to install C# so I could play around with the Communicator API. So, I found the download on Microsoft's ...
5 November 2008
- 22:4022:40, 5 November 2008 diff hist +37 m HttPerf No edit summary
- 22:3922:39, 5 November 2008 diff hist +480 m HttPerf No edit summary
12 October 2008
- 17:3317:33, 12 October 2008 diff hist +18 m SwingWorker Example No edit summary current
10 October 2008
- 02:5402:54, 10 October 2008 diff hist 0 N File:Lucky2.PNG No edit summary current
- 02:5402:54, 10 October 2008 diff hist 0 N File:Lucky1.PNG No edit summary current
- 02:5302:53, 10 October 2008 diff hist +3,467 Nm SwingWorker Example New page: Here's a basic example of how to use a SwingWorker for a long running background task. Idle Image:lucky1.PNG Running Image:lucky2.PNG <geshi lang="java5"> package swingworker; ...
2 October 2008
- 18:2418:24, 2 October 2008 diff hist −6 m Use Curl to Monitor Websites No edit summary
- 03:5103:51, 2 October 2008 diff hist +641 Nm Use Curl to Monitor Websites New page: Here's a simple script which you can check to see if a website is up and responding. <geshi lang="bash"> #!/bin/bash # $1 = URL to check # $2 = expected text to be found in the page func...
1 October 2008
- 03:3103:31, 1 October 2008 diff hist +1,153 Nm Java Proper Case New page: A quick search on how to proper case or title case a Java string returned a number way to approach this problem. In C/assembly you can do the replacement in place, and very fast using bit...
30 September 2008
- 23:1523:15, 30 September 2008 diff hist +1,981 Nm Timeago.rb New page: Here's yet another timeago function which I found, for those who don't want to include a full Rails framework in your Ruby script. Sorry - I don't remember where I copied this function fr... current
29 September 2008
- 04:4504:45, 29 September 2008 diff hist +42 m Metasend No edit summary current
- 03:2303:23, 29 September 2008 diff hist +336 m Ruby Tips No edit summary
28 September 2008
- 23:2523:25, 28 September 2008 diff hist +328 m Solaris Tips No edit summary current
26 September 2008
- 05:1505:15, 26 September 2008 diff hist +10,217 Nm Log4j file rotation New page: If you have an application writing to a log file using log4j, under what circumstances could the log rotation cause the hosting process to fail? I spent some time investigation this tod...
24 September 2008
- 07:2707:27, 24 September 2008 diff hist +857 m Top 10 ways to increase traffic to your wiki No edit summary
- 07:0207:02, 24 September 2008 diff hist +178 m Python Tips No edit summary
21 September 2008
- 21:1621:16, 21 September 2008 diff hist +2,802 Nm Nothing Compares to You New page: One of my frequent pain points with Java Generics concerns the '''Comparable''' interface. In pre-generics, the Comparable interface can be specified at multiple points within an inherita... current
17 September 2008
- 07:1207:12, 17 September 2008 diff hist +510 Nm Python Tips New page: Python takes some getting used to. The clean syntax is great, but it has some things which a Java or Ruby programmer might not guess. == How to tell if an object is None == This won't...
15 September 2008
- 20:3320:33, 15 September 2008 diff hist +1,940 Nm Java File.listFiles order New page: The documentation for the Java JDK specifically mentions that the files returns can be in any order. <blockquote> There is no guarantee that the name strings in the resulting array...
- 03:1203:12, 15 September 2008 diff hist +154 m Linux Tips No edit summary