Fix For Your LinkWithin Widget Code Not Showing Up

When clicking the “Install Widget” link on the LinkWithin website, and then clicking “save” in the new Blogger window that opens, you may have an issue with the actual widget code not copying over to Blogger. Here’s what to do to install the LinkWithin widget successfully.

Continue reading

CodeIgniter Blog With Admin Page Tutorial : Part 3

Welcome to the third part of this series on creating a simple blog using CodeIgniter with authentication library Tank Auth.

This section will show you how to create the admin page for our blog, with pages to create and edit blog posts. By the end of this part you should have a functioning admin page (that requires login!) displaying a list of posts from the database, with links to view, edit, or delete the post.

Download the Complete Code Below :
>> Tar File < <
>> Zip File < <

Continue reading

CodeIgniter Blog With Admin Page Tutorial : Part 2

Welcome to the second part of this series on creating a simple blog using CodeIgniter with authentication library Tank Auth.

This section will show you how to create a blog home page, as well as a page to view each post alone. By the end of this part you should have a working home page that displays a list of posts from the database, with each title a link to a new page where users can view the complete post.

Download the Complete Code Below :
>> Tar File < <
>> Zip File < <

Continue reading

CodeIgniter MVC Class And Functions Template

Every time I make a website I usually try to plan my classes out ahead of time in a regular text file, this small step will reduce the amount of time spent figuring out how to design my application considerably. I find this especially useful when working with CodeIgniter. I can even create all the files ahead of time, (usually I use the touch command in terminal to do it quickly).
Continue reading

TL;DR 10 Second VIM Cheatsheet

For those who need to use the VIM text editor but aren’t interested in learning it’s commands… this is the bare minimum you need to know to create and modify a document in VIM. The following will work from the moment VIM loads. Just type in the command (with the correct capitalization, and including the colon if applicable) then press ENTER. ESC will always bring you back to the default starting mode if in doubt!

Continue reading

My VIM Cheatsheet : Level Beginner

I scribbled these commands on a piece of paper when I decided to start using text editor VIM. I organized the commands into what I think to be intuitive categories. Just type a command from command mode and then type ENTER (also called normal mode, this is the mode you start in when VIM loads, you can always press ESC to go back to it when in doubt!).
Continue reading

How To Get WordPress Live On Your New Linux Server

Recently I was making a WordPress site live for the first time, as well as ssh-ing for the first time on my first remote private server (VPS), and it was a little bit of a headache. The installation guide provided by WordPress at codex.wordpress.org/Installing_WordPress does contain within it most of the necessary information, as well as the steps for every other person’s possible situation (FTP, CPanel, PHPmyadmin, Windows and other things I didn’t need to touch when making my WordPress site).

I put together all the steps I had to take given my specific situation (freshly bought server with no mysql no nothin’, and terminal access only) to finally see my WordPress site live.

Continue reading

Simple PHP Admin CMS Page To Edit Mysql Data

In this post I will show you how to create a simple admin page using PHP that will allow you to add, remove, or edit your information from a Mysql database. (In essence we are creating an extremely simple bare bones Content Management System – CMS )

First we will create a database using the PDO api. In this example we will be creating tables for a very simple blog website. We will then create an Admin page using PHP that will allow us to create, edit, and remove data from our database.

For the sake of simplicity and demonstration we will create this admin page without user credential checks, but for a live site you would definitely want to limit access to your admin page as it has direct access to the site database.

Let’s get started!

Continue reading