Month October 2010

Proper way to Rebuild Subversion 1.4.0_1 on FreeBSD 6.1

Here’s some info on the system: # svn –version : Shared object “libaprutil-1.so.2” not found, required by “svn” # pkg_info | grep -i apache apache-2.2.15_9 Version 2.2.x of Apache web server with prefork MPM. apr-devrandom-gdbm-db42-ldap23-mysql50-1.4.2.1.3.9_1 Apache Portability Library # pkg_info…

c# delete temporary internet files ignore index.dat

How can you delete temporary internet files and ignore index.dat in c# ? (this refers to C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files\ ) System.Diagnostics.Process.Start(“rundll32.exe”, “InetCpl.cpl,ClearMyTracksByProcess 4351”);  // Delete All – Also delete files and settings stored by add-ons parameters that can…

install java freebsd diablo-jdk-1.6.0.07.02_10

download the tbz file from do a pkg_add, ex pkg_add diablo-jdk-freebsd6.i386.1.6.0.07.02.tbz If that errors out with something like checking pkg-config is at least version 0.9.0… yes checking for XI… configure: error: Package requirements (xproto >= 7.0.13 x11 >= 1.2.99.1…

shutdown ubuntu linux

How do I use shutdown command? The shutdown command can be used to turn off or reboot a computer. Type the command as follows to shutdown server / computer immediately: $ sudo shutdown -h now OR $ sudo shutdown -h…

dead rising 2 combo cards

Dead Rising 2 Combo Cards Guide Air Horn: Pylon + Spray Paint – Spray paint can be found on the roof of the safe house, or in the alley behind the Sheriff’s Office. Pylons are on the street outside the…

x11vnc was unable to open the X DISPLAY

Having trouble getting x11vnc working? Here’s the error: root@qaubutu:/etc/X11/gdm# x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800 -auth 06/10/2010 16:28:21 *************************************** 06/10/2010 16:28:21 *** XOpenDisplay failed (:0) *** x11vnc was unable to open the X DISPLAY: “:0”, it cannot continue.…

freebsd find

How to find files, programs, etc using freebsd The locate command is good for finding files and directories. Enter something similar to: locate someprogram | more If that doesn’t work, perhaps try the whereis or find commands: whereis someprogram |…

snort sniffer mode

To run snort in sniffer mode you must use the -v (verbose) option.  This is also known as “packet dump” mode. Some other handy switches to run along with -v are: -d  : Dump the application layer -e  :  Display…