Welcome to the sixth issue of the Desk.

The Desk is my weekly newsletter covering newly published content and project updates.

Weekly Newsletters

Photo of the Week

New YouTube Videos

New GitHub Repos

New Awesome Lists


Welcome to the fifth issue of the Desk.

The Desk is my weekly newsletter covering newly published content and project updates.

Weekly Newsletters

Photo of the Week

Updated GitHub Repos

New GitHub Repos

New Code Snippets


Welcome to the fourth issue of the Desk.

The Desk is my weekly newsletter covering newly published content and project updates.

Weekly Newsletters

Photo of the Week

Updated GitHub Repos

New GitHub Repos

Originally posted on himpfen.com on May 24, 2021…


Welcome to the third issue of the Desk.

The Desk is my weekly newsletter covering newly published content and project updates.

Weekly Newsletters

Photo of the Week

Updated GitHub Repos

New GitHub Repos

New Code Snippets

Originally posted on himpfen.com on May 17, 2021.


Welcome to the second issue of the Desk.

The Desk is my weekly newsletter covering newly published content and project updates.

Weekly Newsletters

Photo of the Week

Updated GitHub Repos

New GitHub Repos

New Code Snippets

Originally published on himpfen.com on May 10, 2021.


Welcome to the first issue of the Desk.

The Desk is my weekly newsletter covering newly published content and project updates.

Weekly Newsletters

Photo of the Week

Updated GitHub Repos

New GitHub Repos

New Code Snippet

Originally appeared on himpfen.com on May 03, 2021.


Photo by Fotis Fotopoulos on Unsplash

The following is a collection of useful, as well as helpful common .htaccess snippets. Simply copy and paste the snippets to your .htaccess and edit as necessary.

Force www

RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301,NC]

or

RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Force non-www

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]

or

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.
RewriteCond %{HTTPS}s ^on(s)|off
RewriteCond http%1://%{HTTP_HOST} ^(https?://)(www\.)?(.+)$
RewriteRule ^ %1%3%{REQUEST_URI} [R=301,L]

Force HTTPS

RewriteEngine on
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
<IfModule mod_headers.c>
# Remove "includeSubDomains" if you don't want to enforce…

Photo by Sara Kurfeß on Unsplash

So, you are tweeting and tweeting regularly, but you are seeing no or very little engagement in terms of favourites, link clicks and follows. You have a small amount of followers, so getting the retweets you want and need seem impossible, or perhaps, you have many followers who aren’t retweeting (or you just want more). Let me tell you 10 simple ways you can get more retweets.

1. Adjust Your Tweet Character Size

Twitter allows you to tweet up to 140 characters, but that does not mean you should actually use 140 characters. …


Photo by Glenn Carstens-Peters on Unsplash

So, your blog is starting to get some serious traffic and the costs of maintaining the blog, including your time, is increasing, or perhaps, you want to make your blog your job and therefore, you are now looking for ways to earn money from your blog. Here is a list of 10 ways to earn money from your blog:

1. Advertising

Selling advertising space on a blog is probably the most common form of earning money from a blog and you’ve probably seen it countless amount of times.

You could sell text, banner and / or overlay popup ads and on two…

Brandon Himpfen

Open source. Travel. Photography. https://www.himpfen.com/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store