Monday, December 20, 2010

Stop Firefox from Automatically Entering "Work Offline" Mode


The "Work Offline" mode in Firefox can be useful if you don't have an internet connection, but Firefox annoyingly enables it automatically whenever you lose connection, even for a second. Here's how to disable that behavior.

If you have a spotty connection and are sick of Firefox constantly throwing you into Work Offline mode, there's a new about:config tweak in Firefox 3.6 and above that will disable this annoying behavior. Type about:config in the address bar, right click anywhere, and hit New > Boolean. Type in network.manage-offline-status as the preference name and hit OK, setting it to false when prompted.


Now, Firefox should stop automatically toggling the Work Offline mode when your connection blips out. Of course, you can still use Work Offline mode, you just have to toggle it yourself in the preferences.

Thursday, December 2, 2010

How to know where your mobile made

All mobile phones are assigned a unique 15 digit IMEI code upon production. Click Here you can check all known information regarding manufacturer, model type, and country of approval of a handset.

Wednesday, December 1, 2010

How to Remotely Log Out of Facebook





Facebook has recently announced a new feature called remote log out which enables users to end account activity remotely, which means you can sign out of any sessions active on any other device like other browsers, mobile devices etc. This way you can sign out of any Facebook sessions you have opened on any public computer. To remotely log out, click on the Account Settings link and this will open your Facebook account settings.



Under Account Activity, you can see the most recent activity and also recently active sessions.



You can click on the end activity link to end a session remotely from the currently logged in session. This is nice security feature to have especially when you have forgot to log out from your friend’s PC or a public computer.

6 Tips and Tricks For Firefox Address Bar

Firefox address bar logoThe Firefox address bar can be put to good use and you can tweak it according to your needs. You can hide the search suggestions, interchange the position of Firefox awesome bar and the address bar and do a lot of creative things from the address bar itself. Here is a list of 5 simple tips and tricks for the Firefox address bar:

1. Turn off Google Search Suggestions in Firefox Awesome Bar

Firefox has a nice awesome bar placed at the right top of the browser window. This is how the “Awesome bar” looks in Firefox:
Firefox Awesome Bar Search Suggestions
By default, the awesome bar consists of a list of search engines e.g Google, Yahoo, Amazon, Answers, Creative Commons and Wikipedia. The awesome bar lets you perform a search in any of these search engines right from the browser and without requiring to open the search engine in a new tab. This is useful but may be embarrassing some times. If you want to turn off the search suggestions in Firefox Awesome bar, follow the steps mentioned below:
1. Click the Search icon placed at the left top of Firefox Awesome bar and select “Manage Search Engines”.
Manage Search Engines in Firefox Awesome Bar
2. In the next window, deselect the checkbox “Show Search suggestions” and press Ok. You are done.
Manage Search Suggestions in Firefox Awesome bar
The Firefox awesome bar search suggestions feature is disabled forever.

2. Search From the Firefox Address Bar

You can use the address bar to search using your favorite search engine (lets’ assume Google). Just follow the simple steps mentioned below:
1. Type about:config in Firefox address bar and click “I will be careful, I promise”.
Firefox about Config Window
2. In the next Window that appears, type keyword.URL as the filter type.
About Config Keyword Url parameter
3. Double click the “Value” field and enter http://www.google.com/#hl=en&source=hp&q=
Set default search engine to search from Firefox Address bar
Press Ok and you are done. Type anything in the Firefox address bar and hit enter to perform search at Google. You can use the same procedure and tweak Firefox address bar to search for a keyword on a different search engine instead.

3. Turn Off Website and Bookmark Suggestions in Firefox Address Bar

The Firefox address bar has two useful features. First, you can bookmark websites right from the address bar by clicking the small yellow “star” icon placed at the extreme right. Second, when you type something – the Firefox address bar shows a list of websites as suggestions. These websites are shown depending upon your browsing history and bookmarks.
It can be really annoying to see address bar suggestions and you may want to completely turn off suggestions from showing up in the Firefox address bar. Just follow the simple steps mentioned below:
1. Click “Tools -> Options” and navigate to the “Privacy” tab.
2. You will see a setting for the Firefox Location bar under “When using the Location bar suggest”. Choose “Nothing” as the option.
Turn off Firefox Location Bar
3. That’s it. You have just tweaked Firefox not to show location bar suggestions from your browsing history and bookmarks.

4. Interchange the Position of Firefox Address Bar and Firefox Awesome Bar

If you use the Firefox Awesome bar for frequent searches, you might want to align it in the center. You may  want to interchange the positions of the Firefox address bar and the Firefox Awesome bar. The process is very simple and takes just a couple of minutes:
1. Right click on an empty area just above the Firefox awesome bar and select “Customize”.
Interchange Position of Firefox address bar and Awesome bar
2. This will open the customization window. Ignore the customization window and move the mouse cursor towards the left edge of the Firefox Awesome bar.
Customize Firefox Awesome bar and Address bar
3. As soon as you move the cursor to the left edge, you will notice that the mouse cursor changes into a “hand icon”. Now select the Firefox Awesome bar with the “hand icon” and drag the bar towards the Firefox address bar



. This will interchange the positions of Firefox address bar and awesome bar. You will get the Firefox awesome bar aligned in the center as shown below: Firefox Awesome bar in Center

5. Combine the Firefox Address Bar and the Firefox Progress Bar

Here is a very quick and easy way to combine the progress bar with Firefox address bar (just like Safari). Download and install the Fission extension for Firefox, restart the browser and it’s all done.
Combine Firefox address bar and progress bar
Later, you can change the colors and position of the progress bar from the extension options. (Tools > Addons > Fission > Options)
Fission extension options

6. Increase The Font Size of Firefox Address Bar

Do you find it real hard to read the URL’s in Firefox address bar? Want to increase the font size of Firefox address bar text? Install the Make Address Bar Font Size Bigger extension for Firefox. After installation, restart Firefox and you will see that the address bar font has grown bigger and better. Here is an example:
Increase fintsize of Firefox address bar
Also check out some really useful Firefox about config tricks and hacks.

How to Check if Your Gmail Account Has Been Hacked

gmailfailwhale How to Check if Your Gmail Account Has Been Hacked
If you’re worried about email security, here is a step by step guide to help you check and determine if your Gmail account has been hacked or compromised in any way.

Step 1: Find the ‘Last Account Activity’ Section Your Inbox

 details How to Check if Your Gmail Account Has Been Hacked
At the bottom of your Gmail inbox there is a ‘Last Account Activity’ section.  Click on ‘details’ to launch the full blown monitor.

Step 2: See who has accessed your Gmail account recently

ipaddress How to Check if Your Gmail Account Has Been Hacked
Next, what you’ll see is a table of the most recent activity from your Gmail account.  It shows you
  • How it was accessed (Browser/mobile etc)
  • Where exactly the IP address is (So you can do some further digging)
  • When it was accessed

Step 3: Understand the IP addresses – Has your Gmail really been hacked?

domaintools How to Check if Your Gmail Account Has Been Hacked
If you see IP addresses from different countries, don’t be too quick to panic.  If you use any 3rd party services which hook-up to your Gmail account, they will almost certainly show up in your activity log.  To do you own investigation, you can use DomainTools to identify the IP address. This will help you differentiate normal activity and your Gmail account being hacked.

Step 4: Understand the alerts – Google’s way of highlighting suspicious activity

alerts How to Check if Your Gmail Account Has Been Hacked
Google will also do it’s fair share of monitoring, and will also alert you if it sees suspicious activity both in your inbox, as well as your recent activity log.  When this happens, and the IP addresses look suspicious, it is advisable to play it safe, assume your Gmail account has been hacked, and change your passwords immediately. 

Step 5: Sign Out All Other Sessions – If you forgot to sign out on a public computer

signout How to Check if Your Gmail Account Has Been Hacked
If you are worried you did not not sign out of a public computer, you can ‘sign out all other sessions’.  This won’t fix any hacked Gmail accounts, but it will resolve any careless mistakes. This is also useful if you happen to lose your mobile phone and you want to ensure your email is not read by others.

Step 6: What to do if your Gmail account has really been hacked

The first thing you do is change both your password and security question right away.  Then make sure your new choices are very secure.  Google themselves have some really good tips .  For example in the case of security questions:
  • Choose a question only you know the answer to – make sure the question isn’t associated with your password.
  • Pick a question that can’t be answered through research (for example, avoid your mother’s maiden name, your birth date, your first or last name, your social security number, your phone number, your pet’s name, etc.).
  • Make sure your answer is memorable, but not easy to guess. Use an answer that is a complete sentence for even more security.
So there you have it.  A step-by-step guide on fully understanding Gmail’s account activity log, and how to check if your Gmail account has been hacked :)

How to tell if your Facebook account is hacked, and what to do about it

facebook logo
We all love Facebook, but if you’re not careful, your security may be compromised.  From phishing, to automated spam, or simply forgetting to logout at a public terminal, there are a lot of things that might go wrong.  So, similar to what we did when we showed you how to deal with Gmail hacking, here’s a quick guide on how deal with hacked accounts on Facebook. 

1. How to check for suspicious activity on Facebook

In order to see if anything is happening behind your back here’s how you check first.
First, go to Account Settings
 facebook remote logout
Then go to Account Security
facebook account settings
Then you’ll see a list of recent activity.  If you see something that doesn’t look quite right, simply click the end activity button, and it remotely logs out that particular session.
facebook end activity

2. How to get notified if a new device logs into your Facebook account

If you go to the same security menu detailed above you’ll also see an option to get notified via email or mobile phone.  This allows you to have a more proactive response to potential Facebook security risks.
facebook SMS

3. What can you do if your Facebook account is hacked

What you’d generally do on the spot would be to reset your password right away.
However,
  1. If the login email address that you normally use to log in to your Facebook has been taken over by another person (i.e., you can no longer access your email account), click here.
  2. If the login email address listed on your Facebook has been removed by another person (i.e., someone has replaced your login email address with one that you do not control), click here.
If your account is spamming your friends, do also do some free checks for malware and viruses.
Of course, prevention is better than cure so do take your time to read Facebook’s extensive coverage about resolving these incidents.

Add Floating Hover Text - Which Trails Mouse Cursor

If you want to show any text like "Welcome Here" or "Sign My Guestbook", which follows the mouse cursor (trail text effect), like the one displayed in the image, or in this demo.

Then, simply add the code in any HTML/JavaScript widget (Log in -> Layout  -> Add a Gadget).

If you want to show this effect only in the HomePage or any specific page, then you should read this post, on "How to display a widget only in a specific page in Blogger".


<script language="javascript">

// ENTER TEXT BELOW. CAN *NOT* INCLUDE NORMAL HTML CODE.
var text='YOUR TEXT HERE...';
var delay=40; // SPEED OF TRAIL
var Xoff=0; // PIXEL COUNT FROM THE LEFT OF THE CURSOR (- VALUES GO TO LEFT)
var Yoff=-30; // PIXEL COUNT FROM THE TOP OF THE CURSOR (- VALUES GO UP)
var txtw=14; // AMOUNT OF PIXEL SPACE EACH CHARACTER OCCUPIES
var beghtml='<font color="#00436e"><b>'; // OPTIONAL HTML CODE THAT EFFECTS WHOLE TEXT STRING SUCH AS FONT COLOR, SIZE, ETC.
var endhtml='</b></font>'; // END HTML CODE. MOSTLY USED IF ABOVE SETTING IS USED.
//********** NO NEED TO EDIT BELOW HERE **********\\
ns4 = (navigator.appName.indexOf("Netscape")>=0 && document.layers)? true : false;
ie4 = (document.all && !document.getElementById)? true : false;
ie5 = (document.all && document.getElementById)? true : false;
ns6 = (document.getElementById && navigator.appName.indexOf("Netscape")>=0 )? true: false;
var txtA=new Array();
text=text.split('');
var x1=0;
var y1=-1000;
var t='';
for(i=1;i<=text.length;i++){
t+=(ns4)? '<layer name="txt'+i+'" top="-100" left="0" width="'+txtw+'" height="1">' : '<div id="txt'+i+'" style="position:absolute; top:-100px; left:0px; height:1px; width:'+txtw+'; visibility:visible;">';
t+=beghtml+text[i-1]+endhtml;
t+=(ns4)? '</layer>' : '</div>';
}
document.write(t);
function moveid(id,x,y){
if(ns4)id.moveTo(x,y);
else{
id.style.left=x+'px';
id.style.top=y+'px';
}}
function animate(evt){
x1=Xoff+((ie4||ie5)?event.clientX+document.body.scrollLeft:evt.pageX);
y1=Yoff+((ie4||ie5)?event.clientY+document.body.scrollTop:evt.pageY);
}
function getidleft(id){
if(ns4)return id.left;
else return parseInt(id.style.left);
}
function getidtop(id){
if(ns4)return id.top;
else return parseInt(id.style.top);
}
function getwindowwidth(){
if(ie4||ie5)return document.body.clientWidth+document.body.scrollLeft;
else return window.innerWidth+pageXOffset;
}
function movetxts(){
for(i=text.length;i>1;i=i-1){
if(getidleft(txtA[i-1])+txtw*2>=getwindowwidth()){
moveid(txtA[i-1],0,-1000);
moveid(txtA[i],0,-1000);
}else moveid(txtA[i], getidleft(txtA[i-1])+txtw, getidtop(txtA[i-1]));
}
moveid(txtA[1],x1,y1);
}
window.onload=function(){
for(i=1;i<=text.length;i++)txtA[i]=(ns4)?document.layers['txt'+i]:(ie4)?document.all['txt'+i]:document.getElementById('txt'+i);
if(ns4)document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=animate;
setInterval('movetxts()',delay);
}
</script>


Hack Any Website - Using JavaScript




If you want to fool your friend or colleague, then you can use this simple java script to hack any web site.

Just copy and paste this JavaScript code in the address bar of your web browser and hit enter, and any web page/ web site will become editable just as a notepad/MS Word document.
javascript: document.body.contentEditable = 'true';document.designMode = 'on'; void 0
Other than fooling your friends, this method is useful for you too: in case your mouse stops working, you can easily place the cursor on any web page and copy the text from it !

Tuesday, November 30, 2010

Difference between "http" & "https"

FIRST, MANY PEOPLE ARE UNAWARE OF: **The main difference between http:// and https:// is. It's all about keeping you secure**

HTTP stands for HyperText Transport Protocol, which is just a fancy way of saying it's a protocol (a language, in a manner of speaking) for information to be passed back and forth between web servers and clients.

The important thing is the letter S which makes the difference between HTTP and HTTPS.

The S (big surprise) stands for "Secure". If you visit a website or webpage, and look at the address in the web browser, it will likely begin with the following: http://.

This means that the website is talking to your browser using the regular 'unsecure' language.

In other words, it is possible for someone to "eavesdrop" on your computer's conversation with the website.

If you fill out a form on the website, someone might see the information you send to that site.

This is why you never ever enter your credit card number in an http website!

But, if the web address begins with https:// , that basically means your computer is talking to the website in a secure code that no one can eavesdrop on.

You understand why this is so important, right?

If a website ever asks you to enter your credit card information, you should automatically look to see if the web address begins with https:// .

If it doesn't, there's no way you're going to enter sensitive information like a credit card number.

How Parents Can Block Certain Websites from Children at Home

A mother recently wrote saying she is very concerned that her young children are spending too much time on websites like Orkut, MySpace and Facebook.

Her worries are not just about children wasting time on the Internet – it’s more about the activities that children are doing on these sites. She is concerned that children could be interacting with complete strangers (or online predators) and even sharing personal information.

And with some news reports saying that criminal activities could have been planned on Orkut, the mother has finally made up her mind to restrict access to Orkut and some other websites on the home computer.

The only problem is that she has absolutely no clue about how to block websites – parental control software like Net Nanny or Norton Internet Security are pretty good but they cost money.

Now before you take this extreme step of blocking website (that is very likely to be opposed by children), try a few things:
1. Educate your children about the dangers of sharing information online with strangers. Family members should talk in detail about privacy and the web.
2. Place the computer in the living area of your home from where you can easily see the screen so you’ll have some idea about activities that children are doing on the computer including the websites they are visiting frequently.
3. Orkut is an open social network – that means you can easily see who’s in the friends’ list of your children and what kind of text notes (or scraps) are they exchanging with each.

Finally, to block websites on your home computer without investing in expensive software, here’s the trick (for Windows PCs):

Step 1: Click the Start button and select Run. Now type the following text in that Run box:

notepad c:\WINDOWS\system32 \drivers\ etc\hosts

Step 2: You will see a new notepad window on your screen containing some cryptic information. Don’t panic. Just goto the last line of the file, hit the enter key and type the following:

127.0.0.1 orkut.com
127.0.0.1 facebook.com
127.0.0.1 myspace.com

Save the file and exit. That’s it. None of the above sites will now open on your computer.

You can block as many websites as you like with the above technique. If you want to remove the ban later, open the same file as mentioned in Step 1 and delete the above lines.

Pretty simple but remember, our children are also very smart.

Monday, November 29, 2010

Let Learn PHP (Basic) - Lesson 5

Here's the code to Delete Multiple table at once...



<?php
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = '';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die('Error connecting to mysql');
$dbname = 'my_db';
$editFormAction = $_SERVER['PHP_SELF'];
if ((isset($_POST["Delete"])) && ($_POST["Delete"] == "Hapus")) {
mysql_select_db($dbname, $conn);
mysql_query("DELETE FROM biodata_ahli WHERE nokp_baru='".$_POST['nokp_baru']."'", $conn)or die(mysql_error());
mysql_query("DELETE FROM pengguna WHERE nokp_baru='".$_POST['nokp_baru']."'", $conn)or die(mysql_error());
}
mysql_select_db($dbname,$conn);
$query_pengguna = "SELECT pengguna.nokp_baru, pengguna.id_pengguna, biodata_ahli.nama FROM pengguna LEFT JOIN biodata_ahli ON biodata_ahli.nokp_baru = pengguna.nokp_baru WHERE pengguna.nokp_baru = '121212121212'";
$pengguna = mysql_query($query_pengguna, $conn) or die(mysql_error());
$row_pengguna = mysql_fetch_assoc($pengguna);
$totalRows_pengguna = mysql_num_rows($pengguna);
?>
<form name="form1" method="post" action="<?php echo $editFormAction; ?>">
<table border="1" bordercolor="#000000" align="center">
<tr><td>
<table width="365" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="131">Nama</td>
<td width="10">:</td>
<td width="224"><?php echo $row_pengguna['nama']; ?></td>
</tr>
<tr>
<td>No. Kad Pengenalan</td>
<td>:</td>
<td><?php echo $row_pengguna['nokp_baru']; ?>
<input name="nokp_baru" type="hidden" value="<?php echo $row_pengguna['nokp_baru']; ?>"></td>
</tr>
<tr>
<td>ID Pengguna</td>
<td>:</td>
<td><?php echo $row_pengguna['id_pengguna']; ?></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><input type="submit" name="Delete" id="Delete" value="Hapus"></td>
</tr>
</table>
</td></tr></table>
</form>





Pretty easy is it?

Friday, November 26, 2010

10 Things You Didn’t Know You Could Do with Google

Google is amazing (please thank me for this amazing revelation). There are some things you
probably didn’t know Google can do. Take your time and read the information below. You’ll
likely learn a few tips and tricks that will make you appreciate Google even more.

10. Find a beautiful wallpaper for your desktop resolution with Google images

Here’s how you do it:
  1. Go to Advanced Image Search
  2. Next to “Exact size” click on “Use my desktop resolution”. Then, next to “Content types”
  3. select “Photo content.”
  4. Enter some words. If you want to find cows, enter beautiful cows icon smile Let’s see the results:
google found backgrounds 486x400
Notice that many of the images in the results are from wallpaper sites. Google Images
makes it very convenient to go through these types of sites and browse them like a
gallery instead of going to each gallery site separately.

9. Create unlimited disposable email addresses with Gmail

Take the following example:
gmail addresses 532x400
That’s right, you can add one or more dots ANYWHERE between your username and
send messages to that ‘new’ email. All of those messages will arrive to your old (without dots)
email. Hard to explain without a picture. But somehow Google did find a way to do it…
Sometimes you may receive a message sent to an address that looks like yours but has a
different number or arrangement of periods. While we know it might be unnerving if you think
someone else’s mail is being routed to your account, don’t worry: both of these addresses are yours.
Gmail doesn’t recognize dots as characters within usernames, you can add or remove the
dots from a Gmail address without changing the actual destination address; they’ll all go to
your inbox, and only yours. In short:
All these addresses belong to the same person. You can see this if you try to sign in with your
username, but adding or removing a dot from it. You’ll still go to your account.
Yep, this is an explanation from Google itself. Now that you understand this, let’s keep going.

8. Search videos durations using Google Video

I’ve noticed there’s not a single video site that allows you to search videos by duration.
Let’s say I want to learn Spanish and I want comprehensive videos for that (longer than 20 minutes.)
To search, I go to Google Advanced Video Search page and select “Long” next to “Duration”.
Here’s what happens:
google video duration 560x346
Now all that’s left is to get some free time and watch those…

7. Want to find an iPad alternative using Google Search?

Sure, you can write ‘iPad alternative’ in Google but that won’t give you the best results. Instead,
try this:
better than google search
Using “better than product” where product=any product will give you not
alternatives but better alternatives to a particular product. Very cool.

6. Detect any unknown language with Google Language Detector

I have a big problem:
what language is this 560x99
What’s the solution? Google language detector.
google language detect
Another good way to detect and also translate is to use Google Translate and the “Detect Language” option:
google translate 560x228

5. See what the Dutch haven been searching for recently using Google Insights

Google is the most popular search engine in almost any country in the world. Google Insights
(like the name suggests) gives you ‘insights’ of what people have been searching for around
the world. For example, Netherlands:
google insights
Hyves is a Dutch portal and social network. Weer seems to be a weather portal.

4. When did Google become more popular than Microsoft? Google Trends has the answer

google trends 560x364
Google Trends helps you discover the trends on various topics and see what people have
been searching for over time. In this case, you can see when people started searching for
Google more than Microsoft in early 2005.

3. Hate opening PDF files? Google Docs is the solution

So you’ve been searching on Google for a particular topic and found a PDF file:
google pdf quick view 560x372
Instead of opening the file in Adobe Reader (which is a painful process), you can

click on “Quick View” and open the file in Google Docs! It takes seconds to open
and it’s way more flexible. If you choose later, you can always save the file as PDF
by choosing the export option in Google Docs.

2. Scan and Read your RSS feeds like email messages in Google Reader

You probably know how easy it is to open and read email messages in Gmail thanks
to the list view. Well, you can do the same in Google Reader:
google reader 560x310
The default view in Google Reader is ‘expanded’ which makes the items pretty
difficult to scan and read. If you change the view from expanded to ‘list’, then it
becomes WAY easier to SCAN items and pick what you like.

1. Google can tell you the answer to life and the universe

googles answer to life 560x106
I wish it was so simple icon smile

LinkWithin

Related Posts Plugin for WordPress, Blogger...