Latest Posts

FTP Not Working On Port 21

Date: 10/27/2015, Author: Lostwake, Category: Virtualmin & Server Tips

My server stopped allowing users to login to FTP through port 21 and only allowed port 22 and SFTP.

After a lot of digging I found the solution by loading the FTP connection tracking module on the server.

This can be done by logging into Putty and running the command:

modprobe ip_conntrack_ftp

I found this answer on this thread:

An it pointed me to this Virtualmin Documentation:

Hope this helps everyone.

Un-Minify Your HTML, CSS, or Javascript

Date: 10/26/2015, Author: Lostwake, Category: CSS Tricks

Recently I needed to Un-minify some old code I had on a website because I did not have the original file. So I searched online and found this super cool website that does a very nice job.

The site is called:

Free $150 Free Google Ad Credit for Google Adwords

Date: 10/20/2015, Author: Lostwake, Category: Other

Update 10-30-2015: The code has been claimed.

I have a get $150 free ad credit when you spend $150* code from google.

Free to the first person who wants it. Expires 12/31/15

3d Printed a Key Holder & Bottle Opener Combo

Date: 10/20/2015, Author: Lostwake, Category: 3D Printing

I wanted to design a Keychain / Bottle opener combo and print it in my 3D-printer. This is the design I came up with.

Display Social Icons Using a Single Image and CSS Sprites

Date: 10/15/2015, Author: Lostwake, Category: CSS Tricks

First, get your Icon Image or use the one I am using for this blog:

Next, figure out the size of the icons on this image. The one above is 52px by 52px.

To make this work you will need to use the following css to get the icons.

Make An Entire Div Clickable

Date: 10/13/2015, Author: Lostwake, Category: CSS Tricks

I have come across this problem more than once so here is a simple solution to making an entire div clickable.

Put Data In a URL with PHP

Date: 10/12/2015, Author: Lostwake, Category: PHP Quick Reference

I always forget the syntax for this so I'm posting it here for anyone who needs it.

The syntax for URL Encoding is as follow:

echo 'Link Code';

The text after the question mark is the $_GET variable then a string can be placed after the equals sign.

To get the information back out use the following:

$data = $_GET['foo'];


This last Friday night (10/9/15) I went to watch three very talented artists play at the Lighthouse in Canyon Lake.

First up was the band Keenwild and they played my favorite song "Bad Neighbor." Unfortunately I cannot find a version of this song online so here is a link to their website: Keenwild Website

Next was Alex Falvey from Valiant, he played an awesome acoustic set. A link to their website can be found here: Valiant Website

Finally, Matt Folkmuse Stone played an awesome set. A link to his website can be found here: Matt Stone Website

DIY Floating Beer Pong Table Tutorial

Date: 10/10/2015, Author: Lostwake, Category: Projects & DIY

During the summer I was planning a party and wanted to get a floating beer pong table for my pool. So I look around and the one I find is one from Spencers which can be seen here:

Get The Current Year With PHP

Date: 10/09/2015, Author: Lostwake, Category: PHP Quick Reference

I use the date function on php to get the date and time for my application.

Below is an example of displaying just the year.

echo date("Y");

And this is one displaying everything. You can play with the variables to get what you want.

echo date("Y-m-d H:i:s",time());

Leave a comment if you have questions or see an error.