Perl Pig Latin Conversion

2016-10-27 00:00: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. The idea of this program, is that it can take an English Language text file, and change it into Pig Latin.

read more

Writing Hangman in Perl

2016-10-10 00:00:00 -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.

read more

Adding Features to Jekyll

2016-09-17 00:00:00 -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. ### Category Pages To create my category pages, I followed [this article](https://www.chrisanthropic.com/blog/2014/jekyll-themed-category-pages-without-plugins/). The first step was to create a new layout called category.html. In that file I put the following code: {% highlight yaml %} --- layout: default type: archive ---

Articles

Jekyll Deploy Script

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:

  • Location of the key
  • Location of the local Jekyll Website Files
  • Remote username
  • Remote server address
  • Remote path to to the files on the server
  • Port number to connect to.

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 read more

Jekyll Deploy Script

2016-09-15 00:00:00 -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.

read more

Email Server Management Script

2016-09-15 00:00:00 -0600

I set up a mail server using this guide. After creating the mail server, and setting it up to track information via a MariaDB database, I decided to write a script to let me manage the email information.

read more