RSS

Monthly Archives: November 2012

Get to Know the New Shortcut Keys in Windows 8

You’ve probably already been using hotkeys in Windows 7 and previous versions, so now that Windows 8 is out, all you need to learn are the new shortcut keys. Here are the important new keys in a short list that you can easily learn.

New Windows 8 Shortcut Keys

There might be a couple of new keys that aren’t included in this list, but as far as we know, these are the most important ones.

  • Windows key – brings up the Metro start screen. You can start typing to search for an app, just like the Win7 start menu.
  • Win + D – brings up the old Windows desktop.
  • Win + C – brings up the Charms menu, where you can search, share, and change settings.
  • Win + I – opens the Settings panel, where you can change settings for the current app, change volume, wireless networks, shut down, or adjust the brightness.
  • Win + Z – opens the App Bar for the current Metro application.
  • Win + H – opens the Metro Share panel.
  • Win + Q – brings up the Metro App Search screen.
  • Win + W – brings up the Metro Settings search screen.
  • Win + F – brings up the Metro File search screen.
  • Win + K – opens the Devices panel (for connecting to a projector or some other device)
  • Win + ,  (comma) – Aero Peek at the desktop.
  • Win + .  (period) – Snaps the current Metro application to one side of the screen. (Right side)
  • Win + Shift + . (period)  – Snaps the current Metro application to the other side of the screen. (Left side)
  • Win + J – switches focus between snapped Metro applications.
  • Win + Page Up / Down – moves the current app to the other monitor.
  • Win + Tab – opens the Metro application switcher menu, switches between applications.

You might notice that we didn’t show screenshots of how all these shortcut keys work, and there’s a reason for that: you need to test them out for yourself to really learn how they work.

If there’s any other shortcut keys that are new to Windows 8 and we haven’t featured them, be sure to let us know in the comments.

 
Leave a comment

Posted by on November 27, 2012 in Tips, Windows8

 

Tags: , ,

WordPress sites not indexed by search engines

Recently, I have noticed something strange. It turns out that some WordPress Sites are not being indexed by search engines. This applies only to recently launched websites running the latest stable WordPress release – 3.4.2.

As it turns out, WordPress 3.4.2, by default, asks search engines not to index your website. To change this, log in to the WordPress admin area, go to Settings -> Privacy, select “Allow search engines to index this site” and click the Save Changes button. After this, your website will be visible to search engines.

Again, this concerns only websites running the most recent WordPress version – 3.4.2. If you have updated from an older version, you will not have this problem, since the “Allow search engines to index this site” option is enabled by default in the previous WordPress versions.

 
Leave a comment

Posted by on November 25, 2012 in Tips

 

Tags: , ,

DNS change puts 284 Pakistani websites at mercy of hackers

It seems there’s at least one notable case of hacking each week, if not more. Today could be the biggest event of the year in Pakistan, due to a change in the DNS entries for 284 Pakistani domains managed by MarkMonitor.

These aren’t small sites feeling the impact. Sites such as Google.pk, eBay.pk, and Microsoft.pk are all affected by the DNS entry changing. At the time of writing, Microsoft and Google’s Pakistani sites cannot be reached at all. eBay’s page has been defaced, as you can see in the screenshot here:

Feeding it through Google Translate identifies the language as Turkish, so the origins of the attack could be traced down to the country. The translation is mangled, but it still manages to put across its point even if it is awkward to read.

eboz

My homies in a friend always there for me
Have not shot by me with every breath
Pakistan Downed
?
   trabzon 2012
Hello friends who are still alive not dead!

There may be some information usable within that quote. Trabzon is a city on Turkey’s north-eastern coast, famous as being one of the stopping points on the ‘Silk Road’. Currently, nobody has come forth to take responsibility for the action, which is somewhat unusual since hackers tend to be quick to celebrate a victory.

Interestingly, their penguin image on the eBay page also appears elsewhere. Using a reverse image search on Google, it can also be found on the Bulgarian Red Cross page. The only difference is that the comments about “Pakistan Downed” are not present on the Bulgarian hack. According to Zone-H, the name “eboz” has been attributed to a number of different hacking attacks dating as far back as 2009.

 
Leave a comment

Posted by on November 24, 2012 in Uncategorized

 

Tags: , , , , , ,

How to enable IDENTITY_INSERT for a table

I wonder how many times every one  us might have stumbled to insert values to identity column.Though identity
column serves as healthy mean of maintaining unique identification for a table and more often then not we do use
identity column to be the primary key field but it does come with it’s own baggage of hindrance, ofcourse until
you know how to unload the baggage

One hindrance that identity column serves is that does not allow you to enter your desired value at a particular
place until you play this little trick with it.While the simplest solution that i have used often to get across this situation
is here to unrevealed.

SET IDENTITY_INSERT TableName ON
INSERT IdentityTable(TheIdentity, TheValue)
VALUES (3, ‘here we go’)
SET IDENTITY_INSERT IdentityTable OFF

This is one of those  little trick that every sql programmer would love to be  scrolled in their sleeves

 
Leave a comment

Posted by on November 21, 2012 in Uncategorized

 

Tags: ,

How to Allow MySQL Client to Connect to Remote MySQL server

By default, MySQL does not allow remote clients to connect to the MySQL database.

If you try to connect to a remote MySQL database from your client system, you will get “ERROR 1130: Host is not allowed to connect to this MySQL server” message as shown below.

$ mysql -h 192.168.1.8 -u root -p
Enter password:
ERROR 1130: Host '192.168.1.4' is not allowed to connect to this MySQL server

You can also validate this by doing telnet to 3306 mysql port as shown below, which will also give the same “host is not allowed to connect to this mysql server” error message as shown below.

$ telnet 192.168.1.8 3306
host 192.168.1.4 is not allowed to connect to this mysql server

If you want to allow a specific client ip-address (for example: 192.168.1.4) to access the mysql database running on a server, you should execute the following command on the server that is running the mysql database.

$ mysql -u root -p
Enter password:

mysql> use mysql

mysql> GRANT ALL ON *.* to root@'192.168.1.4' IDENTIFIED BY 'your-root-password'; 

mysql> FLUSH PRIVILEGES;

Also, update firewall rules to make sure port# 3306 is open on the server that is running the mysql database.

After the above changes, when you try to connect to the mysql database from a remote client, you’ll not get the “Host is not allowed to connect to this MySQL server” error message anymore.

 
Leave a comment

Posted by on November 20, 2012 in Tips

 

Tags: , ,

Visual studio 2012 windows 8, Metroapp and javascript template missing

Win8 development is only supported on Win8. VS installs on any Windows OS from Vista onwards to support classic app development, but as you see you won’t have access to the Win8 app styles.

Since Win8 rc is available for free, you can download it and install it on a virtual machine and code on that for a low cost workaround. You don’t need to have it be your primary OS. Developing in a VM has a ton of benefits.

 
Leave a comment

Posted by on November 17, 2012 in Tips

 

Tags: ,

OrangeHRM: Installation error symfony/cache symfony/log Not Writeable

Recently i was deploying orangeHRM and ran into ymfony/cache  and symfony/log Not Writeable error during installation, tried many things regarding write permissions chmod in liux and security user add in windows. etc etc.

but still the following  Error was there on re-check:


Finally i browsed to the folder symfony located in OrageHRM and found that cache and log folders were created by default. just created those folders and bingo it worked

 
2 Comments

Posted by on November 16, 2012 in Tips

 

Tags: , , ,

 
%d bloggers like this: