Thursday, December 06, 2012

Turn off comments for Posts & Pages in Wordpress


Posts:
Settings >> Discussion >> remove the check from "Allow people to post comments on new articles"
Now what you have done only applies to new posts that you would publish from now on. To remove comments feature from previously published posts:
Posts - select them all and "Edit" under bulk actions and press apply - choose "do not allow" next to comments and hit update posts.
Pages:
Pages >> select them all and "Edit" under bulk actions and hit apply >> choose "do not allow" next to comments and hit update posts.

Thursday, October 25, 2012

Automated Scheduled Backup, MS-SQL Server 2008

MS SQL server 2008 has integrated automatic backup solution (both full and differential). Following links explains quite easy how to setup a scheduled backup and clean up (delete old backup files).

http://weblogs.asp.net/sreejukg/archive/2010/01/20/scheduling-automated-backup-using-sql-server-2008.aspx

Friday, October 19, 2012

Uptime on a windows server

To find out the current up-time on a server simply open the windows task manager and read the up-time from Performance tab.



Opening Windows Task Manager, without Ctrl+Alt+Delete

If you do not have the chance to press Ctrl+Alt+Del and you still need to open Windows Task Manager, try right clicking on the task bar and pressing the choice : "Start Task Manager".

Do not try searching for it, because you won't find it. Been there, done that, doesn't work :-P

Wednesday, September 12, 2012

Mounting ISO files in Windows 8

Simply right click and choose mount :-)

Changing Windows 8 serial key for activation

If you want to change the serial key in Windows 8 and as me you can not find it, then you can simply follow this instruction to force the Windows to do it from command line.

1 - Click on start menu (right bottom corner) and type CMD, when you see th command promt option, right click on it and press "Run As Administrator".

2 - Then in the command prompt terminal type following command: "slmgr.vbs -ipk ". E.g.: 

slmgr.vbs -ipk 00000-00000-00000-00000-00000 

You would then receive a confirmation as a pop up window.

3 - Now you need to activate windows, after changing the key, simply run "slmgr.vbs -ato" and you will again get a confirmation in about 10 seconds.

Tuesday, July 03, 2012

Sharing your WiFi Internet through the Ethernet port, Windows 7


1- Connect to the Internet (using WiFi)

2- Press Start button, Control Panel, Network and Internet, Network and Sharing Center, Change Adapter Settings from the list on the left side.

3- Right-click your wireless connection and select Properties.

4- On Sharing tab check in the check-box "Allow other network users to connect through this computer's Internet connection."

5- Check "Allow other network users to control or disable the shared Internet connection" check-box as well and press Ok.

6- Plugin the ethernet cable to your computer and the other side to another computer or an ethernet switch / router.

Wednesday, June 13, 2012

'ipconfig' is not recognized as an internal or external command, Windows 7

Sometimes uninstalling programs (worst case, viruses) could result in PATH in Windows environmental variables to loose track of some of main cores of the Windows system. E.g. if you run ipconfig in the CMD and gets this error: "'ipconfig' is not recognized as an internal or external command,
operable program or batch file.", then you might want to have a look at the PATH variable and see if  
C:\Windows;C:\Windows\system32
are missing ...



  • Right click on computer
  • Choose Properties
  • Choose Advanced Settings from left bar
  • Environmental Variables
  • PATH


Monday, June 11, 2012

Auto-Format, Visual Studio

- CTRL-A to select the whole text.
- Ctrl+K- Ctrl + F


 Before Auto Format
Ctrl - A selects the whole text
Ctrl K + Ctrl F, auto formats the whole text

Tuesday, June 05, 2012

Adding a folder that is not on the frequent list, to pinned list in Windows Explorer

You can open folders from Windows Explorer shortcut on Windows 7. You have 2 lists when you right click on this folder, Frequent and Pinned. The frequent folders are those which you have visited frequently and the pinned ones are those which you have chosen to have it permanently in that list. It'e quite a useful shortcut, believe me.


One way to add folders to the pinned list is simply to choose them from frequent list and press the pin button in front of the folder name. However not all the folders that we would like to add to this list comes up in the frequent list. What to do? The solution is quite simple. You only need to drag that folder on the Windows Explorer shortcut on your taskbar  and release it. The folder would be added automatically to your pinned list.

Monday, May 21, 2012

How to deactivates restrictions about remote desktop without password

Blank password restrictions for remote access on Windows could be deactivated by using a policy. To locate and change this policy:


- Start Run (Search for programs) - gpedit.msc - Enter to start the Group Policy Editor.
- Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Accounts: Limit local account use of blank passwords to console logon only.
- Double click on Account:Limit local account use of blank passwords to consol logon only
- Choose Disabled, and OK.





NOTE: By default, this policy is on (enabled).


Source : http://support.microsoft.com/default.aspx?scid=303846

Monday, May 14, 2012

Linux switching between text mode & graphical mode, Gnome



  • Switching from X Window to one of the 6 consoles: Ctrl + Alt + F1, ..., Ctrl + Alt + F6.
  • Switching from a text console to another text console: Alt + F1, ..., Alt + F6.
  • Switching back to X Window: Alt + F7.

Wednesday, April 11, 2012

Visual Studio shortcut for commenting program lines

Ctrl-K, Ctrl-C – Comments selected text

Ctrl-K, Ctrl-U – De-Comment selected text

Friday, January 20, 2012

Wednesday, January 11, 2012

Having two Excel 2010 files beside each other in Windows 7


Wanna have two Excel files beside each other and you can't get it done !!! Well remember you are using Microsoft products, so don't be surprised that they don't manage normally to let you have two windows beside each other. Well but there is a hard way to do this : 
  1. Open the first workbook any way you want. 
  2. Start a second instance of excel. either double click on shortcut to excel.exe on your desktop or through windows start button | run, then type: excel and hit enter. Then file|open the second workbook. 
  3. Now files are separated and you can have them beside each other ... Siiiiiigggggghhhhhhh :-S