User contributions for Egge
29 June 2009
- 20:3220:32, 29 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
28 June 2009
- 21:5321:53, 28 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
- 03:3603:36, 28 June 2009 diff hist −9 m Robots.txt No edit summary current
- 03:3503:35, 28 June 2009 diff hist +650 m Robots.txt No edit summary
25 June 2009
- 20:5820:58, 25 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...
- 07:2607:26, 25 June 2009 diff hist −1 m Stack Overflow page design →header current
- 00:5200:52, 25 June 2009 diff hist +17 m Main Page No edit summary
- 00:5100:51, 25 June 2009 diff hist +19 m Stack Overflow page design No edit summary
- 00:4600:46, 25 June 2009 diff hist +249 m Stack Overflow page design No edit summary
- 00:4200:42, 25 June 2009 diff hist +1,903 m Stack Overflow page design No edit summary
24 June 2009
- 23:0523:05, 24 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" >...
- 02:0402:04, 24 June 2009 diff hist +397 m Encrypt a file No edit summary
23 June 2009
- 21:5621:56, 23 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
18 June 2009
- 20:4320:43, 18 June 2009 diff hist +17,176 m Solaris binary files quick reference No edit summary
17 June 2009
- 23:5423:54, 17 June 2009 diff hist +23 m Create vintage image online No edit summary current
- 23:5323:53, 17 June 2009 diff hist 0 N File:Vintage.jpg No edit summary current
- 23:5323:53, 17 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 ...
10 June 2009
- 21:3221:32, 10 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...
8 June 2009
- 21:2021:20, 8 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
- 00:3700: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
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 ...