Command History Bash keeps track of a certain number of previous commands that you have entered into the shell. The number of commands is given by a shell variable called HISTSIZE (which we will discuss later on). Bash stores the text of your previous commands in a history list. When you logon to to your […]
Tag Archives: tutorial
The BASH Shell: Wildcards & Command Line Completion
The GNU Bourne-Again SHell (BASH), as the name implies, is an extension of the Bourne shell. It provides a Command Line Interface (CLI) for working on *nix systems and is the most common shell used on Linux systems. Chances are that if you’re managing your own virtual or dedicated server – you’ll end up using […]
Starting Off In Photoshop
Photoshop is an extremely useful tool for anyone working with the internet. From simple screenshots, to complex photo manipulation – it can handle it all – and then some. There is almost no limitation to what you can do with Photoshop – however this also means that there is ALOT to learn when it comes […]
Stylish Grid
In this Photoshop tutorial will show you how to create a stylish grid through the use of just a few filters. We’ll start as usual with a new blank document, any size, with a white background. With Black set as your foreground color, go to Filter > Render > Clouds. Next go to Filter > Pixelate […]
Proper Use of Heading, ALT & Title Tags
[frame align=”left”] [/frame]Improve web design and search engine performance all in one easy step! Believe it or not, it is possible, easy, and really straightforward. There are 3 extremely useful tags and attributes that most people overlook, or do not take advantage of properly. These are the alt tags, title attributes in links and heading […]
Display Page Loading Time
Have you ever noticed that lots of websites feature some text towards the very bottom of a page saying “Page took x.xxx seconds to load”? It’s a pretty simple thing to make and gives your site something that we all love … stats! So today we’ll take a look at how to accomplish this through […]
Connecting to a MySQL Database
None of our previous PHP tutorials have dealt with a database yet, and that is for the sole reason that not everyone has access to a database, however for those who do this tutorial will teach you the basics on how you can connect to your database. We wont be covering SQL queries and the […]
Using Custom Extensions
Ever wondered how Google makes some of their pages have the extension .g? This is a fairly easy procedure really, and htaccess does a great deal in helping us accomplish this. First decide what you want the new extension to be, for our purposes we will use the extension of .purple (simply because it makes sense – what […]
Selecting Default Index Files
Most web hosts setup your account to use a specific file as the index file. In most cases this is either index.html, index.php, index.htm or defualt.html, but what happens if you don’t want to use any of those names for your index file? What if you want your index file to be called thestart.php (for […]
Creating Custom Error Pages
One of the most common uses for a .htaccess file is to create custom error pages. The Apache server comes pre-installed with several different error pages, the problem with them is that they are quite frankly…. ugly. In order to use custom error pages we just need to add the following line(s) to our .htaccess file (for […]
Creating a .htaccess file
Before you can start using any htaccess commands and functions, it is important to know how to create a .htaccess file. Surprisingly this actually causes people lots of problems. Most Operating Systems, Windows in particular, will not accept the file name .htaccess when you go to try to save the document. This error seems to […]
Night & Day Detection
If we assume that people’s interests vary according to the time of day, your website might be well served by promoting different kinds of content depending on whether its day or night. For example lets say we have two articles, one about the sun eventually burning out, and one about the Hale-Bopp comet. We can […]
Make Life Easier With Custom Photoshop Actions
Once you start working with Photoshop for some time you’ll find that your projects require many of the same, repetitive, actions and tasks. By creating custom actions for your more routine tasks, you’ll have more time to focus on your image. Creating a custom action is relatively easy, so in this tutorial I am going […]
Getting Ready For Video (Video Filters)
Just as in print, not all the colors you see on a computer monitor can be reproduced correctly on video. If you are preparing overlays or graphics for TV or video, you can use the NTSC filter from your Video submenu to make your graphics broadcast safe. Take a look at the following graphic before […]
The Pen Tool
The pen tool is an extremely valuable feature in Photoshop – however often overlooked by most people due to a simple lack of understanding how all of it’s components really work. I will attempt to breakdown the various options and features of this tool and hopefully help to provide a better understanding for what it […]
Editing Colors Within A Photo
A common task in Photoshop is the need to change a specific color in a photo, may it be a person’s hair or eye color. In this tutorial I will go over two different methods you can use to change the colors within a photo. Each method has its own advantages and disadvantages – so […]
Triangles
Continuing on with shapes and Photoshop I wanted to touch base upon triangles. Photoshop doesn’t have a built in triangle tool, so drawing a triangle takes a bit more work than the circles and squares took. Here we will use Photoshop’s line and arrowhead feature to create various triangles. We’ll start off by double clicking the line […]
Circles and Squares
Shapes are probably the simplest and most common starting point for Photoshop users – and one of the most common beginner questions I get asked is “how do I draw a perfect circle?”. In this tutorial I attempt to answer that question – along with the usual follow-up of “and what about a perfect square?”. […]
Square CSS Badges
[frame align=”left”][/frame]I was playing around with CSS earlier today and came up with something rather interesting, I call them CSS badges since I’m really not sure what else to call them.The code behind these buttons is actually extremely simple and I have commented it along the way so you could easily see what controls what. […]
Programming In C: Functions with Viewer Choice
Using a Conditional inside a User-Defined Function If you want to give the viewer a choice of options, this can be handled either inside a user-defined function, or in the main( ) function. Let’s begin by handling viewer choice inside a user-defined function. In this example, a customer chooses how many books to order. The […]