• Blocklist2ACL 2.0 Released!!

    **Updated 2.0.1 (rc1)**

    Hey all, due to the success of the Blocklist2ACL.hta script from this previous post, I decided to port the code over from VBscript to Java. In effort to make the program more stable, cross-platform comparable, and future proof. I’ve received a few comments and PMs from users explaining that the Internet Explorer requirement was giving them issues. This is true, the old script relied heavily on Internet Explorer and what version you were running. Well enough of that, as I was able to port the code over to Java (no, not JavaScript), which has it’s own runtime objects and classes that I was able to utilize.

    Here are some screenshots:

     Requirements:
    JRE1.7+, grab it here.

    Download:
    Blocklist2ACL20rc1

    SHA1      = 9DD863BBF0A5BC2EE110EF6C6F899F7AAC2A0ABD
    SHA-256 = 245CA6DE2A93800742BD16B6506C6C3241A9E62410E294B76734875AB89A636C

  • ASCII Art in Terminal Sessions

    I was wondering today…I used to see this screenshot of a ASCII cow in a terminal that was giving some sort of advice or fortune. After a little googling I found the application fortune which shows you a simple fortune when run from a terminal on linux/unix. I also found the application cowsay which is the app that shows the ASCII art of animals with a comic balloon. By default a cow, however there are many others. I chose tux.

    
    $ fortune | cowsay
     _______________________________________
    / Don't go around saying the world owes 
    | you a living. The world owes you      |
    | nothing. It was here first.           |
    |                                       |
     -- Mark Twain                         /
     ---------------------------------------
               ^__^
               (oo)_______
                (__)       )/
                    ||----w |
                    ||     ||
    

    Why the pipe? because fortune echos a string, and cowsay reads in a string.

    Now the problem was I had to type the command every single time. To solve this we turn to your users .bashrc file. Located ~/.bashrc for Ubuntu users. Edit the file with your favorite text editor and add the following lines at the bottom.

    
    if [ -x /usr/games/cowsay -a -x /usr/games/fortune ]; then
        fortune | cowsay
    fi
    

    (if statement checks to make sure both cowsay and fortune are installed)
    Now, everytime you open a terminal or command prompt you’ll have a cool animal telling you a fortune!

    Sources:
    http://askubuntu.com/questions/16428/showing-a-cowsays-in-every-new-terminal-session
    Cool Android app here. This will send SMS text messages from your phone as cowsay!!