May
27
2012

How To Enable Root Account In Ubuntu

Ubuntu Enable Root Account How to enable root account in Ubuntu You may have noticed by now you can’t access root account or login to the root account and also that in Ubuntu you never set a root password during installation, fixing this is actually pretty easy but I really recommend against doing this if you are new to Linux as its easy to mess up your entire system running as root. All you have [...]

May
27
2012

Create A Simple CSS Button

In this quick tutorial I will show you how to create a simple CSS BUTTON that changes colors when you hover over it. Just take a look at the example and preview below. .custombutton { color: #ffffff; background-color: #0066bb; padding: 3px; border-radius: 3px; border: 1px solid #0055aa; border-top: 1px solid 0099dd; box-shadow: 1px 1px 1px #ccc; text-shadow: 1px 1px 0px #003399;

May
27
2012

Create Rounded Edges With CSS

In this post I will be showing you how to create rounded edges with CSS. To make this trick function properly you have to add all 4 lines otherwise some browsers will not support rounded corners. .stylename { -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; } I hope this quick tutorial was useful, feel free to comment or bookmark!

May
27
2012

PHP Calculate Script Execution Time

In this quick and easy tutorial I will be teaching you how to calculate script execution time using PHP. First lets set a variable at the beginning of our script to capture the time by adding the following code. // Grab current time. $exstart = microtime(true); Next near the end of your script where you want to display the page load time add the following code. // Grab current time. $exend = microtime(true); // D

May
27
2012

How To Get Variables From HTML Forms PHP

In this tutorial I will be showing you how to get variables from forms using PHP and HTM using $_POST['variable-name']. I will be using the examples below to show you how to easily grab the variables from forms. In this example I have a form that will submit when the button is pressed. <form action=’?’ method=’post’>  Name: <input name=”name” type=”text”&gt

May
27
2012

PHP Shell_Exec() Example

This is just a quick snippet that will show you how to make use of the shell_exec(), system(), or exec(). <?php $cmd = ‘whoami’; print get_current_user().’: ‘.shell_exec($cmd).”; ?> The underlined part will print the result of using get_current_user() to find out what user is running the command and the shell_exec() function is running the command.

May
27
2012

How To Create A RAMDISK In Linux

In today’s quick tutorial I will be teaching you how to make a RAMDISK super fast and easily. With a RAMDISK you can use your memory for temporary space and it’s also a lot quicker than your hard drive. After I teach you how to do this I will also be teaching you how to make it really easy to automatically create one for you. Now lets start by using the next 2 commands to [...]

May
27
2012

How To Run Ubuntu Inside Windows

Older Version Of Ubuntu. Screenshot From Google. This short guide will teach you how to run Ubuntu inside Windows as a guest operating system(Virtual Computer). First thing you need to do is download “Microsoft Virtual PC“, its free and can be found here. Next thing you need to do is download a copy of Ubuntu, which you can get here. Then to install go into Virtual PC and create a new virtual c

May
27
2012

CSS Floating Box That Follows Visitors

In this quick tutorial I will be teaching you how to make a simple box that follows visitors up and down the page of your blog. For this to work we will be using position:fixed and inserting the code right after our <body> tag. <table style=’position: fixed; top: 65px; left: 80px; z-index: 0;’><td style=’background-color: #000; border-radius: 4px; padding: 3px; opacity:0.8; filter:a

May
26
2012

How To Embed Images In Your Posts

This tutorial is written to teach you how to embed your content/advertisements/images in your posts. To do this all you need to do is create a <div> and then style it to “float” all the way to the right or left. You can put whatever you like inside these just be careful as this can mess up how your skin looks if put in the wrong place. Embed Images On Right Side Of Post <div [...]

Search

Recent Posts