US Foreign Policy - aka the world needs guns
"What The World Needs Now" What the world needs nowIs guns, sweet gunsIt's the only thingThat there's just too little ofWhat the world needs nowIs guns, sweet gunsNo not just for someBut for everyoneLord we don't need another allyThere are nations and peopleEnough to controlThere are terrorists and evilEnough to fearEnough to lastTill the end of timeWhat the world needs nowIs guns, sweet gunsNo not just for someBut for everyoneLord we don't need another peace treatyThere are cornfields and wheatfieldsEnough to growAnd there are sunbeams and moonbeamsEnough to shineSo listen, LordIf you want to knowWhat the world needs nowIs guns, sweet gunsIt's the only thingThat there's just too little ofWhat the world needs nowIs guns, sweet gunsNo not just for someBut for everyoneMore guns, uhh, more gunsEverybody know that(the world needs guns)Everybody, Everybody knows that(this world needs guns)This world, the whole world(the whole world needs guns)The whole world, the whole world(more guns, more ammo')There's not enough...
This is one of the first things I do on my Linux Boxes... What can I say I am a lazy bastard. These make working on Linux much easier and makes Bash even more user friendly and powerful. Most Linux Distro's have a .bashrc file, you can either write them directly into that file or if there is a .bash_aliases file write them into this file since upgrading bash won't break this hack. alias attacks='tail -f -n 2000 /var/log/auth.log' alias attackcount='cat /var/log/auth.log | wc' alias autoremove='apt-get autoremove' alias ban='iptables -I INPUT -j DROP -s' alias clean='apt-get clean;apt-get autoclean' alias firewall='iptlist' alias fix='apt-get -f install' alias halt='sudo /sbin/halt' alias ins='apt-get install $1' ## shortcut for iptables and pass it via sudo# alias ipt='sudo /sbin/iptables' # display all rules # alias iptlist='sudo /sbin/iptables -L -n -v --line-numbers' alias iptlistin='sudo /sbin/iptables -L INPUT -n -v --line-numbers' alias iptlistout='sudo /sbin/iptables -L OUTPUT -n -v --line-numbers' alias iptlistfw='sudo /sbin/iptables -L FORWARD -n -v --line-numbers' ## Show hidden files ## alias l.='ls -d .* --color=auto' ## List install packages ## alias list='dpkg -l | grep $1' alias lsbig='ls -gtSrh' alias lsnew='ls -lhat' alias lsold='ls -lhatr' alias lvim="vim -c \"normal '0\"" alias mkdir='mkdir -pv' alias mnt='mount |column -t' alias nocomment='grep -Ev '\''^(#|$)'\''' alias ports='netstat -tulanp' alias poweroff='sudo /sbin/poweroff' alias purge='apt-get purge $1' alias reboot='sudo /sbin/reboot' alias remove='apt-get remove $1' alias research='apt-cache search -f $1' alias rmlock='rm /var/lib/dpkg/lock;rm /var/cache/apt/archives/lock' alias search='apt-cache search $1' alias shutdown='sudo /sbin/shutdown' alias syslog='tail -f -n 1000 /var/log/syslog' alias unban='iptables -D INPUT -j DROP -s' alias update='apt-get update;apt-get dist-upgrade' alias vhostlogs='tail -f -n 20000 /var/log/apache2/other_vhosts_access.log' ## Change the x.x.x.x to an IP you want to filter out from the logs. alias webattack="tail -f -n 20000 /var/log/apache2/other_vhosts_access.log | grep 'POST /administrator' | grep -v X.X.X.X" alias webattackcount='cat /var/log/apache2/other_vhosts_access.log | wc' alias webtraffic='tail -f -n 2000 /var/log/apache2/other_vhosts_access.log | grep -v X.X.X.X'
How-TO: Sync your G1 Calendar and Contacts with Kontact
I have had my calendar syncing since day 1 with my G1 and Gmail but just found out how to get the Contacts from Kontact syncing today. I am incredibly happy at this point now. Here is how you go about doing that. First you need to have Java working on your system and download GCALDaemon. The only issue so far is seeing your contacts doubled up in Kontact, but since kaddressbook allows for a lot more contact info, i prefer it over ldap which is at this point not as flexable .
Egroupware setup AKA how to turn your world upside down
The one thing i have not seen covered and cost me most of two weeks to figure out was this. During the install when you have it check your config it showed two things amiss that i spent forever attempting to resolve, even broke several other apps in the process which i am not spending much more time to trace down till i get this whole mess working. !THIS SHOULD/COULD HAVE BEEN A HI-LIGHTED ITEM IN THEIR GUIDE! but its not mentioned once. Egroupware uses its own config file that ignores in many cases whatever php.ini file you may have present. You WILL need to edit THIS FILE to pass the initial test of your system. If you have php-pear installed and its not recognized or if magic_quotes_gpc is showing incorrect config setting. This is possibly the source of your problem.