# PHP Tutorial – Variables

Last time, we had a brief introduction to the world of PHP and how opening and closing tags look like. We also looked at echo which displays a passed string onto your webpage.

To continue with our PHP Tutorial series, we take a look at variables.

Continue Reading →

# PHP Introduction Tutorial: Declaring PHP & echo

PHP is a language that is used to create dynamic content on your webpages. When used in conjunction with other web development languages, such as HTML, JavaScript and MySQL, you can create some stunning websites.

In this series of PHP Introduction posts, we will take a look at the basics of PHP and how you can utilize PHP to create dynamic webpages.

Continue Reading →

# JAVA – Inheritance

Lets take a look into inheritance when coding with Java.

Continue Reading →

#GUIDE – How to install Ghost on Debian 7

Howdy everyone! I am in the process of installing Ghost on a Debian 7 VPS and thought I should document this as I go through the installation process.
Continue Reading →

JAVA – HashMap

HashMap is a class found within Java. HashMap is used to store a key paired with a corresponding value. For example, if you want to have a collection of Students that has a course and their grade for that course. You would think to implement this, you will initialize:

private HashMap courses;

Nope! HashMap only deals with Objects in Java and because double is a Primitive type, you will get an error when you try to compile your code. So, how do we implement the above in our Java code?

Continue Reading →

SECURITY – Disable Root and Use Sudo

One of the very first things you should do when you get your VPS or dedicated server is to disable root access. Why? root is the default login for all of the popular distributions (except for Ubuntu) that come as an option on VPS or dedicated servers. This makes it easy for an evil-doer to brute force the user root. Of course you can mitigate this with something like fail2ban, but why disable root login to begin with?

Continue Reading →

SECURITY – Protect SSH on VPS

In the past few years, VPS instances are becoming more affordable. You can even find providers who offer a VPS for less than $5/yr to host a website (this site is hosted on something similar). With the affordability, you will have evil do-ers who wants to do damage to VPS. You will want to set up some from of protection for your VPS.

Continue Reading →