SSH Banners and MOTDs

2016-10-30 13:32:18 -0600

A while ago, I wrote about some fun things to do to help secure your servers. Among the things I included was information about SSH banners, and Message of the Day files. At the time, I was not able to generate dynamic content for the Message of the day. Recently, I learned how to accomplish dynamic content on CentOS/Redhat based Linux systems. My goals for this project was to show the following:

Perl Pig Latin Conversion

2016-10-27 15:37:00 -0600

Over the last few weeks I’ve been working on a Perl English to Pig Latin script. For testing I used the text of The Time Machine by: H.G. Wells from Project Guttenberg. You can get the full code, and the text I used for testing at my GitHub Repo.

Writing Hangman in Perl

2016-10-10 10:06:13 -0600

I was challenged to write Hangman. It started out with a simple enough idea. Have the computer pick a word from a wordlist, and present the hangman structure, and proceed through the game. As is often the case, while the idea is simple, it took me a bit to figure it out. See my Github Repo for the full code

Adding Features to Jekyll

2016-09-17 12:10:19 -0600

Recently I upgraded from Jekyll 2.x to 3. When I did the upgrade the plugin I was using to create category pages started reporting depreciation errors. I started looking into creating the category pages a different way, and If I could create them without a plugin, I decided that would be the best way to do it.

I wanted to add a related post feature to my post pages, to help content be found more easily. I decided to make use of my tags, to help group posts together.

In this article I will share how I accomplished this, and where I found the code I used.

Jekyll Deploy Script

2016-09-15 11:07:57 -0600

When I began using Jekyll to build my websites with I started developing this script to help me manage the build, and upload of new posts.

This script uses the following variables:

The script checks for an existing _site directory and deletes it before building the website again. The rsync command looks at md5sums to determine if files have changed, and does not move them over if the content has changed.

The script is available from My Github Account