Easy Ways to Speed Up Your Android Mobiles in Under 3 Minutes

1. Clear Your App Cache (30 seconds)

Over time, your programs write to the app cache on your phone and eat up precious system resources while slowing everything down. You can clear the cache on any individual app by visiting its property page in the Settings menu and tapping the clear cache button, but with dozens of apps on most phones, it could take an eternity to do this manually.

Clear Cache Settings
App Cache Cleaner, a free app, makes it easy to delete the cache on all your apps at once with just a couple of taps. After installing and launch App Cache Cleaner, simply tap Clear All and you’re done.
Cache Cleaner
Of course, the cache will fill  up again over time, and you’ll want to delete it again. App Cache Cleaner has an Auto Clear feature. If you enter its settings menu, tap Auto Clear Interval and select a duration, it will automatically clear the cache on a regular basis. However, this means that the app needs to run in the background.
Auto Clear Interval in App Cache Cleaner
 Installing and using App Cache Cleaner for the first time should take around 30 seconds.

2. Disable or Uninstall Unused Apps (60 seconds)

You may not know it, but many of the apps you never even use may be running in the background, eating up precious system resources. From the app that you tried for 5 minutes last month to the shopping app that came preloaded on your phone, every unused app has the potential to weigh your phone down. It’s easy to uninstall apps you’ve downloaded yourself, but crapware is a little harder to dispose of.
If you have rooted your phone, you can completely remove every trace of your preloaded apps. If not, you can still disable those apps through the settings menu. It should take about 10 seconds to uninstall or disable each app you don’t want. It should take you approximately one minute to get rid of 6 apps, longer if you have more crapware to dump.
MORE: How to Remove Android Crapware

3. Install a New App Launcher (30 seconds)

Your phone’s app launcher controls your desktop, lock screen apps menu, and other critical parts of the UI. Though every Android phone comes with its own preloaded app launcher, you can install a third party launcher that will not only change the look and feel of your device, but also speed the time it takes it to navigate around the OS. There are many different launchers available in the app store, but we found Lightning Launcher Home to be among the fastest and easiest to use.
To use Lightning Launcher or another launcher of your choice:
  1. Install Lightning Launcher from the Google Play store.
  2. Tap the Home Button. A menu appears asking you which launcher you want.
  3. Select Lightning Launcher and Tap Always.
     Set to Lightning Launcher and Select Always
Downloading the Lightning Launcher, and setting it to run as your default should take 30 seconds.

4. Remove Unnecessary Widgets and Shortcuts (30 seconds)

Even with a speedy App Launcher installed, your phone will use more memory the more widgets and shortcuts it has in memory. Look through your desktops for widgets you don’t absolutely need and remove them by long pressing and dragging them off screen.
Remove a Widget
A number of phones with widgets that advertise services such as media stores or news services. Unless you really want to look at a list of hot YouTube videos or Google Play Books on your home screen every day, remove these.
Dragging half a dozen shortcuts and widgets off  of your desktops should take 30 seconds.

5. Limit or Disable Background Data (10 to 60 seconds)

Your email, your Gmail, your Facebook, your Twitter and your backup app all want to ping the Internet for data on a regular basis. All that syncing not only eats up your battery, but also takes up system resources and slows your device down.
There are some services you may want to sync in real time, but there are others you can check manually. For example, if you don’t need to be alerted the moment you get a Facebook mention or receive an email to your personal account, you can prevent those from connecting in the background.
To disable background data for all apps:
  1. Navigate to Settings.
  2. Tap Data usage.
    Select Data Usage 
  3. Launch the context menu by tapping the three dots in the upper left corner of the screen or hitting the menu button (on Samsung and LG phones).
    Select Data Usage
  4. Toggle Autosync data to off and tap Ok on the warning that comes up.
    Select Autosync Data
To disable background data for Gmail, Google+ and other Google Services:
  1. Navigate to Settings. You can get to the Android settings menu from the notification drawer or apps menu.
  2. Tap on Google under accounts.
    Tap the Account You Want to Stop From Syncing 
  3. Tap the account name.  If the sync icon next to the account name is green, it has sync permission. If it is gray, syncing is already disabled.
    Select Your Gmail account
  4. Toggle all types of data syncing to off, including email, contacts and calendar.
    Toggle Sync to Off 
To turn off background data in other apps such as Facebook or the standalone email client,  you must go directly into their settings’ menus and find the option to never update or update manually. Disabling all your background at once should take just 10 seconds, but if you want to manually disable Gmail, Facebook and email client autosync separately, this process could take as long as a  minute.
Depending on how many apps you need to uninstall and services you wish to disable, you could finish speeding up your phone in as little as 2 minutes and 40 seconds. That’s a very small time investment to make your smartphone snappier.

Windows 8 Error Codes and Solutions


You may not optimize windows 8 if you consistently experience errors in your operating system. However, it is a new operating system so chances are there to get surprised with errors. Do not get obsessed, here are bunch of common errors and their solution:

Fix-Windows8-Errors-Solutions


Error code 0xc00000e9

Solution:
While upgrading from Win 7 to Win 8, you may encounter Error code 0xc00000e9
Try following steps to get this error fixed
  1. You may encounter, if you have removed a removable storage device while it is working.
  2. Click on start button and type “cmd”. Type C: it will be shown like this C:\>, if not type cd.. to get out of the directory until you reached C:\>. Now type chkdsk/r
  3. go to manufacturer’s website and update BIOS
  4. Revert back to settings prior the error

Error code 0x00005D

Solution:
If you are trying to install windows 8 and put bootable disc in it but get this error code 0x00005D and it prompts you to restart your pc. Even then problem persists. Following are the reasons:
  1. Windows 8 OS DVD
  2. System does not support windows 8
  3. System is not configured up to windows 8 minimum hardware requirements
  4. Windows 8 setup has some corrupt files
  5. Any hardware failure or internal error
You can install windows 8 after resolving these issues.

Error Code 0xc0000001
 Solution:
There is no need to freak out to see this error. You can fix it in a quick and easy way.
If you are experiencing Code: 0xc0000001 warning message, then follow the steps as given below to get rid of it.
  1. Shutdown your system
  2. Start your pc, as logo screen appeared press SHIFT and f8 key immediately and it will take you to Recovery and then select See advanced repair option
  3. Locate Choose an Options click Troubleshoot
  4. Click Advanced Options and click Windows Startup Settings
  5. Now click Restart. It will repair without any changes in in your files and folders.
If problem, persist then following tips would be helpful
  1. Replace or insert disc / USB in appropriate place
  2. Forcefully restart your computer by pressing (ALT+CTRL+DEL)
  3. Let your system automatically repair and you just hold on.

Error Code 0x800F0906

Solution:
While installing Microsoft dot net framework 3.5 on windows 8, you may encounter Error Code 0x800F0906. Usually we came across this issue because of network proxy, firewalls. To resolve issue you can try following steps.
  1. Go to desktop and open My Computer
  2. Insert installation media and right click on windows 8 client ISO
  3. Click Start on taskbar and type cmd
  4. Type Dism/online/enable-feature/featurename:NetFx3/All/Source:<drive>:\sources\sxs/LimitedAccess and press Enter
  5. Eject windows 8 media and install windows live component
  6. Go to Start button click All programs and click Windows Update
  7. Restart you pc and install Microsoft dot net framework 3.5.

Top 10 Windows 8 errors and solutions


1. Windows 8 installation error. Error message: “Windows 8 installation has failed”

Solutions:
1) Check your system requirement if it meets the minimum system requirement to install Windows 8
2) Try to disable all NON Microsoft installed software, uninstall your third party antivirus program, remove anything plugged in via the usb ports then restarted your computer.
3) Disconnect all the external devices (printers, scanner, USB, etc. except mouse and the keyboard; shut all non-essential services and apps off (iTunes, AVG etc) and then choosing the 'install only' option.
4) Created an installation USB and ran the upgrade setup from there instead of the HD
5) Try installing Windows 8 doing a CleanBoot (How to do a cleanboot?)
6) Check your ios file. You might have a corrupt download that is causing the issue.
Check the ISO Sha 1 hash to verify if you have the correct hash. If they don't match then your download is corrupt and you will need to download a new ISO and reinstall.
64-bit (x64) Download (3.3 GB) Sha 1 hash —0xD76AD96773615E8C504F63564AF749469CFCCD57
32-bit (x86) Download (2.5 GB) Sha 1 hash —0x8BED436F0959E7120A44BF7C29FF0AA962BDEFC9

2. App /program can’t work

Solutions:
1) Try to un-install and re-install the app/program
2) Switched to local account and switched back to Microsoft account and then tried to run the app. (Go to desktop, press alt key + F4, select”switch users”.)
3) Check your third party program like firewall or antivirus program. Try to disable/remove your firewall/antivirus programs.
4) Re-install Windows 8. The ios file might be corrupt and need to re-install Windows 8

3. App can’t install from app store. Error message: "Your purchase can't be completed"

Solutions:

1) Check your third party program like firewall or antivirus program. Try to disable/remove your firewall/antivirus programs.
2) Check your network. Make sure that the network is fine. If you are using any Proxy connection, then try disabling the proxy connection.
3) Check if the date and time is correct, please correct it if it’s not correct
4) Update your app
5) Re-install Windows 8. The ios file might be corrupt and need to re-install Windows 8.

4. Can not to connect to network

Solutions:
1) Check your hardware
Check your cables, check or reset your modem, and check for problems with your network adapter.
2) Check your connection settings to see if they've been changed. (Control Panel >> Network and sharing center >> change adaptor settings)
3) Run Network troubleshooter to check issues(How to run troubleshooter?)
An automated troubleshooter can find and automatically fix some common networking problems.
4) Update network driver for your hardware and install driver in Windows 7 compatibility mode (How to install driver in Windows 7 compatibility mode?)
Check your network adapter driver if it is damaged, outdated or incompatible. Use Windows update to update your driver or download driver from the manufacturer’s website.

5. No sound on Windows 8

Solutions:
1) Check your sound card if that works properly. Open your device manager and check to make sure your PC has a sound card, or sound processor, and it's working properly.
2) Check your driver if it’s installed properly. Make sure you install driver in a compatible mode. (How to install driver in Windows 7 compatibility mode?)
3) Use a troubleshooter(How to run troubleshooter?)
4) Update drivers (http://www.forumswindows8.com/tutori...ivers-8381.htm)
Check your network adapter driver if it is damaged, outdated or incompatible. Use Windows update to update your driver or download and install a driver.

6. Windows 8 Black screen

Solutions:
1) Reboot the system by pressing power button. Sometimes, rebooting can fix this issue.
2) Go to safe mode to uninstall certain programs you've been installing lately, try to disable all NON Microsoft installed software, uninstall your third party antivirus program, remove anything plugged in via the usb ports then restarted your computer.
3) Disconnect all the external devices (except mouse and Keyboard) and check
4) Check your graphic Drivers and programs if they are compatible with windows 8. (Windows Compability Center). Try to install incompatible program and update the driver. Be sure that you install driver in compatible mode.
5) If you tried to upgrade from Windows Vista to Win 8, you may try to remove the drivers of the Graphics card, Audio Card, Network Card and security programs. Then, reboot the system to perform upgrading again for a test. If you tried to upgrade from Windows 7 to Win 8, please boot into Safe Mode with the option “enable low-resolution video” and see how it works.
6) Check your ios file. You might have a corrupt download that is causing the issue.
Check the ISO Sha 1 hash to verify if you have the correct hash. If they don't match then your download is corrupt and you will need to download a new ISO and reinstall.
64-bit (x64) Download (3.3 GB) Sha 1 hash —0xD76AD96773615E8C504F63564AF749469CFCCD57
32-bit (x86) Download (2.5 GB) Sha 1 hash —0x8BED436F0959E7120A44BF7C29FF0AA962BDEFC9

7. Windows 8 freezes

Solutions:
1) Check system if it meets system requirement to install Windows 8
2) Check if any new program/driver has been installed or upgraded. Disabling/un-installing the program/driver might fix this.
3) Run System Maintenance Troubleshooter to see if it helps (How to run troubleshooter?)
4) Try to update all the drivers and check if it helps. (How to update drivers?)

8. Can not play YouTube video

Solutions:
1) Upgrade to the most recent version of Adobe's Flash Player. Please note that before installing Adobe Flash, you will need to first uninstall any older versions you currently have running on your computer.
2) Temporarily disable popup blocking software installed on your computer to test.
3) Allow YouTube.com as a trusted site in your Firewall software.
4) Ensure other applications like Quicktime, iTunes, Real Player, or Windows Media Player aren't set as the default streaming application, as this might affect the video player.
5) Check your third party program like firewall or antivirus program. Try to disable/remove your firewall/antivirus programs.

9. Driver won't be installed/ recognized

Solutions:
1) Check if your driver is compatible with Windows 8 (Windows Compability Center). Try to update driver for your hardware and install driver in Windows 7 compatibility mode (How to install driver in Windows 7 compatibility mode?)
2) run hardware and devices troubleshooter and check if it helps

10. Cannot activate Windows 8

Solutions:
You may activate Windows 8 manually by Phone Activation
a. Click Start, and in the Search box type: slui.exe 4
b. Press enter on your Keyboard
c. Select your Country.
d. Select the Phone Activation option, and hold on for a real person.

Tutorial for Grub 2 recovery


GRUB

Grub 2 recovery

We often come across a condition in which the boot loader gets corrupt. Here are a few steps that will help you recover your GRUB 2 boot loader.
Boot from a live CD or DVD, Which supports GRUB 2 (Ubuntu 9.10 CD or A DVD will take more time than a CD, so I suggest you boot from a CD).
Open the terminal and run fdisk -l to check the partition from which you want to recover GRUB 2.
Here I assume that you want to recover it from /dev/sda1.
Then run the following commands:
Now chroot into that partition by running the command given below:
Then re-install GRUB , as follows:
The output should be like what’s shown below:
If you get an error, then try the following command:
After a successful installation, exit from chroot and unmount the file systems that were mounted to recover GRUB. Now reboot.
You’ve successfully completed recovering your boot loader. Try this it will help you for sure. Be careful while doing this and keep the steps in your mind.

Cookies Explanation for Beginners

cookies

cookies

Starting with Netscape 3.0 in 1996, browsers began to offer support for cookie.The following is a quote from the Netscape cookie specification:
A server, when returning an HTTP object to a client, may also send a piece of state information which the client will store. Included in that state object is a description of the range of URLs for which that state is valid. Any future HTTP requests made by the client which fall in that range will include a transmittal of the current value of the state object from the client back to the server.The state object is called a cookie, for no compelling reason.
Cookies provide an invaluable tool for maintaining state between requests. More than just a way of conveying credentials and authorizations, cookies can be effectively used to pass large and arbitrary state information between requests—even after the browser has been shut down and restarted.
Cookies are the de facto standard for transparently passing information with HTTP requests.These are the major benefits of cookies over Basic Authentication:
  • Versatility—Cookies provide an excellent means for passing around arbitrary information between requests. Basic Authentication is, as its name says, basic.
  • Persistence—Cookies can be set to remain resident in a user’s browser between sessions. Many sites take advantage of this to enable transparent, or automatic, login based on the cookied information. Clearly this setup has security ramifications, but many sites make the security sacrifice to take advantage of the enhanced usability.
    Of course users can set their cookie preferences to refuse cookies from your site. It’s up to you how much effort you want to apply to people who use extremely paranoid cookie policies.
  • Aesthetic—Basic Authentication is the method that causes a browser to pop up that little username/password window.That window is unbranded and unstyled, and this is unacceptable in many designs.When you use a homegrown method, you have greater flexibility.
The major drawback with using cookie-based authentication is that it does not allow you to easily protect non-PHP pages with them.To allow Apache to read and understand the information in cookies, you need to have an Apache module that can parse and read the cookies. If a Basic Authentication implementation in PHP employees any complex logic at all, you are stuck in a similar situation. So cookies aren’t so limiting after all.

Authentication Handlers Written in PHP

In PHP 5 there is an experimental SAPI called apache_hooks that allows you to author entire Apache modules in PHP. This means that you can implement an Apache-level authentication handler that can apply your authentication logic to all requests, not just PHP pages.
When this is stable, it provides an easy way to seamlessly implement arbitrarily complex authentication logic consistently across all objects on a site.

Easyway to resetting wordpress password using FTP

resetting wordpress password

Resetting wordpress password using FTP

There is lot of methods for resetting wordpress password. Normally you can reset password by clicking lost password link, which uses email to reset your password.
But if email is not working and other methods also not working or any 404 errors occur, you can reset your password via FTP.
Note: Use the methods at your own risk. I’m not responsible if any data loss.

Method 1: Edit functions.php

  • Login to your site’s FTP and navigate to the directory “/wp-content/themes/your active theme/”. Then download the file called functions.php
  • Edit the file, and find first <?php: and add the below code next to it.
    wp_set_password('password',1);
    Put your desired new password for the main admin user. “1″ denotes the user ID in the wp_users table.
  • once you’ve done upload the edited file back to the same directory of your site. Select overwrite if asks. Please make sure you have a backup.
  • Now you are able to login with the new password. Once you’ve logged change new password using admin pannel and delete the code on functions.php. Otherwise it will reset the password on every pageload.

Method 2: Emergency reset script

If the above method is not working you can use emergency password reset script.It is a PHP script.
Warnings:
  • You should know the admin user name
  • It will reset password and will send an email to admin’s email id. Even though you didn’t receive email, the password will be changed.
  • You don’t need to be logged in. If you could this method is not needed.
  • Put the script on the root directory of your website.
  • Make sure to delete the script once the password has been changed. (Important)
  • steps
    • Download emergency password reset script from here and place to your wordpress installation directory. File name should be emergency.php
    • Open ‘http://yourwebsitename.com/emergency.php
    • Follow the instructions. Enter admin username and new password. click update options. A message will be displayed to note the password change. An email will be send to the admin’s email.
    • Don’t forget to delete the emergency.php from your server. Because, anyone can use it to change the password.
    I hope one of these method will work for you. If doesn’t please feel free to comment below.

HTML Email Newsletters Coding

Email Newsletter

HTML email newsletter coding rules

Are you getting irritated when your email newsletter looks different in browsers and inbox? follow the rules explained here to make better email newsletter.
  • Use table for everything. Don’t try to use Div. Enclose the hole newsletter in a table.
  • You have to use inline CSS only. External CSS won’t work in newsletter. And CSS should be inside body tag. Don’t use CSS inside Head tag.
  • Don’t use any shorthand in CSS. Use abbreviated styles. For example: Use color:#ffeedd instead of color:#fed
  • Avoid using Divs and Spans. Try to use tables for everything
  • Padding won’t work in newsletter. So use margin only. specify the margin like margin-left, margin-right, margin-bottom
  • Don’t use header (h1, h2, h3, h4, h5, h6)>. Because some mail providers has their own design for this tags.
  • If you want right alignment for image, put it in a table and give cellpadding=’0′ and cellspacing=’0′
  • Store images on web server and use them. Don’t delete the stored image.
  • Avoid Line-height in CSS

Get URL and change the according image in PHP


change image according to url

Trick to change image according to URL in PHP

Hi people! This trick is pretty simple and very useful at sometimes.
Sometimes you might want to change image according to URL in any PHP page here is the tutorial.

STEP1

In first step you need to get the current url. See the code below
This code is a php function which allows you to find out the current page URL.
You can get the Current page URL like this
This will print the current page URL. But for this tutorial we need to store it in a variable.
We’ve stored the current page URL in the variable ‘$cur’.

Step 2

Now we need to split the URL according to ‘/’ and have to select the last part.
Note: if your URL is something like this ‘http://www.example.com/pages/about’ you’ve to use the above code as it is, but if your URL is Like this ‘http://www.example.com/pages/about/’ you’ve to change the ‘-1′ to ‘-2′.
The above code will store last part of the URL in the variable $url for example ‘about’.

Step 3

Now all you need to do is save an image in this name. eg. ‘about.jpg’
Then go to your page and put the following code where you want your image to be placed.
Hurrah!! if you go to that page you can see your image. Now include all the above codes into each page where you want to show the images and place the image with the same name of URL’s last part.

PDF generater in PHP tutorial

php pdf

PHP PDF Generate tutorial

Here is the tutorial for php pdf creation.
For this you need to download a file called fpdf.php

Basic Code to generate pdf in php

Take a look at the code, First you need to include the fpdf.php file using require() function.
after requiring the library file, we instantiate an object of the FPDF class and call it $pdf.
Then we add a page with the AddPage method, set our output font, define the cell (location) for our string of output, and then—using the Output method—display the PDF in the browser.
Output for the above code will be
php pdf

PHP PDF generate using cell

In the above code we’ve used cell method.
For the first text “PHP – The Good Parts!” we’ve given x=10 and y=10 and 0,0,’L’ denotes column, row and text alignment respectively.
So the output will be
php pdf

NOTE:

You may want to disable your browser’s caching capabilities while you are developing and testing the layout of your FPDF PDFs because some browsers will not reload the page with changes if the changes are so small that they don’t register as such with the cache control.

Attachments

1) FPDF.php
www.comhttp.blogspot.in. Powered by Blogger.