Building Niche Sites / Consuming Coffee / Tinkering With Tech

Author: dorkwriter

Add A Banner To Linux Terminal With Figlet

While catching up on some youtube videos for Hak5 I noticed that the host of the video had added a name banner at the top of his Linux Terminal. As usual instead of finishing the video I was currently watching I started to search online for methods on adding my own banner to the terminal to help me distinguish what system I am currently working on at a glance. It turns out you can make simple bash echo statements for simple ascii banners but an application named figlet (a command-line tool that creates ASCII text banners) seemed to pop up a lot while searching so figured I would give it a go instead of trying to track down rogue quotes in bash script.

As my Putty window shows I am connected to my linux server on my Raspberry Pi which happens to be running the Rasbian OS. If you want to follow along the below commands should work for any Debian based OS.

Verify Debian

If you would like to verify you are indeed using a Debian based linux disto you can run:

cat /etc/os-release

Install Figlet

To install Figlet on our Debian-based linux server we can use apt-get:

sudo apt-get install figlet

Test Figlet Output

Now that figlet is installed on our system let’s see how our name looks:

figlet "dorkwriter"

Time To Make This Permanent by Editing .bashrc

Since I am using the default bash shell, to add Figlet I need to edit .bashrc with my favorite editor nano.

nano ~/.bashrc

I will just add the following code to the bottom of my .bashrc file to generate the banner when bash first loads.

#Using figlet to generate a banner for my bash profile
figlet "dorkwriter"

Press Ctrl + X, Press Y, and then the Enter key to save the file.

Now every time you open a terminal you should get a cool ascii banner.

Zombie dorkwriter checking in

Why has the site been down?

Well the short answer is that I have been busy the last couple of months and honestly this site was not a priority as it is really just my thoughts and those don’t pay the bills.

Slightly longer answer

I made a configuration change and didn’t have the interest in a) rolling back the change or b) figuring out what went wrong. I had been playing around with Cloudflare for a couple of my other sites and thought I should bring this site over as well but as it had a few more configurations than other sites it was not a seamless add. For now I plan on keeping everything in status quo until DNS has had time to sort itself out. Then at some point in the future I will properly roll out Cloudflare for this site as I want to be consistent across my portfolio of sites to prevent downtime in the future.

What Have I Been Up To?

Enjoying the warm weather in the southern US states. I am now back up north and already missing that beautiful Vitamin D. I have a renewed interest in this site in particular and with the whole publishing scene really. Happy to be back and can’t wait to get things rolling again.

Niche Site Report – September 2022

Well September flew by and honestly I had great momentum at the start of the month but my progress ended with more of a whimper than a bang this month. However, I do have good starting positions on a couple of the sites and I feel recharged to get on a better content schedule to put some numbers on the board for October.

Current Site Stats

#Project Code NameNotesArticle Count
1Project “Dark Helmet”This Blog7
2Project “Wanderlust”Travel Site0
3Project “Money In Motion”Personal Finance Site3
4Project “Belly”Food Niche3
5Project “Life”Family Adventures Blog0
6Project “Zootopia”Animal Site0

General Site Information

  • All Sites are running on WordPress
  • I am not currently running any premium themes but I am using the free versions of GeneratePress, OceanWP, and Astra. Since I’m still rather new to WordPress in general I wanted to get a feel for a couple of different themes as I assume as time goes on I will start to favor certain themes.

Other News

So I fell into a slight deep dive into Medium.com about mid-month and for some reason decided to start writing on that platform as well. I don’t think this is something that I will continue in the long term but I have enjoyed connecting with other Niche Site builders and reading about their journeys. However, every minute spent on that site takes away from my core objective of building up niche sites so I’m adding Medium back to the back burner for October and pushing forward on content as that is what my sites need most right now.

Gathering Data…

A few quick wins for the night:

Overall nothing to yell to the stars about but I’m quite happy with getting something rather than nothing done. So far I’ve had a couple productive nights with more on the way. I was able to write and publish two articles on my finance site which keeps me on schedule. I also managed to get another one of my travel site ideas roughly setup (domain, wordpress, theme, page templates, etc…). The travel site niche is probably plenty saturated but it’s my current passion so I figure it’s worth a go if nothing else to have a place to publish travel blog content for my own use.

For the dorkwriter.com site I noticed that I had apparently neglected to properly setup the Time Zone so my article published times were off considerably from when they were actually published. No harm no foul but I made the update and will need to make sure my new site outline gets updated to check this on sites going forward. Novice mistake, but I’m a novice in this arena so I’ll take it as a lesson to note and do better going forward.

What’s in a name?

Well it’s now a more decent hour on Friday so time to get started on that pile of content I planned to create today! Or I could come up with cool sounding project names for all of my websites. We all know which way this day is heading…

I think the idea to name my sites came from a video I watched a while ago of a fellow niche site builder who started creating awesome names to distinguish her blogs during her income report youtube videos. I rather liked the idea of each of my sites to have their own distinctive personalities instead of constantly referring to the site based on their specific niche. “King B” is so much more fun to say than “Political Niche Site One”.

Choosing themed names has always been a fun activity when setting up routers and I can see the same wordplay fun easily transferring to naming niche sites as well. My old router used to be “Nacho Router”, with the separate frequencies divided into “Nacho Router Mild” for Guest Access & Nacho Router Hot for Personal 5Ghz access.

Although it may take me a minute or two to settle on my new site project names (to be announced soon). I think the one I won’t have to think of much will be the project name for this site dorkwriter. Fellow niche site creators of the Matrix, let me introduce you to this site’s new project nickname: “Project Dark Helmet”.

Time Keeps Slipping Into The Future

How in the world can it already be the middle of September? I think sometimes I try to avoid sleep these days just to have a little more time in this world before it all slips away.

9-16-2022-There-Was-Time.png

Well another day done and another just starting. I’m once again working on the dorkwriter site to further tweak it to my liking or at least that was the premise. In reality, I’m letting the monkey drive for awhile as this site just seems more fun at the moment.

If your looking for deep insights for the blog section of this site I would suggest to mosey on further down the line as this is probably more in line with a dumping ground of thoughts, ideas, and links to anything that currently has my attention.

How To Add A Favicon To Your Site

What Is A Favicon?

A favicon is simply the little icon that a site will display at the top of your browser window to help differentiate itself from the many other tabs you may have open in your browser. Its also another way for us as site creators to show our branding.

Favicon Icons In Chrome Tabs

When favicon’s were first introduced 16×16 pixels was the recommended size to use. However, with new devices and higher resolution screens these days the number of “preferred” sizes seems to be a little harder to nail down. From my experience the 16×16 is still a safe bet as every device that supports favicons will use that image but if you were say using a new Ipad with a retina display there will be a noticable image quality difference but I don’t feel at this time it justifies juggling multiple favicon sizes. WordPress currently recommends a favicon size of 512×512 [https://wordpress.com/go/tutorials/favicon-tips-making-your-site-stand-out].

How To Add A Favicon To Your WordPress Site

In the menu on the left of the WordPress dashboard screen, Select Appearance and then Customize.

Then Select ‘Site Identity’ and scroll down to ‘Site Icon’ and select the button to upload/select an image to use as your site’s favicon.

Niche Site Report – August 2022

Month Overview

Well this month was the official start of the whole “becoming a Niche Site builder” phase in my life. I created this particular site (dorkwriter.com) as sort of a personal journal/Niche Site Reference/Accountability tracker and so far I’m happy with the way it has progressed (although more content would have always been better). I’m slowly learning all about the wonders of WordPress and themes in general but still feel i’m at the start of this learning curve.

Work Completed This Month

I have scratched out a rough draft of how I want each site to work and am currently working on building some form of templates so that I can hammer out content quickly as I’m not really a big fan of drafts. My ideal workflow is Grab a template -> Populate template with awesome content -> Publish. Draft posts are lame.

Niche Site Wins

Any Wins I want to remember or notable site updates (accepted to an ad network, etc…)

Niche Site Losses

Any Losses I don’t want to forget or any site related updates (rejected from an ad network, etc…).

How To Set A Static Homepage In GeneratePress

When setting up new websites with a fresh install of WordPress the default homepage will be a rollup of pages that you create. This is usually not the desired presentation of your content and the quickest way I have of dealing with this out of box setup is to create a new page in WordPress and use this as my “homepage”

Steps To Setup

  1. Create a new page via the WordPress dashboard

2. After saving your newly created page. Click on ‘Appearance -> Customize’ in the menu.

3. Click on ‘Homepage Settings’

4. Now Select the new page you setup for your site. In my example I named my new page “dorkwriter” to serve as my homepage.

And that my friends is how I setup a new page in WordPress and then changed my generatepress theme to use it as my new homepage.

Powered by WordPress & Theme by Anders Norén