Thursday, 7 September 2017

Enable SSMS 2017 Dark Theme

Open the file:
C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\ssms.pkgundef

Comment off  The following line in bold:
// Remove Dark theme
// [$RootKey$\Themes\{1ded0138-47ce-435e-84ef-9ec1f439b749}]

Wednesday, 26 April 2017

Fix for Scroll and Focus Issue with Multiple Bootstrap Modals



$(document).on('hidden.bs.modal', '.modal', function () { if($('.modal:visible').length){ $('body').addClass("modal-open"); } else { $('body').removeClass("modal-open"); } });

Saturday, 11 March 2017

How to Assign Shortcut keys to Build Selected Project in Visual Studio

1. Click on "Tools" menu follows by "Options" to bring up the "Options" dialog.
2. Select "Environment" > "Keyboard".
3. Select the "Build.BuildSelection" command.
4. Press "Ctrl+Shift+B" keys in the "Press shortcut keys" textbox and click on the "Assign" button.
5. Select the "Build.BuildSolution" command.
6. Press "Ctrl+Shift+Alt+B" keys in the "Press shortcut keys" textbox and click on the "Assign" button.

Saturday, 4 March 2017

Make Blogger Site Fluid

Click on "Theme" on the side bar, follow by "Edit theme" button.

Search for:

.content-outer, .content-fauxcolumn-outer, .region-inner { min-width: $(content.width); max-width: $(content.width); _width: $(content.width); }

Change them to:

.content-outer, .content-fauxcolumn-outer, .region-inner { min-width: 1000px; /*$(content.width)*/ max-width: 1280px; /*$(content.width)*/ _width: 100%; /*$(content.width)*/ }

Refer:  Blogger: make your blog fluid (fit any screen resolution)

Friday, 3 March 2017

Set Proxy Settings for Current Command Session

Use the following command to set proxy settings for current command session:

set http_proxy=http://domain%5Cusername:password@proxy:port set https_proxy=http://domain%5Cusername:password@proxy:port

To reset:

set http_proxy= set https_proxy=


Saturday, 11 February 2017

PyCharm - Python IDE from Jetbrains

PyCharm is a great Python IDE from Jetbrains. There are 3 editions available:
  • PyCharm Community Edition - Free and open source Python IDE.
  • PyCharm Edu Edition - Based on PyCharm Community Edition and designed for people who want to learn Python or course intructors teaching Python programming.
  • PyCharm Professional Edition - Has additional support for web technologies. Require license.