User contributions for Egge

A user with 451 edits. Account created on 5 May 2006.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

30 June 2009

29 June 2009

  • 01:5301:53, 29 June 2009 diff hist +297 Nm Ruby regular expressionsCreated page with 'Comments are one of the great, yet little used, features of modern regular expression engines. Consider the following: <geshi lang="ruby"> "Ruby is fun" =~ /(?#a)r(?#e you able…' current

28 June 2009

26 June 2009

  • 00:5800:58, 26 June 2009 diff hist +244 Nm Vim arrow keysNew page: Using rxvt and vim 7.1, sometimes the arrow keys produce 'A', 'B', 'C', 'D' instead of navigating. Adding this to my ~/.vimrc seems to fix the problem. <geshi lang="bash"> :set term=built...

25 June 2009

24 June 2009

19 June 2009

18 June 2009

11 June 2009

9 June 2009

3 June 2009

26 May 2009

16 May 2009

15 May 2009

23 March 2009

  • 05:2705:27, 23 March 2009 diff hist +1,825 Nm Javascript callback recursionNew 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

  • 23:4423:44, 8 March 2009 diff hist +694 Nm Average ping timeNew 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

23 February 2009

  • 22:0822:08, 23 February 2009 diff hist +3,037 Nm Sybase Packet TraceNew 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

16 February 2009

  • 05:0205:02, 16 February 2009 diff hist +246 Nm Encrypt a fileNew 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

  • 04:4304:43, 21 January 2009 diff hist +334 Nm Count Logical IONew 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

8 January 2009

2 January 2009

23 December 2008

12 December 2008

11 December 2008

  • 23:4023:40, 11 December 2008 diff hist +274 Nm Transmit error: code 1314New 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

9 December 2008

4 December 2008

3 December 2008

  • 06:2006:20, 3 December 2008 diff hist +2,884 Nm And vs Modulo performanceNew 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

21 November 2008

11 November 2008

  • 08:3108:31, 11 November 2008 diff hist +375 m BITSNo edit summary current
  • 06:2106:21, 11 November 2008 diff hist +2,425 Nm BITSNew 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 ...
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)