Showing posts with label your. Show all posts
Showing posts with label your. Show all posts

Sunday, February 15, 2015

USING YOUR BLUETOOTH ENABLED PHONE AS A MODEM UBUNTU 10 4 LTS

Using your phone as a modem via Bluetooth

Author: Kibui Kenneth Maina Wed Sep 1, 4:43PM

CLICK ON AN IMAGE TO VIEW THE FULL SIZE IF ITS TOO BURY
1. Go to http://ubuntu-tweak.com/ and install Ubuntu tweak. (It makes it easy for novices and experienced users to configure and manage Ubuntu).
2. After the installation completes go to Applications>System tools> Ubuntu tweak
Installed Ubuntu tweak
3. Go to Application Center (You have to have a working Internet connection to do this) wait for it to update the available applications from the Ubuntu repository.
4. Check Blueman if it is not already checked and click apply. (install to completion)
5. Turn on your phone and computers Bluetooth. (I am Using the Motorolla l6i for this demo).
Motorola L6i

6. Go to System>Preferences>Bluetooth Manager
7. Click on the search button on the Bluetooth manager. All available Bluetooth devices will be detected and displayed.
Installed Bluetooth manager

8. Click once on your phone on the Bluetooth manager to select it then go to setup on the top bar of the Bluetooth manager.
A Paring session

9. Select custom passkey and key in the code of your choice or use mine 0000 then click forward.
Putting a passkey

10. Your phone will ask you if you want to pair, select Yes, it will then ask you for a passkey, enter the passkey that you entered into the computer.
11. You will then be asked if you want to connect to dial up networking click forward, select the network that you are on and click on forward.
Setting up your broadband connection

12. You will be informed that your device has been added and connected successfully click close.
Finalizing the set up process

13.Your Blue tooth manager should appear as follows.
Your phone connected as a modem

14. Your panel will appear as follows (no wireless or wired network, one lighting Bluetooth icon one normal Bluetooth icon.
Your panel before connecting to mobile broadband

15. Click on your network icon. Go to Mobile broadband and select your network
Connecting to mobile broadband Internet on your computer

16. Your connection will appear as shown, with phone network bars appearing where your network connection is supposed to be.
Your connected mobile broadband ready to go
A mobile broadband connection on your computer

17. Open your browser and browse away.... (Make sure you have enough credit), for Safaricom users you can convert your airtime to bundles to save on credit by dialing;
  1. *100#
  2. select option 1
  3. select option 2
  4. select option 2
  5. Select the appropriate bundles
Read more »

Best Way to Easily Find and Remove Broken Links from your Website or Blog


Best Way to Easily Find and Remove Broken Links from your Website or Blog

What are Broken Links?

Broken links are the links which leads to a page that actually does not exist. When you publish any article on your blog than search engines like Google indexe it and add your article information to its database. After some days or months if you delete your previously published article than it is removed from your blog database but not from Google database. If anyone search for a keyword related to your article on Google than your article link come up in the search results. And if he/she clicks on the link then it leads to a 404 error page.

Also Read: The Top 10 Websites to create free Logo for your Blog

404 error pages and broken links have a negative effect on SEO and which decreases your search engine ranking. Let’s take an example to explain it more clearly. Suppose if you search for a keyword on Google, than so many search results come up. When you click one of them you may come across a 404 error page. Now tell me that, what you will do in this situation? You will immediately leave that site and go for another one. Google consider this as bad practice and which gradually leads to decrease in your search engine ranking.

In this post I am going to tell you the best way to easily find and remove broken links from your blog. This can be done by using an online tool Google Webmaster Tool. This is one of the tool that I occasionally use to detect and remove broken links from my blog. If you have a blogger blog then there is no need to register but if you have a wordpress blog then you have to first register your blog. Let’s see how to remove these useless links from Google database.

Also Read: Tips on How to Have Better SEO Results with Link Building

How to Find and Remove Broken Links?

1. First of all login to Google Webmaster Tool by going to the link given below:
            http://www.google.com/webmasters/
2. Now go to Dashboard and select the blog that you want (if you have more than one) from the drop down menu situated at right top.
3. Go to Health>Crawl Errors and than click on Not found option as shown below.

Best Way to Easily Find and Remove Broken Links from your Website or Blog
(click on the image to enlarge)

4. After that you will see a list of all the broke links in your blog. Than click on any link from the list, now a new pop-up window will open, copy the link from there.
5. Now go to Optimization>Remove URLs and than click on Create a new removal request, paste the link that you have copied earlier in the box as shown below and than click on Continue button.

Best Way to Easily Find and Remove Broken Links from your Website or Blog
(click on the image to enlarge)

6. A new window will open,there click on Submit Request as shown below.

Best Way to Easily Find and Remove Broken Links from your Website or Blog
(click on the image to enlarge)

7. After completing this process just mark all the links as fixed so that these links will be not listed in the Not found list, otherwise they may confuse you in future.
8. You have done…..! Do you have any query? You are free to ask, just comment below.

Note: Google webmaster Tool will take some time to remove these URLs from Google database.
Read more »

Friday, February 13, 2015

C program which reads your name from the keyboard and outputs a list of ASCII codes which represent your name

C program which reads your name from the keyboard and outputs a list of ASCII codes which represent your name

#include<stdio.h>
#include<conio.h>

void main()
{
int i;
char name[50];
clrscr();
printf("Enter your name: ");
gets(name);
printf("
Character ASCII Code");


for(i=0;name[i]!=
Read more »

Thursday, February 12, 2015

Want to install Mac OS or any other linux OS and still be able to run your windows applications Read this

Virtual Machines vs Parallel Installations

I spent the entire day today in the realm of proprietary software setting up my MacBook laptop to run Windows XP Professional via Bootcamp. Having now used Virtual Machines and Parallel/Dual-Boot installations on a couple of machines I wanted to take a few minutes to share my experiences and thoughts on the subject.

For those of you not familiar with the concepts, Virtual Machines or vmware and parallel installations are two different methods of running multiple operating systems from a single computer. This can be done either on a desktop or on a laptop and has both open source or proprietary options.

The ultimate decision of which option to go with will depend greatly on the individual’s usage habits and preferences. In my case I’ve grown to appreciate the advantages offered by parallel installations over vmware.

VIRTUMac OS 10.4 running Ubuntu and Windows XPAL MACHINES

Virtual machines, or vmware, are an innovation that enables you to run one operating system within another. This process relies on the presence of a vmware program, such as VMware Fusion for Mac, or VirtualBox for Linux, and creates an instance of a “guest” OS that can be booted from within the “host” OS.

In the case of both proprietary and open source options, you begin by first installing the virtual machine software. Once this has been done you create a new virtual machine within the Vmware program. The steps to add the guest OS will depend on the Vmware software, but generally speaking there will be a few steps involved in which you identify what the host machine will be (Linux, Mac, or Windows) and designate how much RAM you wish to make available.

Once this has been done the the bulk of the process is extremely similar to that of a standard installation on a brand-new machine..

When you want to login to the guest OS, it’s just a matter of loading the Vmware program and selecting the operating system from the list of available options.

Advantages: Virtual machines give you access to two operating systems at once, and therefore expand the available functionality you have access to. Often times software is not available for all platforms, so use of virtual machines would enable Mac Users to run Microsoft Outlook for example; or Linux users to run Adobe Photoshop, or RPG games.

Virtual machines can also be moved or deleted exceptionally quickly because from the perspective of the host machine they are just one large file. The Instance of Windows XP I had previously installed on my MacBook was a single 25 GB file for example.

Ubuntu running Adobe Photoshop via WINEA Note on WINE: In the case of Linux there is a third option that I haven’t discussed here, and that is WINE. To the best of my knowledge WINE stands for “Wine Is Not an Emulator” and enables you to run Windows software without actually installing the operating system itself. Like virtual machines use of WINE requires the installation and configuration of the software, but once this has been done you can run a variety of different software packages from within Linux.

VMware for evaluating new systems: One of the key benefits of virtual machines – which I continue to use – is as a quick way to evaluate new operating systems and Linux distributions. I am constantly tinkering and test driving new distributions in a never ending quest for new and interesting features. By installing new OS test beds as virtual machines I’m able to quickly and easily explore them without making any fundamental changes to my system.

If I decide I don’t like the OS, I can delete the virtual instance without any adverse impact to the host machine.

Disadvantages: Due to the nature of the technology, use of Vmware represents extra burdens on your system than exist normally because you are using the same limited resources to run two operating systems. As a result programs on the host machine will not run as quickly.

Drivers are another big issue – particularly for Linux/Windows installations. Many hardware manufacturers do not produce drivers that support Linux-based operating systems the open source community has had to develop them themselves. In some cases – particularly webcameras – drivers are still being developed; and the versions that are currently available require more advanced computer skills to get running.

In my case the expertise required to implement the drivers is above my skillset, so I’m not able to use my Logitech Webcamera while logged into Ubuntu.

In the context of the discussion on VMWare, guest machines get their drivers and hardware information from the host. So despite the fact drivers are widely available for Windows, if you’re running XP as a virtual machine within Ubuntu you’re not going to be able to use the webcamera. This isn’t the case with parallel installations because the extra layer of the host-guest relationship doesn’t exist.

PARALLEL INSTALLATIONS

With Parallel Installations or Dual-Booting, you are running two completely separate operating systems on one box. In this case when you first power-up the computer you are prompted to select which system you wish to log into. Once logged in you will only have access to the software components that you’ve installed on that specific OS, and not both (as is the case with virtual machines).

Historically setting up a dual-booting system has been fairly complicated – especially for new users. However increasingly software companies have begun to ease the process.

Mac’s new Leopard release for example (OS 10.5) comes with a utility known as Bootcamp, which vastly simplifies the set-up process for installing Windows machines in parallel. The set-up is largely wizard based and takes you through the process of re-partitioning the harddrive to make way for the new Windows instantiation, and then rebooting into the Windows install process.

Additionally Ubuntu has gone one step further by enabling insterested parties to test drive the OS without actually installing it, to install an instance within Windows, or dual-boot the machine.

Advantages: One of the main advantage of parallel installations is the fact you can dedicate 100% of your system resources to the host machine. As a result programs and the operating system in general run much more quickly.

Secondly, and equally importantly, is the fact that you don’t face the same driver issues in dual-booting that you do in vmware. For example, if Linux is your OS of choice you can use Ubuntu as your primary default OS, but revert to Windows XP for web conferencing. (That said there are of course existing open source options for Linux users; this option is just one possibility.)

Finally though perhaps trivially, you won’t face issues of keyboard shortcuts with nearly the same frequency as virtual machines.

Disadvantages: Unlike virtual machines which are housed within single large files within the host machines folder heirarchy, parallel installations require dedicated partitions to function. So the process of setting up a dual-boot machine requires additional steps that change the landscape of your harddrive rather than working within the pre-existing conditions.

These changes can be undone later to a degree; but re-partitioning of a harddrive is never to be taken lightly. So this factor should be borne in mind (e.g. back-up first!)

Secondly you are restricted to the software and functionality of one operating system at a time.

MY OPINION

Having used both options on a few different machines I personally prefer dual-boot systems over virtual machines for general usage (as I said there is just no beating vmware for testbed installations). While it is nice to have the ability to quickly access PC software from the Mac without having to do a full restart, I found it cognitively difficult to work between the two operating systems within one environment.

For one, while in XP the key-board shortcuts were a hybrid – not quite PC, and definitely not Mac. So I was constantly making mistakes when typing that resulted in a loss of efficiency over time. I’ve heard that you can remap keys; but to be honest I wasn’t in love with vmware enough to bother.

Having set-up the same laptop with XP dualbooting through Bootcamp on the other hand, I’m much more pleased with the set-up. On my home machine I’ve got Ubuntu dual-booting with Windows XP Media edition AND a virtual instance of XP running within Ubuntu and have found that I never use the virtual machine. To me there’s nothing quite like logging into the full operating system.

But as I said, it all comes down to user preferences.

Previous Posts @ TechTicker:

Read more »

Wednesday, February 11, 2015

How to Execute Your Java Program Without main Method

Have you ever thought about executing your java programwithout main() method? If you write a program without main() and compile it then it will compile successfully. But as you execute the program it will show an error that Main method not found in the class. JVM verify the code before its execution. JVM checks for main() method and if not found it will show error.

How to Execute Your Java Program Without main() Method?

There is a way to execute your java program without using main(). This can be done using static block. JVM has four phases as I have discussed in one of my article about Java Virtual Machine Architecture and Structure.

  • Load Code
  • Verify Code
  • Execute Code
  • Provide Runtime Environment

Static block executed at the loading of code. In below example we get output and then error is shown because the code is executed at loading of code and after that JVM verifies the code and show error.

class demo
{
                static
                {
                                System.out.println("Static Block");
                }             
}

Note:  This method will work till Java 6. Java 7 and newer versions doesn’t allow this because JVM checks presence of main method before initializing the class.


If you have any other such trick then you can share it by commenting below.
Read more »

Thursday, February 5, 2015

How To Change Your Mouse Cursor Into Pakistan Flag

How To Change Your Mouse Cursor Into Pakistan Flag



Asalam-o-Alaikum Friends!!! To day I am Gonna Tell You That How To Change Your Cursor Into Pakistan Flag !!

Its Very Easy Follow These Steps Respectively

Fist Download Pakistan Cursor Click Here To Download(Its Not Too Large Its Just 21Kbs)



  • Save Attached File in your PC 
  • Go to Start menu + Settings + Control Panel 
  • Double click on Mouse Icon 
  • Go in Pointer
  • Click on Browse menu and select saved File (PAKISTAN.ani)
  • Click Apply and Ok.




We Have Finished Now.. Chek Your Cursor Now It has changed into Pakistan Flag !!




♥♥ Pakistan Zindabad ♥♥


" Prewiew Is Given Below !! "


Read more »

Why game mechanics wont save your crappy product

The other day, I was chatting with a LinkedIn product manager about a new app he is working on and I posed a "hard" question: what incentive would users have to use the app initially and on an on-going basis? Before the product manager had a chance to answer, someone nearby chirped in: "you should put in some game mechanics!" Sigh. This is not the first time Ive heard this. "Game mechanics" have been all the rage the last few years. Everywhere you look - from foursquare, to yelp to Xbox - you can find badges, leader boards and reward systems. And while it is sometimes effective, most implementations are either totally useless, or worse yet, counterproductive.

In fact, the very idea that cramming "game-like" elements into a product is enough to attract users is misguided; the proposal of using "game mechanics" as the primary way to drive and maintain user engagement is a short road to failure. I think these misconceptions come from a lack of understanding of two key concepts:
  1. Gameplay psychology
  2. The role of game mechanics
Gameplay psychology

The first reason that game mechanics probably wont work for you is that you dont understand game mechanics. Before you go off and add a leader-board or badging system to your next product, please take the time to go through Sebastian Deterdings superb presentation "Pawned. Gamification and its discontents". Im embedding it within this blog post as the presentation beautifully covers the many mistakes and misconceptions about what gameplay is really all about:


One of the key takeaways from this presentation is that most people dont understand motivation. Think of the most common game mechanics you see in most products today: badges, scores, and progress bars. foursquare has it, so it must work, right? Wrong. These "external rewards" are rarely effective because gamers and humans in general are typically not motivated by external factors, but rather by intrinsic ones. In fact, studies have shown that external rewards and pressures can often act as de-motivators. If youre not convinced, it would be well worth your time to watch Dan Pinks talk on The Surprising Science of Motivation.

The role of game mechanics

If you fail to grasp the key principle of motivation, your game mechanics have no chance of being effective. But even if you do get the mechanics right, there is still no guarantee of success. To understand why, you need to understand that game mechanics are not your core product (unless you are building a game, of course) and have no value in and of themselves. All they can do is act as a "multiplier", encouraging some existing behavior by increasing the behaviors value in the eyes of the user. If that value was originally zero, game mechanics wont help.

To put it another way, if you have a crappy product to begin with, gameplay will not save it. It doesnt matter how many badges, progress bars, leaderboards, achievement scores, or collectibles you add, if the user doesnt see any value in your product, you will not be successful. Moreover, the more obvious the value proposition, the less you need to bother with game dynamics. All of this is best illustrated with a few examples:


cubeduel: great gameplay, 0 value
cubeduel: a great example of well executed game mechanics - you have to play some number of "duels" before you can see your own score - but absolutely no inherent value to the product itself. Lots of people tried it for a couple minutes, got bored, and never came back.



 
Pandora: crystal clear value, no games
Pandora: the exact opposite of cubeduel. From the first minute of using Pandora, its value proposition is obvious, and youre hooked. No game mechanics whatsoever are necessary to keep users engaged.


    StackExchange: clear value, good game mechanics
    StackExchange: the StackExchange sites are a great example of a strong core value multiplied by effective game mechanics. Most users end up on one of their community sites (StackOverflow is the most popular) by googling a question. The utility of the site becomes obvious immediately: quality answers written and vetted by a community of experts. If your particular question isnt there, you can sign up and ask. At this point, the first game mechanic is revealed: the reputation score. This score starts at zero and as it increases, various "privileges" become available: for example, you cant add comments, create new tags, downvote answers, or offer bounties until your score reaches certain thresholds. To get your score higher, other users need to upvote your questions and answers, which encourages you to actively participate in the site. When you do this, the next game mechanic becomes apparent: your profile. Your questions, answers, reputation score, and tags from any discussions you participated in are all publicly visible. Again, the value is obvious: professional reputation. If you do a good job of participating on the site, you look better in front of employers and colleagues. Strong value * effective game mechanics = 24 million unique visitors per month (and growing).

    Stop playing games. Start building awesome products.

    Kniffel: game mechanics != fun
    Game mechanics can be a powerful tool, but like everything else in your toolbox, its all about knowing when and how to use them. If youre working on some new product, start with the basics and make sure that you have the value proposition nailed down. Only when you have something sufficiently compelling by itself should you start thinking about adding any sort of game mechanics.
    Read more »

    Tuesday, February 3, 2015

    Hard Reset Factory Reset your Asus Memopad K0W




    This is my first time to post a ASUS brand. I will gonna start it with ASUS Memopad K0W. You need PC and memory card to wipe the tablet. Or if you another phone you can download it, in its memory card and transfer it in the tablet. You can also have your way to transfer the file in your sdcard.

    Make sure that you have enough battery juice before doing this tutorial. And just a reminder this will wipe all the data in your tablet.

    This can remove password, gmail account in your ASUS Memopad K0W.

    Download this file
    ASUS Memopad K0W -- >> DOWNLOAD HERE

    After downloading the file extract it in your SDCARD. 
    Example
    E:
    F:
    G:
    Do not put it in any folder. Just in the root of your SDCARD.

    After extracting the file

    1. INSERT the SDCARD in your Tablet
    2. POWER on the tablet and wait for the MENU to appear
    3. Select CLEAR USER DATA. Press VOLUME DOWN AND UP to navigate, To select press POWER BUTTON (See picture below)


    4. Reboot your tablet

    You have successfully factory reset or hard reset your ASUS Memopad K0W. I hope this tutorial help you. 
    Read more »

    Hard Reset your Aftron AFMID7150 and remove password pattern lock gmail account

    The Aftron AFMID7150 a rare tablet again came to my workplace. I was surprised that this tablet has a hard reset combination. Scroll below for the tutorial ;)




    Hard resetting / factory resetting your phone will solve the following issues:

    1. If you forgot your pattern lock
    2. If you forgot your gmail account
    3. If you forgot your password
    4. Apps that automatically force closing
    5. Stuck in Aftron Logo (sometimes does not work if the firmware is totally damage)

    NOTE: Performing hard reset will erase your data.


    To hard reset:


    1. Turn off your tablet.
    2. Press and Hold VOLUME UP + VOLUME DOWN + Power button. Release the power Button only when the tablet power up. Just wait until the Android System Recovery appear


    3. Select wipe / factory reset, press Volume rocker to navigate and press the Power Button to confirm your selection.
    4. Reboot your tablet.


    Note:
    If performing hard reset did not succeed, you need to wipe the cache first in the android system recovery before performing wipe / factory reset.



    I hope this tutorial helps you.. If you have any question just drop a
    comment.
    Read more »