Archive | Uncategorized RSS feed for this section

Install sublime text on ubuntu 12.04 LTS and 12.10

22 Dec

Open terminal and then type following command:

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

and you are Done 🙂

How to store and retrieve data from HTML5 localStorage

29 Jun

<a href=”#” onclick=”SetData();”>
Set Data
</a>
<br />

<a href=”#” onclick=”ReadData();”>
Read Data
</a>
<script type=”text/javascript”>
var dcollection = [];
var data = {
id: “”,
title: “”
}
var indexcounter = 1;
function SetData() {
if (typeof (localStorage) != ‘undefined’) {
try {
var key = “key-” + indexcounter;
data.id = indexcounter
data.title = “Title Number -” + indexcounter;
localStorage.setItem(key, JSON.stringify(data));
indexcounter++;
}
catch (e) {
alert(e.toString());
localStorage.clear();
}
}
}

function ReadData() {

if (typeof (localStorage) != ‘undefined’) {
if (localStorage != null) {
var dlength = localStorage.length;
for (i = 0; i < localStorage.length ; i++) {
var key = localStorage.key(i);
var fromlocaldb = localStorage.getItem(key);
var x = JSON.parse(fromlocaldb);
document.write(x.id + “<br/>”);
document.write(x.title + “<br/>”);
}
}
}

}

</script>

Boot — Linux in single users mode.

27 Oct

1) If you have GRUB password configration,type P and enter password.
2) Select RedHat Linux with the version of the kernel that you wish to
boot and type e for edit.
3)Select the line that starts with kernel and type e for edit the line.
4) Go to end of the line and type “single” as a seperate word.
(Press spacebar and then type single)
5) Press enter to exit edit mode.
6) Back at the GRUB screen , type b to boot into single user mode.

Regards
Satyadev Singh

Tweaking with BIOS

27 Oct

Are you Stuck at BIOS Password? Want to change BIOS Settings? How to
get rid of it ?
Check it out for more details.

This Article is about how to crack BIOS Password. I am assuming that
you forget your
password during working on your computer. The article contains info and
source code.
Terms and conditions: This article is only for educational purposes.
The author will
not liable for any destruction or malfunctioning of system due to the
text of this
article. By reading this article you are supposed to be agree to the
terms and
conditions specified above.

I think you are already very much familiar with BIOS. It stands for
Basic Input Output
System. This Article is about how to crark BIOS Password. Before
reading article please
note that this trick is only tested on a system with Award BIOS having
Win98 installed.
So I dont know whether it works on other other versions of BIOS and
Windows or not. You
can also test this trick on other versions of BIOS as well as other
versions of Windows.

What You have to do that just go to MS-DOS . Please restart your
computer , and press
Ctrl+f5 for getting MS-Dos or you can use F8 key to getting startup
menu and select
command prompt only and write “debug” and press enter. Debug is
nothing but a Microsoft
Disk Assembler which is using for assembling.

You will see prompt as follows:-

c:> debug

After getting this command prompt give the following command.

– O 70 2e

Now give one another command.

– O 71 ff

Now quit the debug prompt by following command.

– q
c:>exit

Restart your computer and your computer will display “BIOS Checksum
Error!” Message.
Press Del key to enter into BIOS Menu. Select “Load Defaults” option
from the BIOS
Menu. After selecting this select “Save and Exit” option. Thus you will
get rid of the
BIOS Password.

———–
This is the one of the very old post of mine in google group.


Thanks,
Satyadev Singh

How much should the company spend per click ?

9 Oct

use following formula to determine the avg. cost per click in campaign:
cost per click = campaign budget / number of visitors
cpc = $50000/100,000 = 0.5 cent per click.

so max bid should be 0.5 cent per click.

Average order value (aka AOV)

9 Oct

Average Order Value = Total revenue from orders / Total number of orders
and the revenue only comes from customers who actually convert.
the basic conversion rate equation is

conversion rate = total number of visitor who take an action / Total number of visitors

Two elements controls the success of paid online advertising campaigns

1. The cost associated with running the campaigns.
2. The revenue generated by the campaign as determined by its conversion rate and revenue generated by a conversions.

Most popular travel websites in India for the week ending April 23 2011

3 May

Most popular travel websites in India for the week ending April 23 2011
Most popular travel websites in India for the week ending April 23 2011