Category Archives: Uncategorized

DNS STUFF

[sourcecode language=bash] #!/bin/bash #INSTALL BIND IF IT’S NOT ALREADY INSTALLED rpm -q bind && yum -y install named #START CREATE ZONEFILE #/var/named/homelab: cat >/var/named/homelab>/etc/named.conf

Posted in Uncategorized | Leave a comment

farewell letter, the geeky way

#!/usr/bin/perl #note the -1 option lawl #@awesome_team_of_duane=`ls -1 /i1pb`; @awesome_team_of_duane=`ls -1 /home`; foreach (@awesome_team_of_duane) { print "Hi $_ \n"; print "It's been a pleasure working with you. I would like to take this time \n"; print "to thank you and … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

my rig

CPU: AMD Phenom(tm) II X6 1090T Processor (core speed is OC’d to 4GHz) MEMORY: G.SKILL Ripjaws Series 8GB (2x4GB) MOBO: ASUS M4N98TD EVO GPU: BFG GeForce GTX 275 896MB PNY Verto GeForce 9800 GT 1GB (used for Physx) DISPLAY: 25″ … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

getting LUN IDs via the ‘format’ utility in Solaris

This one’s long overdue and it’s only now that I got to post it: My team mate was doing server inventory for some DR exercise a month ago. One of his tasks was to jot down the LUN IDs. Like … Continue reading

Posted in Uncategorized | Leave a comment

bzflag!

I used to play this game with colleagues back in the day, Hit me up if you wanna play a couple of rounds.  

Posted in Uncategorized | Tagged | Leave a comment

done migrating to a new server

i just finished migrating my site to a new server provider and also considered purchasing a new domain for $4 click resources.99(how cheap is that?). i lost most of my old server data because of backup issues.

Posted in Uncategorized | Leave a comment

plesk tricks

supposed you needed to modify the dns information across all your existing domains. let’s say you want to add a nameserver that’ll be used by all your domains, you can do this: for i in `cat /tmp/domains`;do ./dns -a $i … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

compile error while compiling perl module

didn’t get to document this properly, while i was compiling the sybase module for perl on solaris10 i encountered this error: cc1: error: unrecognized option `-Wdeclaration-after-statement’ it turned out that the the compiler that came with sol10 OR the box … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

rpm -ql equiv in solaris?

pkgchk -l packagename |grep Pathname |awk ‘{print $2}’

Posted in Uncategorized | Tagged | Leave a comment

note for compiling qpopper

i’m going back to basics, we get pissed off when we’re trying to solve something we think is so easy to figure out. a word of advice on this, remember to go back to basics, read the docs at least … Continue reading

Posted in Uncategorized | Tagged | Leave a comment