Tuesday, February 21, 2012
Thursday, January 12, 2012
Current Year with Perl
Did you ever want to just grab the current year in four digit format without pulling in the entire localtime array? Me too. Here is a simple statement that does just that and nothing more. It pulls in the sixth element of the array which is the year. Don't forget, the array begins with index value 0 so the sixth element has an index value of 5.
$currentyear = (localtime)[5] + 1900;
Enjoy.
Wednesday, December 14, 2011
More Scam Spam
Monday, November 07, 2011
Nationwide All Media 3 Minute Long EAS Test
This system test is the first of its kind designed to broadcast a nationwide message to the American public. In the history of the country, nothing like it has been conducted on such a level. As you may be aware, there have been tests in the past, but not of this magnitude encompassing all regions of the Nation simultaneously. The three (3) minute test will run concurrently on all radio and TV band stations exceeding the previous messages broadcast which were anywhere from a 30 second to 1 minute message.
There is great concern in local police and emergency management circles about undue public anxiety over this test. The test message on TV might not indicate that it is just a test. Fear is that the lack of an explanation
regarding the message might create panic. Please share this information with your family and friends so they are aware of the test.
Below is FEMAs website that will provide more information regarding this test:
http://www.fema.gov/emergency/ipaws/eas_info.shtm
Tuesday, May 10, 2011
Yet Another Lousy Scam Email
=========================
Delivered-To: me@domain.com
Received: by 10.101.44.16 with SMTP id w16cs163360anj;
Fri, 6 May 2011 08:54:16 -0700 (PDT)
Received: by 10.52.111.136 with SMTP id ii8mr1241507vdb.72.1304697255942;
Fri, 06 May 2011 08:54:15 -0700 (PDT)
Return-Path:
Received: from ufposhost.uniforcepos.com ([204.12.31.84])
by mx.google.com with ESMTPS id c7si3359407vcx.15.2011.05.06.08.54.15
(version=TLSv1/SSLv3 cipher=OTHER);
Fri, 06 May 2011 08:54:15 -0700 (PDT)
Received-SPF: neutral (google.com: 204.12.31.84 is neither permitted nor denied by best guess record for domain of nobody@ufposhost.uniforcepos.com) client-ip=204.12.31.84;
Authentication-Results: mx.google.com; spf=neutral (google.com: 204.12.31.84 is neither permitted nor denied by best guess record for domain of nobody@ufposhost.uniforcepos.com) smtp.mail=nobody@ufposhost.uniforcepos.com
Received: from nobody by ufposhost.uniforcepos.com with local (Exim 4.69)
(envelope-from)
id 1QINLz-0007b9-LM
for me@domain.com; Fri, 06 May 2011 11:54:07 -0400
To: me@domain.com
Subject: You Are The Next Of Kin
From: Brian McCain
Reply-To: brianmccainn@w.cn
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Message-Id:
Date: Fri, 06 May 2011 11:54:07 -0400
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - ufposhost.uniforcepos.com
X-AntiAbuse: Original Domain - domain.com
X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12]
X-AntiAbuse: Sender Address Domain - ufposhost.uniforcepos.com
Your Kind Attention:
My name is Brian McCain working with HSBC BANK UK , I was authorized to notify you again that you were listed as a beneficiary to the total sum of $35,600,000.00USD (thirty five million Six hundred thousand Dollars) in the codicil and last testament of the deceased. (Name now withheld since this is our second letter to you).I contacted you because you bear the same surname with the late client therefore you can be present as the beneficiary/Next of kin to the inheritance of the late client.
I therefore reckoned that you can receive these funds as you are qualified by your surname name identity.
All the legal document will be processed in your name after I receive a reply from you that we can work together in this
deal, so I request that you forward to me the following information:
Your three names in full:
Your current telephone and fax number:
Your address:
With your details the Attorney will be able to file in all the necessary documents at the high court probate division for the release of this sum of money to you without any delay.
You are entitled to 50% of these money while I will also take 50%, Note that this funds will be delivered to you In United Kingdom in person OR by Bank wire transfer, depending on the mode you choose to receive the funds.
Please get back to me for more information.
Regards,
Brian McCain.
Monday, March 07, 2011
Just Another Lousy Scam
from Mr Brian McCain
reply-to bmccain@w.cn
to date Mon, Mar 7, 2011 at 12:10 PM
subject Important Notice
signed-by yahoo.com
ATTENTION PLEASE:
We are working as the fiduciary agent with CITI FINANCIAL SERVICES UK and we wish to notify you again that you were listed as a beneficiary to the total sum of 10,600,000.00GBP (ten million Six hundred thousand British pounds) in the codicil and last testament of the deceased. (Name now withheld since this is our second letter to you).I contacted you because you bear the same surname with the late client therefore you can be present as the beneficiary/Next of kin to the inheritance of the late client.
I therefore reckoned that you can receive these funds as you are qualified by your surname name identity. All the legal document will be process in your name after I receive a reply from you that we can work together in this deal, so I request that you forward to me the following information:
Your three names in full:
Your current telephone and fax number:
Your address:
With your details the Attorney will be able to file in all the necessary documents at the high court probate division for the release of this sum of money to you without any delay.
You are entitle to 50% of this money while I will also take 50%, Note that this funds will be deliver to you In United Kingdom in person OR by Bank wire transfer, depending on the mode you decide to receive the funds.
Please get back to me at My private email address : bmccain@w.cn kindly get back to me for more information.
Kind Regards
Mr. Brian McCain
For all you scam scum out there, go crawl back into the hole you came from and leave the rest of us alone. I am going to start posting all the scams I get in an attempt to expose as many as possible. Maybe that will drive some scammers out of business. I doubt it but it is worth a try.
Tuesday, November 16, 2010
Crazy Java
the process status command on one of our RHEL servers. Never in my
life have I ever seen a command line so long that was not part of a
joke or contest. This is just one more reason not to like Java. Here
it is:
4 S root 13773 13753 0 75 0 - 92863 - Nov15 ?
00:08:58 /opt/j2sdk1.4.2_18/jre/bin/java -cp
/opt/AdventNet/WebNMS/classes:/opt/AdventNet/WebNMS/classes/AdventNetSUMClient.jar:/opt/AdventNet/WebNMS/classes/AdventNetUpdateManagerInstaller.jar:/opt/AdventNet/WebNMS/classes/AdventNetSUMServer.jar::/opt/AdventNet/WebNMS/classes/AdventNetSnmp.jar:/opt/AdventNet/WebNMS/classes/SNMPDebugger.jar:/opt/AdventNet/WebNMS/classes/AdventNetSAS.jar:/opt/AdventNet/WebNMS/classes/jaxp.jar:/opt/AdventNet/WebNMS/classes/crimson.jar:/opt/AdventNet/WebNMS/classes/xalan.jar:/opt/AdventNet/WebNMS/classes/Mail.jar:/opt/AdventNet/WebNMS/classes/activation.jar:/opt/AdventNet/WebNMS/classes/AdventNetNPrevalent.jar:/opt/AdventNet/WebNMS/classes/bsh-1.2b3.jar:/opt/AdventNet/WebNMS/classes/debugger.jar:/opt/AdventNet/WebNMS/classes/ManagementServer.jar::/opt/AdventNet/WebNMS/apache/tomcat/common/lib/servlet-api.jar:/opt/AdventNet/WebNMS/apache/tomcat/bin/bootstrap.jar:/opt/AdventNet/WebNMS/apache/tomcat/common/lib/jsp-ap
i.jar:/opt/j2sdk1.4.2_18/jre/lib/tools.jar:/opt/sybase/shared/jConnect-5_5/classes/jconn2.jar::/opt/AdventNet/WebNMS/classes/Adv
entNetTftp.jar:/opt/AdventNet/WebNMS/classes/AdventNetCLI.jar:/opt/AdventNet/WebNMS/classes/AdventNetCLIClient.jar:/opt/AdventNet/WebNMS/classes/AdventNetJta.jar:/opt/AdventNet/WebNMS/classes/jta.jar:/opt/AdventNet/WebNMS/classes/AdventNetSnmpDistributedAPI.jar:/opt/AdventNet/WebNMS/classes/JimiProClasses.zip:/opt/AdventNet/WebNMS/classes/jfreechart.jar:/opt/AdventNet/WebNMS/classes/jcommon.jar::/opt/AdventNet/WebNMS:/opt/AdventNet/WebNMS/classes/ftp.jar:/opt/AdventNet/WebNMS/classes/AdventNetUI.jar:/opt/AdventNet/WebNMS/classes/log4j.jar:/opt/AdventNet/WebNMS/classes/j2ssh-core.jar:/opt/AdventNet/WebNMS/classes/j2ssh-common.jar:/opt/AdventNet/WebNMS/classes/commons-logging.jar:/opt/AdventNet/WebNMS/classes/hdmserver.jar:/opt/AdventNet/WebNMS/classes/sdk/sdm
sdk.jar:/opt/AdventNet/WebNMS/classes/AdventNetTL1.jar:/opt/AdventNet/WebNMS/classes/AdventNetTL1Tools.jar:/opt/AdventNet/WebNMS/classes/AdventNetSnmpAgent.jar:/opt/AdventNet/WebNMS/classes/xmojo.jar:/opt/AdventNet/WebNMS/classes/AdventNetWebNmsAgent.jar:/opt/AdventNet/WebNMS/classes/AdventNetJmxAgent.jar:/opt/AdventNet/WebNMS/classes/AdventNetARUtils.jar:/opt/AdventNet/WebNMS/classes/AdventNetTL1Agent.jar
-Dsdm.homedir=/home/sdm -Dsun.net.inetaddr.ttl=0
-Djava.awt.headless=true
-Dcatalina.home=/opt/AdventNet/WebNMS/apache/tomcat
-Dmysql.home=/opt/AdventNet/WebNMS/mysql -Dwebserver.port=9090
-Dresource_check=9090,8009,8005
-Dwebserver.rootdir=/opt/AdventNet/WebNMS/apache
-Djava.rmi.server.codebase="file:////opt/AdventNet/WebNMS/classes/
file:////opt/AdventNet/WebNMS/classes/ManagementServer.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetTftp.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetCLI.jar
file:////opt/AdventNet/WebNMS/classes/xmojo.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetSnmp.jar
file:////opt/AdventNet/WebNMS/classes/SNMPDebugger.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetJmxAgent.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetARUtils.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetTL1Agent.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetSAS.jar
file:////opt/AdventNet/WebNMS/classes/jta.jar
file:////opt/AdventNet/WebNMS/classes/hdmserver.jar
file:////opt/AdventNet/WebNMS/classes/sdk/sdmsdk.jar"
-Djava.security.policy=/opt/AdventNet/WebNMS/apache/tomcat/conf/catalina.p
olicy -mx100m com.motorola.webnms.common.server.init.SDMMain
NMS_BE_FAILOVER false NMS_BE_PORT 2000 ROOT_DIR /opt/AdventNet/WebNMS
NATIVE_PING true

