Linux/Unix desktop fun: Bastet Tetris(r) clone with block-choosing AI for console

Posted on in Categories Linux Games, Open Source last updated August 18, 2017

Xkcd - hell
Do you love the puzzle and Linux/Unix-like system? Command line? Try ncurses based Tetris clone which is harder than every other Tetris out there. From the project home page:

Have you ever thought Tetris(R) was evil because it wouldn’t send you that straight “I” brick you needed in order to clear four rows at the same time? Well Tetris(R) probably isn’t evil, but Bastet certainly is. >:-) Bastet stands for “bastard tetris”, and is a simple ncurses-based Tetris(R) clone for Linux. Unlike normal Tetris(R), however, Bastet does not choose your next brick at random. Instead, Bastet uses a special algorithm designed to choose the worst brick possible. As you can imagine, playing Bastet can be a very frustrating experience!

How to fix IPMI KVM JAVA BMCMD5withRSA and is treated as unsigned error

Posted on in Categories Datacenter, Hardware last updated July 8, 2017

Like any good sysadmin, I kept my servers and desktop side up to date and patched all the time. However, recent Java updates have broken my IPMI KVM Java Applets on Dell, IBM, HP, Supermicro and FreeNAS mini servers. You will get an error that read as follows:

Unsigned application requesting unrestricted access to system. The following resource is signed with a weak signature algorithm MD5withRSA and is treated as unsigned.

Download Free eBook PDF: The Awk Programming Language

Posted on in Categories Link last updated January 23, 2017

AWK is a programming language designed for text processing and typically used for a data extraction and reporting tool. It is a standard feature of Linux, FreeBSD, OpenBSD, MacOS and most Unix-like systems.

The Awk Programming Language
The Awk Programming Language

This is one of my favorite books. It is a superb book if you are looking to learn about AWK. AWK is very fast when it comes to data processing. I highly recommend this classic book to all Unix fans.

Download The Awk Programming Language Book PDF Version {11.7 MB} or use wget command as follows:
$ wget https://archive.org/download/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf
Sample outputs:

--2017-01-23 10:17:18--  https://archive.org/download/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf
Resolving archive.org (archive.org)... 207.241.224.2
Connecting to archive.org (archive.org)|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf [following]
--2017-01-23 10:17:19--  https://ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf
Resolving ia802309.us.archive.org (ia802309.us.archive.org)... 207.241.228.49
Connecting to ia802309.us.archive.org (ia802309.us.archive.org)|207.241.228.49|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8204128 (7.8M) [application/pdf]
Saving to: 'The_AWK_Programming_Language.pdf'

The_AWK_Programming_Language.pdf            100%[========================================================================================>]   7.82M  11.7MB/s    in 0.7s    

2017-01-23 10:17:20 (11.7 MB/s) - 'The_AWK_Programming_Language.pdf' saved [8204128/8204128]

How to speeding up SSH session creation

Posted on in Categories Link last updated January 11, 2017

You can reuse OpenSSH connections to the same server when you want to open subsequent connections to the same server. For example, if I ran ssh vivek@server42.cyberciti.biz, the ssh client will establish a new SSH connection. It usually takes only a few seconds. However, if I run ssh vivek@server42.cyberciti.biz command again, connecting to a server42.cyberciti.biz multiple times result into the overhead.

This tutorial talks about ssh features called multiplexing that reuse an already-established connection when creating a new SSH session.

Touch ID Support for sudo in MacOS Terminal for MacBook Pro

Posted on in Categories Link last updated October 31, 2016

Well, that was fast. Touch ID is a fingerprint recognition security feature, designed and released by Apple. It is currently available on the iPhone 5s/6/7 and Macbook pro-2016 editions. Many consider it as a huge security win for the MacBook Pro’s. This sounds amazing feature for command line users.

Say hello to sudo-touchid

sudo-touchid is a fork of sudo with Touch ID support on macOS (powered by the LocalAuthentication framework). Once compiled, it will allow you to authenticate sudo commands with Touch ID in the Terminal on supported Macs (such as the late 2016 MacBook Pros). Since Darwin sources for macOS 10.12 are not available yet, this project is based on sudo sources corresponding to OS X 10.11.6 and obtained from opensource.apple.com.

=> Download and usage information.