When setting up your Ubuntu server, you can allow regular Linux accounts to access your web root directory via FTP or secure shell. In this case, you want users to access /var/www directory. One of the first things you'll … [Read more]
Fix Apache FDQ Error
If you're working on Ubuntu and running Apache, you probably have seen this error when rebooting Apache. It says "could not reliably determine the server's fully qualified domain name." There's a simple fix to this … [Read more]
Delete .DS_Store Files Recursively
If you work with MacOS and you FTP files to a Linux server, you probably have seen this pesky and ubiquitous hidden files named .DS_Store. They seem to be in every folder known to man. The .DS_Store files are hidden MacOS … [Read more]
CodeIgniter Anchor With Onclick
CodeIgniter comes with a URL helper that assist you with managing URLs. One function worth examining is called anchor, which creates standard HTML links. Instead of the standard HTML <a href="">anchor</a> tag most … [Read more]
Web Directory Structure
If you're a system administrator or web developer with root privileges, chances are, you probably have complete control of your web server, including root privileges. That's a good thing. You can setup the server anyway you … [Read more]
Setup Wireless On Raspberry Pi
One of the first things you should do once you have your Raspberry Pi is setup a wireless network adapter. This will allow you to be cable free. To configure, you will need one of several approved USB wireless adapters. I'm … [Read more]
First Page Is Always Selected
I had a little trouble with CodeIgniter pagination today. The pagination function is working fine, but Page 1 is always selected regardless which page I select. The data seems to be correct as I go from one page to another, … [Read more]
Remove Last Comma In Loop
When performing a database query, we normally use a loop to output the database result. This is a common exercise for programmers when displaying results to the screen. To make the output readable, commas are typically used … [Read more]
Bootstrap Your Website
Jumpstart your website by adding Bootstrap, a front-end CSS framework started by a couple of Twitter developers. If you are starting on a new web project, why not dress it with Bootstrap. You can quickly transform your … [Read more]
Dropbox Folder As Web Root
One of many clever ways you can do with Dropbox is to make it the web root of your development server. There's an advantage to doing this, as I'll explain in this post. Currently, I have Dropbox installed on my Linux Mint … [Read more]
