Sunday, July 19, 2009

CBS press Sotomayor about her 2ND Ammendment views and she refuses to answer

President Obama's first nominee to the high court did previously say that she believed Americans do not currently enjoy a fundamental right to bear arms, which echoes her two previous rulings on the topic as an appeals court judge. But now she refused to elaborate on her views about firearms regulations and the Second Amendment, saying she would "make no prejudgments" about future firearms-related cases.

New York Lawmakers

New York House Assembly actually has an annual "Anti-Gun Day" for enacting new laws in the state. This takes place every April 29th.

One of the crazy things being proposed for the next year is a mandate to modify handguns to make it impossible to be operated by children. It would require a 10lb trigger pull and require multiple motions in order to fire the weapon. Another requirement would be to require firearm retailers to carry insurance to cover any criminal acts committed after the sale of a firearm.

Sending email with attachments on UNIX systems

Sending email with attachments on UNIX systems
All of the below examples use the following shell variables. I use MIME type application/octet-stream just as an example. Actual type used will vary depending upon attachment file type. Remember, these are simple examples of the different tools available.

TXTFILE=/tmp/textfile  # A text message with a simple preface message
ATTFILE=/tmp/binary_file # File to be attached and generally requiring encoding
SUBJECT="Your attachment" # Change as needed
MAILTO=user@where.ever  # Ditto
  • uuencode – This is the original method to send encoded text within a message. It is not an attachment as we think of them today but is still used enough to warrant putting it here.
    uuencode $ATTFILE $ATTFILE | mail -s "$SUBJECT" $MAILTO
    (uuencode $FILE1 $FILE1; uuencode $FILE2 $FILE2) | mail -s "$SUBJECT" $MAILTO
     
  • simple shell commands – For a very simple text (plain or html) attachment with just one file:
    echo "From: $LOGNAME\nTo: $MAILTO\nSubject: $SUBJECT\n\
    Mime-Version: 1.0\nContent-Type: text/plain\n" > /tmp/file
    cat $TXTFILE >> /tmp/file
     
  •  

    Saturday, July 18, 2009

    Find Solaris 10 HBA info

    Find HBA’s WWN on Solaris 10

    #!/bin/sh

    for i in `cfgadm
    grep fc-fabric
    awk ‘{print $1}’`; do

    dev=”`cfgadm -lv $i
    grep devices
    awk ‘{print $NF}’`”

    wwn=”`luxadm -e dump_map $dev
    grep ‘Host Bus’
    awk ‘{print $4}’`”

    echo “$i: $wwn”

    done

    Or command line: on all versions:

    #prtpicl -v -c scsi-fcp
    grep wwn (On all versions)

    :node-wwn 20 00 00 e0 8b 94 92 8d

    :port-wwn 21 00 00 e0 8b 94 92 8d

    # prtconf -vp
    grep -i ww

    port-wwn: 210000e0.8b80fb81

    node-wwn: 200000e0.8b80fb81

    On Sol 10

    # fcinfo hba-port

    Saturday, July 11, 2009

    VMWare VSphere 4i SSH

    I haven't verified this, but I found this snippet on a web site earlier today
    SSH in vSphere 4i
    tweetmeme_url = 'http://www.itstuff.ca/2009/06/ssh-in-vsphere-4i.html';
    To enable SSH in vSphere 4i we should do the following steps (similar as esx 3i):
    1. First, press Alt + f1 then type “unsupported” and press enter.
    2. At the prompt for password, provide the credentials, previously configured, and we will be able to log in to the service console.
    3. Do a vi /etc/inetd.conf and look for #ssh. Remove the # and save the file after this.
    4. Go to /sbin, and run this command ./services.sh restart

    Now, we will have SSH enabled.

    Saturday, June 20, 2009

    Gran Torino

    It is official, Clint Eastwood has made two of the best films ever made.
    1. The Outlaw Josey Wales
    2. Gran Torino

    Both movies are a testament to human behavior and how it is molded by tragedy, warfare, ethnic/cultural differences and trust in people that they thought they would never befriend. An entire thesis on social behavior could be written on either movie.

    Both movies show an over the top white guy who everyone misjudges on the surface, who in the end, shows that everyone was wrong about him, he is hard to survive in the only way he knows, by the sword. Clint Eastwood has a way of finding stories that show the backbone of America and how things should be. Gran Torino is fabulous and Clint Eastwood is one of the only actors who could have pulled it off without the media blasting him.

    Wednesday, June 17, 2009

    Verizon Speeds are so wacky

    I don't understand why sometimes I will get around 160Kbps download speeds from Verizon and then I get speeds like this. If I could consistently get these speeds I wouldn't complain about my access.



    The connection speeds above are with a cellular direct connect Wilson amplifier. The only problem is the direct connect is subject to "interference" from other providers and occasionally will try to put me on the AT&T broadband and I will lose the connection all together. The speed posted below is with a repeater type amplifier, that is slower, but usually a little more stable. It is still faster than an ISDN line though.



    I think I am finally going to break down and get the parabolic grid antenna that I keep talking about.

    Tuesday, June 16, 2009

    H.R. 197-- the "National Right-to-Carry Reciprocity Act."

    H.R. 197 has been introduced that is a positive step forward to the rights of a citizen to travel with the protection they are granted by the constitution. The bill has 127 co-sponsors in the House. Not surprisingly all of the southern states are sponsoring the bill, but to my surprise the bill is also co-sponsored by Representatives from PA, NJ, IL, CA, IN, MI, ME, and OH.  Keep in mind that there are 435 members of the House of Representatives and not all representatives of each state are in support of the bill. This means that less than half of the House has agreed to support the bill and no major action has been taken on it since 2/9/09. Similar bills in the Senate are S.371, S.845 both have 22 co-sponsors and the latest action on them were on 4/21/09.

    This bill would allow any person with a valid carry permit or license issued by a state, to carry a concealed firearm in any other state if the permit holder meets certain criteria. In states that issue permits, a state's laws governing where concealed firearms may be carried would apply within its borders. In states that do not issue carry permits, a federal standard would apply. The bill would not create a federal licensing system; it would simply require the states to recognize each other's carry permits, just as they recognize drivers' licenses.

    For more information on H.R. 197, please click here.


    To see if your Representative is a cosponsor of H.R. 197, please click here.

    Lloyds Bank hit by Obama tax purge

    In a struggling economy all we need is for foriegn banking establishments to be scared to accept clients with ties to the United States. The following excerpts from the article are the highlights from the UK Telegraph article:
    This week American private client account-holders at Lloyds's received letters informing them of an "important change in policy regarding clients who are resident, domiciled or linked to the United States by property or asset holdings". They were told the bank had "no choice" but to "cease acting as your investment manager."

    The Sunday Telegraph reported that British banks and stockbrokers were threatening to close down accounts held by American citizens due to concerns over new international tax proposals could make it too expensive for them to service the clients.

    APCIMS, the trade body whose members manage £400bn of Britain's wealth and employ 25,000 people, sent a letter to the US Treasury's Internal Revenue Service (IRS) complaining that the "unfair'' proposals represent "no benefit but . . . significant cost'' to its members.

    Thursday, June 4, 2009

    Joke???

    From a June 3, 2009 NY Times interview
    “We have a joke around the White House,” the president said. “We’re just going to keep on telling the truth until it stops working — and nowhere is truth-telling more important than the Middle East.”

    Was this supposed to be funny? What do you do when it doesn't work? Lie? That sure seems to be the recipe for the attacks on gun ownership, one of the biggest examples of late are the reports on Mexican gun violence being a by product of US gun runners has been a lie. The numbers were directly disputed by reports from the FBI and those published by the Mexican authorities as well. I am not a fan of Bush's last term or his blatant disregard for the Constitiution, but if he would have made this statement the press would have blasted him and labeled him a liar; it would have been headlines across the country. Instead they use this to promote him as an honest President. Time is yet to tell; personally I distrust 99% of all politicians.