Saturday, June 29, 2013

Disable Windows 8 Lock Screen

Here is i'm with a new thing that how can you disable windows 8 lock screen and then make your PC start with out lock.
Start your PC or wake it from sleep and you go straight to Windows 8’s lock screen, which you might expect on any Smartphone rather than PC. But you can easily get rid off this easily by following a couple of steps.

Step 1:   To do it, you use the  Local Policy Editor . Launch it by pressing  Windows key+R  to open , the Run bar,  

Step 2: Type  gpedit. msc,  and press Enter or click OK. The Local Policy Editor launches.

Step 3:  Now navigate to the following path on the left sidebar – to  Computer Configuration Administrative Templates Control Panel Personalization

Step 4:  Double-click the “ Do not display the lock screen ” entry, select  Enabled , then press Enter or click OK. Exit the Local Policy Editor.  

Step 5 : then  reboot . The new setting should take effect immediately. The next turn you reboot  

How to Disable Access to your Pendrive in your PC

To disable the access to USB port, in windows Vista / XP follow the steps below

  1. Goto Start and click on Run and type Regedit, and then click OK.
  2. In the registry menu Locate and then click the following registry key:
  3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
  4. In the right hand pane double-click Start as shown in the image below.
  5. In the Value data box, type 4 and then click OK.
  6. Quit Registry Editor and refresh your desktop.

More at Microsoft Website Here

Sunday, June 23, 2013

Top 83 Mysql Performance Tips

MySQL is a widely used and fast SQL database server. It is a client/server implementation that consists of a server daemon (mysqld) and many different client programs/libraries.

You can check the same tips from here.Here is very useful tips for all mysql DBA's,Developers these tips are noted from MySQL Camp 2006 suggested by mysql community experts.

  1. Don't Index Everything
  2. Use benchmarking
  3. Minimize traffic by fetching only what you need.
    1. Paging/chunked data retrieval to limit
    2. Don't use SELECT *
    3. Be wary of lots of small quick queries if a longer query can be more efficient
  4. Use EXPLAIN to profile the query execution plan
  5. Use Slow Query Log (always have it on!)
  6. Don't use DISTINCT when you have or could use GROUP BY
  7. Use proper data partitions
    1. For Cluster. Start thinking about Cluster *before* you need them
  8. Insert performance
    1. Batch INSERT and REPLACE
    2. Use LOAD DATA instead of INSERT
  9. LIMIT m,n may not be as fast as it sounds
  10. Don't use ORDER BY RAND() if you have > ~2K records
  11. Use SQL_NO_CACHE when you are SELECTing frequently updated data or large sets of data
  12. avoid wildcards at the start of LIKE queries
  13. avoid correlated subqueries and in select and where clause (try to avoid in)
  14. config params --
  15. no calculated comparisons -- isolate indexed columns
  16. innodb_flush_commit=0 can help slave lag
  17. ORDER BY and LIMIT work best with equalities and covered indexes
  18. isolate workloads don't let administrative work interfere with customer performance. (ie backups)
  19. use optimistic locking, not pessimistic locking. try to use shared lock, not exclusive lock. share mode vs. FOR UPDATE
  20. use row-level instead of table-level locking for OLTP workloads
  21. Know your storage engines and what performs best for your needs, know that different ones exist.
    1. use MERGE tables ARCHIVE tables for logs
  22. Optimize for data types, use consistent data types. Use PROCEDURE ANALYSE() to help determine if you need less
  23. separate text/blobs from metadata, don't put text/blobs in results if you don't need them
  24. if you can, compress text/blobs
  25. compress static data
  26. don't back up static data as often
  27. derived tables (subqueries in the FROM clause) can be useful for retrieving BLOBs w/out sorting them. (self-join can speed up a query if 1st part finds the IDs and use it to fetch the rest)
  28. enable and increase the query and buffer caches if appropriate
  29. ALTER TABLE...ORDER BY can take chronological data and re-order it by a different field
  30. InnoDB ALWAYS keeps the primary key as part of each index, so do not make the primary key very large, be careful of redundant columns in an index, and this can make the query faster
  31. Do not duplicate indexes
  32. Utilize different storage engines on master/slave ie, if you need fulltext indexing on a table.
  33. BLACKHOLE engine and replication is much faster than FEDERATED tables for things like logs.
  34. Design sane query schemas. don't be afraid of table joins, often they are faster than denormalization
  35. Don't use boolean flags
  36. Use a clever key and ORDER BY instead of MAX
  37. Keep the database host as clean as possible. Do you really need a windowing system on that server?
  38. Utilize the strengths of the OS
  39. Hire a MySQL (tm) Certified DBA
  40. Know that there are many consulting companies out there that can help, as well as MySQL's Professional Services.
  41. Config variables & tips:
    1. use one of the supplied config files
    2. key_buffer, unix cache (leave some RAM free), per-connection variables, innodb memory variables
    3. be aware of global vs. per-connection variables
    4. check SHOW STATUS and SHOW VARIABLES (GLOBAL|SESSION in 5.0 and up)
    5. be aware of swapping esp. with Linux, "swappiness" (bypass OS filecache for innodb data files, innodb_flush_method=O_DIRECT if possible (this is also OS specific))
    6. defragment tables, rebuild indexes, do table maintenance
    7. If you use innodb_flush_txn_commit=1, use a battery-backed hardware cache write controller
    8. more RAM is good so faster disk speed
    9. use 64-bit architectures
  42. Know when to split a complex query and join smaller ones
  43. Debugging sucks, testing rocks!
  44. Delete small amounts at a time if you can
  45. Archive old data -- don't be a pack-rat! 2 common engines for this are ARCHIVE tables and MERGE tables
  46. use INET_ATON and INET_NTOA for IP addresses, not char or varchar
  47. make it a habit to REVERSE() email addresses, so you can easily search domains
  48. --skip-name-resolve
  49. increase myisam_sort_buffer_size to optimize large inserts (this is a per-connection variable)
  50. look up memory tuning parameter for on-insert caching
  51. increase temp table size in a data warehousing environment (default is 32Mb) so it doesn't write to disk (also constrained by max_heap_table_size, default 16Mb)
  52. Normalize first, and denormalize where appropriate.
  53. Databases are not spreadsheets, even though Access really really looks like one. Then again, Access isn't a real database
  54. In 5.1 BOOL/BIT NOT NULL type is 1 bit, in previous versions it's 1 byte.
  55. A NULL data type can take more room to store than NOT NULL
  56. Choose appropriate character sets & collations -- UTF16 will store each character in 2 bytes, whether it needs it or not, latin1 is faster than UTF8.
  57. make similar queries consistent so cache is used
  58. Have good SQL query standards
  59. Don't use deprecated features
  60. Use Triggers wisely
  61. Run in SQL_MODE=STRICT to help identify warnings
  62. Turning OR on multiple index fields (<5.0)>
  63. /tmp dir on battery-backed write cache
  64. consider battery-backed RAM for innodb logfiles
  65. use min_rows and max_rows to specify approximate data size so space can be pre-allocated and reference points can be calculated.
  66. as your data grows, indexing may change (cardinality and selectivity change). Structuring may want to change. Make your schema as modular as your code. Make your code able to scale. Plan and embrace change, and get developers to do the same.
  67. pare down cron scripts
  68. create a test environment
  69. try out a few schemas and storage engines in your test environment before picking one.
  70. Use HASH indexing for indexing across columns with similar data prefixes
  71. Use myisam_pack_keys for int data
  72. Don't use COUNT * on Innodb tables for every search, do it a few times and/or summary tables, or if you need it for the total # of rows, use SQL_CALC_FOUND_ROWS and SELECT FOUND_ROWS()
  73. use --safe-updates for client
  74. Redundant data is redundant
  75. Use INSERT ... ON DUPLICATE KEY update (INSERT IGNORE) to avoid having to SELECT
  76. use groupwise maximum instead of subqueries
  77. be able to change your schema without ruining functionality of your code
  78. source control schema and config files
  79. for LVM innodb backups, restore to a different instance of MySQL so Innodb can roll forward
  80. use multi_query if appropriate to reduce round-trips
  81. partition appropriately
  82. partition your database when you have real data
  83. segregate tables/databases that benefit from

Nokia 5800 WLAN (wifi) static IP Setting

Follow these instructions to set it up WLAN static IP Setting

Add New Wireless Connection

Press the Menu Button => Settings => Connectivity => Destinations => Access point(add new Access Point) =>Automatically check for available access points => Yes => Wireless Lan => Highlight the one to which you want to connect => Click Select  => Enter WEP value (if any) => Destination => Internet => Click Select .

After follow above WLan connection has been added.

Setting up Static IP

Press the Menu Button => Settings => Connectivity => Destinations => Internet => Select Wireless Connection => New Click Options => Edit => Highlight the WLAN network Mode Touch it to change it to Ad-hoc, it may be set to Infrastructure => ; Now Click Options => Advanced Settings => IPv4 => Enter IP Address ,Subnet Mask , Default Gateway and DNS servers

Monday, June 3, 2013

How to Recover Deleted files From Mac Trash?

Some questions from Yahoo answers:
1. I accidentally emptied my trash and realized too late that I really needed the files. Is there any program I can use that will restore my Mac files? - Mr.D

2. I just put something in my trash bin and emptied it. now i realize i really need it. Is there any way to recover it? - Tabby

3. I accidentally erased a game i had on my Macbook how do i recover the last files i deleted on my Mac, thanks in advance for your help - Remy L
What happened right after emptying Trash Bin?
When we emptied Trash Bin (excluding safe emptying), what we in fact deleted is not the document itself. The operating system merely loses the entry on the file, since the pointers among data files and document system index are deleted. The room occupied by deleted data files is marked as "available to reuse", so the deleted data files stay physically intact around the generate right up until they are overwritten by other files. The data files will possibly be only deleted once they are overwritten by new files. so which you can avoid overwriting we must end making use of the Mac quickly if we wish to recover deleted information from Mac Trash

To undo emptied Trash on Mac lion, we require the assist from the third-party application -Mac Trash Recovery. right here we humbly propose Wondershare Data Recovery for Mac, a competent and easy-to-use Data recovery for Mac consumers with any computer-level, is capable to recover deleted, formatted and inaccessible documents, images, videos, archives, songs, etc. from Mac desktop, Macbook and iPod, electronic camera, USB drives, cell phones as properly as other storage space media. using the user-friendly interface, you can recover trash Mac just with a few of mouse button clicks. when the room isn't overwritten, your deleted data files could be recovered with 100%.

Keep in mind: in no way obtain and set up any program with the location in which you lost your files, for this could overwrite your lost data. Download and set up it on another partition.
Install and operate the Mac Data recovery software program in your computer. Then stick to up coming steps.

Step 1: select Lost document Recovery mode

"Lost File Recovery" can recover deleted data files from the partition or removable media, no topic deleted by Command + erase or emptied through the Trash.

This recovery choice is suggested at first, for it requires you only a few of mins to retrieve deleted data files from Mac Trash. If you ever can't come across your deleted document with this mode, you can attempt "Raw Recovery" later, which could recover tons of data files such as those people lost extended time ago, far more time consumed accordingly.

Step2: Scan the place of Trash on Mac

Select the logical generate in which you deleted your files, if you ever have far more than a single drives in your Mac. Then click on "Scan" to research your deleted files.

Step 3: Preview and recover data files from Mac Trash

You are right here now. once the scanning finishes, all data files you deleted are detailed using the authentic path, no topic you deleted them straight from Library, desktop, or Trash, etc. Undoubtedly, data files you emptied from Trash are with the "Trash" folder. Or you can research the file's title with the research bar around the best to obtain it fast.

Before recovery, you can preview the document to be sure the data files or quanlity. Common image formats, documents and archives are permitted to preview directly.

During the scanning process, you can select to "Pause" or "Stop" the operate if you ever have discovered the data files you are searching for with the record or you need to leave for any while. if you ever pause it, you can carry on it any time once you are available. If stop, you don't must shed the existing scanning result, and you also can conserve it in your personal computer for up coming time recovery by resuming it, which could conserve you significantly time.

Step 4: conserve the recoverable data files on another partition or disk

When reading the document for recovery, click on "Recover" to obtain them back.

What you should really retain in thoughts is: don't conserve the recovered data files around the very same location in which you lost them, in situation you overwrite them. if you ever don't come across all of the files, the deleted data files will possibly be overwritten for the new files' storage.

Before clicking on "Empty Trash", examine precisely what is with the Trash Bin. if you ever have useful data files there, you can highlight the types that obtained mistakenly sent there and drag them away from Trash Bin to stay away from this information great loss headache.

Chances of Mac Trash recovery

Because the operating system doesn't quickly reuse the room from deleted files, it's a plain and uncomplicated profession for us to undelete trash on Mac. however the probability of recovering Trash Mac effectively decreases substantially the extended we make utilization of the personal computer right after choosing "Empty Trash" option, due to the fact the Mac OS X may perhaps overwrite this tiny absolutely free room really rapidly with temp files. The most significant opportunity of Mac trash recovery would be to end making use of the Mac equipment as shortly as we wrongly emptied the Trash. Thus, there will possibly be a greater opportunity to recover deleted Mac data files right after emptying Trash folder.

Sunday, June 2, 2013

How to Recover Lost Data on Samsung Galaxy

Can I restore photos deleted from my Samsung Galaxy?

I accidently deleted the entire contents of the "Camera" folder on my Samsung Galaxy S2. All of the photos and videos which I had taken in the past 2 months were lost. Actually, i know I ought to back them up. Is there any way I can restore them?

When a "delete" is completed, the particular space that the file takes up is usually marked as blank and can be used again by new files, however, the deleted file will probably be still there until finally new data overwrites it. Consequently, if you ever haven't taken any new photos or video clips, you still can recover deleted photos by making use of Samsung Galaxy recovery software.

First of all, download a reliable Samsung Galaxy recovery software tool: Dr.Fone for Android. This software enables you to recover contacts, messages, photos and videos from Samsung Galaxy devices, like Galaxy S, Galaxy Note, Galaxy Ace, and much more.

Download the free trial version of this Samsung Galaxy recovery software here.

Notice: Please check your Samsung device model and the Android OS here before you decide to perform the recovery. Not every Samsung devices is supported right now by Wondershare Dr.Fone for Android.

Step 1. Connect your Samsung Galaxy to the computer
Prior to doing anything else, connect your Samsung Galaxy to the computer. And then run the program and you may find the primary window below. Your Samsung Galaxy device will probably be detected instantly.

Click image to Enlarge

Step 2. Enable USB debugging

If you did not enable USB debugging on the device before, you have to set it at this point. There are actually different ways for different devices based on the Android OS versions. Pick the one for yours and follow it.
1) For Android OS 2.3 or earlier: Enter "Settings" > Click "Applications" > Click "Development" > Check "USB debugging"
2) For Android OS 3.0 to 4.1: Enter "Settings" > Click "Developer options" > Check "USB debugging"
3) For Android OS 4.2 or newer: Enter "Settings" > Click "About Phone" > Tap "Build number" for several times till finding a note "You are under developer mode" > Returning to "Settings" > Click "Developer options" > Check "USB debugging"

Click image to Enlarge

Step 3. Prepare to scan your Samsung Galaxy

When your device is connected and detected by the program, click the "Start" button in the screen below to start analyzing it. Before doing this, make sure that your phone battery is more than 20% charged, so that you can get a smooth scan.

Click image to Enlarge

After the analyzing, you need to turn to your device's homescreen to click "Allow", so that the scan can be started. Then click "Start" to scan your device now.

Note: For some devices, they may ask you to click "Allow" more than one time on your device's homescreen. It's normal. Just do it if it askes.

 Click image to Enlarge

Step 4. Preview and recover lost data from Samsung Galaxy
The scan will cost you a while. Right after it, you are able to preview all contacts found on your Samsung Galaxy. Select "Contacts" on the left of the window. You can even examine all information on your contacts. Mark those you need and conserve all of them on your pc by simply clicking on "Recover" at the lower right corner.

Click image to Enlarge
The scan usually takes some time. Once messages and contacts are scanned out, it will remind you. And you may stop the actual scan to get them back in case you only want to recover deleted messages and contacts. With regard to photos and video, it will require more time to scan out all of them.

As soon as the scan completed, you are able to check out details of all the found data one after the other. Mark those you desire and click on "Recover" to conserve them on your PC.

Note: Don't save the recovered data on your Samsung Galaxy again.