Main Content RSS FeedLatest Entry

Linux on USB

Here is the complete tutorial on how to create a working OS on your USB.

Damn Smaill Linux

Damn Small Linux USB install tutorial:

1. Download the HP-USB Format tool and format your flash drive using the Fat or Fat32 option
2. Download the dsl-embedded.zip and extract the contents using 7-Zip to your “USB flash drive”
3. Download syslinux-3.36.zip and unzip the files to a directory called syslinux on your computer
4. From Windows click start-> run-> cmd
5. From the command window, type cd \syslinux\win32
6. Type syslinux.exe -ma X: (replace X with your USB drive letter) to make the drive bootable
7. Reboot your computer and set your system BIOS or Boot Menu to boot from the USB device. In some cases, you might also need to set the hard disk boot priority to boot from the USB stick if your BIOS lists the device as a hard drive.

Notes: It is possible to “boot DSL using Qemu emulation” without the need to reboot the PC. See the included readme file that was written by the authors of DSL.

If you still can’t get DSL to work, you can try this full installation tutorial direct from the DSL wiki

Recent Entries

301 Redirects

Here are some 301 Redirects

Redirect NON-WWW Domain to WWW Domain (.htaccess)

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

Redirect Old Domain to New Domain (.htaccess)

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]

PHP Redirect

<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.new-url.com” );
?>

JSP (Java) Redirect

<%
response.setStatus(301);
response.setHeader( “Location”, “http://www.new-url.com/” );
response.setHeader( “Connection”, “close” );
%>

HTML Redirect

<meta HTTP-EQUIV=”REFRESH” content=”x; url=http://www.yourdomain.com/index.html”>
NOTE: content=”x (x can be changed from 0-x numbers depending on how many seconds will it take before redirecting to another page.)

ColdFusion Redirect

<.cfheader statuscode=”301″ statustext=”Moved permanently”>
<.cfheader name=”Location” value=”http://www.new-url.com”>

ASP.net Redirect

<script runat=”server”>
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = “301 Moved Permanently”;
Response.AddHeader(”Location”,”http://www.new-url.com”);
}
</script>

ASP Redirect

<%@ Language=VBScript %>
<%
Response.Status=”301 Moved Permanently”
Response.AddHeader “Location”,”http://www.new-url.com/”
%>

CGI PERL Redirect

$q = new CGI;
print $q->redirect(”http://www.new-url.com/”);

Ruby on Rails Redirect

def old_action
headers["Status"] = “301 Moved Permanently”
redirect_to “http://www.new-url.com/”
end

Make Money Online by Searching

Wondering how much money search engines like Google, Yahoo, and MSN earn from your searches? Thinking of ways to get back at them? Well here it is, My HomePage Friends (MHPF) is a Pay to Search (PTS) program that pays you to search on popular search engines like Yahoo.com. This PTS pays you in Pounds (£) that’s much more than a dollar ($).

MHPF pays you approximately £1 for every 100 searches using the search box, sounds small, after sometime you won’t even notice that your generating hundreds just by searching the internet. MHPF provides a search box that is built into your browser the best thing is, it works on Firefox and Internet Explorer. Though it searches only on Yahoo, it will eventually add more search engines that will give you more search results.

More ways on maximizing your earnings through , here are some of them.

1. Search

Instead of typing a website address in the address bar use the search box instead.

2. Referrals

You can also refer a friend, by recommending them to My HomePage Friends, you get 10% of their earnings and even a small amount from their referral’s earnings.