User contributions for Egge
30 June 2009
- 00:3200:32, 30 June 2009 diff hist +140 Nm Find world writeable directories Created page with 'Test to make your system is secure! <geshi lang="bash"> find /home -type d -perm -007 -ls </geshi> Category:Bash Category:Security' current
29 June 2009
- 01:5301:53, 29 June 2009 diff hist +297 Nm Ruby regular expressions Created 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
- 07:3607:36, 28 June 2009 diff hist −9 m Robots.txt No edit summary current
- 07:3507:35, 28 June 2009 diff hist +650 m Robots.txt No edit summary
26 June 2009
- 00:5800:58, 26 June 2009 diff hist +244 Nm Vim arrow keys New 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
- 11:2611:26, 25 June 2009 diff hist −1 m Stack Overflow page design →header current
- 04:5204:52, 25 June 2009 diff hist +17 m Main Page No edit summary
- 04:5104:51, 25 June 2009 diff hist +19 m Stack Overflow page design No edit summary
- 04:4604:46, 25 June 2009 diff hist +249 m Stack Overflow page design No edit summary
- 04:4204:42, 25 June 2009 diff hist +1,903 m Stack Overflow page design No edit summary
- 03:0503:05, 25 June 2009 diff hist +3,088 Nm Stack Overflow page design New page: == What do the smart people at Stack Overflow put in their HTML pages? == === header === <code> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" >...
24 June 2009
- 06:0406:04, 24 June 2009 diff hist +397 m Encrypt a file No edit summary
- 01:5601:56, 24 June 2009 diff hist +1,209 Nm Oracle DBMS OUTPUT.PUT LINE New page: Q: How do I view the output from DBMS_OUTPUT.PUT_LINE statements in a stored procedure. A: You can have the output sent to your screen if you run the following statement before executing ... current
19 June 2009
- 00:4300:43, 19 June 2009 diff hist +17,176 m Solaris binary files quick reference No edit summary
18 June 2009
- 03:5403:54, 18 June 2009 diff hist +23 m Create vintage image online No edit summary current
- 03:5303:53, 18 June 2009 diff hist 0 N File:Vintage.jpg No edit summary current
- 03:5303:53, 18 June 2009 diff hist +648 Nm Create vintage image online New page: I needed to create an vintage version of a couple of existing images for a project. Since I don't have GIMP installed on my machine, I wanted to use an online tool. I should have used a ...
11 June 2009
- 01:3201:32, 11 June 2009 diff hist +55,102 Nm Solaris binary files quick reference New page: '''file''' - determine what kind of executable you have <geshi lang="bash"> $ file /usr/bin/ssh /usr/bin/ssh: ELF 32-bit LSB executable 80386 Version 1, dynamically linked, stripped </g...
9 June 2009
- 01:2001:20, 9 June 2009 diff hist +1,303 Nm Using mkfifo and netcat to redirect a file to a remote machine New page: On a resource bound server we had an issue where there wasn't enough disk space or RAM to record the log files. Our vendor wanted a record of our logs, with the logging turned up to the m... current
3 June 2009
- 04:3704:37, 3 June 2009 diff hist +649 Nm Bash completion New page: Useful completion function if you have sudo to a number of users with a small number of commands. <geshi lang="bash"> _sudo() { local cur prev opts base COMPREPLY=() cur="${COMP_W... current
- 01:4001:40, 3 June 2009 diff hist 0 N File:Cygwin-sqlite.PNG No edit summary current
- 01:4001:40, 3 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
- 06:0506:05, 26 May 2009 diff hist +972 m Ruby Solaris Install No edit summary current
- 00:5600:56, 26 May 2009 diff hist +712 m 10 Things I've Learned from other Languages No edit summary current
16 May 2009
- 00:5300:53, 16 May 2009 diff hist +224 m Ruby mXML error No edit summary current
15 May 2009
- 13:5413:54, 15 May 2009 diff hist +6 m Ruby Tips →Shuffle a list of numbers
- 13:4513: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
- 05:2705: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
- 23:4423: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
- 04:4904:49, 2 March 2009 diff hist +1,169 m Encrypt a file No edit summary
23 February 2009
- 22:0822: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
- 19:5919:59, 18 February 2009 diff hist +21 m Sybase Wait Time No edit summary current
- 19:5819: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
- 05:0205: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
- 04:4304: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
8 January 2009
- 01:3701:37, 8 January 2009 diff hist +106 m Solaris tar No edit summary current
2 January 2009
- 05:5505:55, 2 January 2009 diff hist +190 m Java Tips →replaceAll Backreferences
23 December 2008
- 22:5822: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
12 December 2008
- 03:0303:03, 12 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
- 02:0002:00, 12 December 2008 diff hist +15 m Reformat Java Sql No edit summary current
- 01:4501:45, 12 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...
11 December 2008
- 23:4023: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
9 December 2008
- 02:0102:01, 9 December 2008 diff hist +191 m DaCapo No edit summary
4 December 2008
- 22:1322:13, 4 December 2008 diff hist +74 m String Concatenation optimization No edit summary
3 December 2008
- 06:2006: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
- 04:2504: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
- 01:1401:14, 24 November 2008 diff hist +19 m EqualityTestCase No edit summary
21 November 2008
- 06:0506: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
- 08:3108:31, 11 November 2008 diff hist +375 m BITS No edit summary current
- 06:2106: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 ...