Monday, July 30, 2018

Steps to Delete OST File from Outlook 2016 / 2013 / 2010 / 2007

Deleting .ost file is quite easy if you know the location. Simply locate the Outlook folder and select .ost file and delete. But you do not know the location of OST file then follow the steps mentioned below. Remember one thing that location of .ost file different in different versions of Outlook. 
Quit Outlook (If it is Running).
Go to Run window or press windows key + r.
Type “%LOCALAPPDATA%\Microsoft\Outlook\” in the Run window and click OK.
Note: – The command will automatically locate .ost file from any Outlook 2016/2013/2010/2007/2003/2000.
Select the .ost file and either right-click on it and then hit on Delete option or press Delete Key.
I used this process to get my Outlook to actually update the cache. I had disabled the cache through
File\Account Settings\
Double Click the Profile Email

After I did so, I could see my email and the shared email account, but it was not nearly as responsive.

After I deleted the .ost file, Outlook took some time to re-load the cache (about 10 minutes). But it was faster after that.



Friday, June 01, 2018

Notepad++ Preferences

Configure to use spaces instead of tabs
Settings->Preferences->Language Check "Replace by space"
https://stackoverflow.com/questions/8197812/how-does-one-configure-notepad-to-use-spaces-instead-of-tabs

Show white space
View->Show Symbol->Show all characters ?

Set style of white space
Settings->Style Configurator->Global Styles->White space symbols

Git Visualizations


Here are some visualization tools for git repositories

For github, https://github.com/crc8/GitVersionTree/network for your project

Git GUI. It should already be installed on your machine with Git for Windows.
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Git
From Git GUI, go to the “Repository/Visualize All Branch History” menu item

GitVersionTree https://github.com/crc8/GitVersionTree/releases
uses https://graphviz.gitlab.io/download/

TortoiseGit does have a log functionality that is useful
https://tortoisegit.org/download/

Thursday, May 31, 2018

Beyond Compare: Insert spaces instead of tabs

To change the way Beyond Compare behaves when you enter a tab 
- Go to the menu \Tools\File Formats
- Select the "Everything Else" option that has a Misc tab
- Check the Insert spaces instead of tabs
- Change tab stops to 4 spaces





Saturday, May 19, 2018

How to setup Google Cloud Print

I spent several hours this morning trying to get a printer so that it would be available for other computers on my home network to print.

I have a desktop upstairs with a wireless connection. For whatever reason, it cannot connect consistently to my printer when set up through WiFi nor on the wired downstairs desktop when connected by USB. I have reproduced the problem when I sit next to the upstairs desktop using my laptop.

In short,
1 - Set up Google Cloud Print Service so that your printer will be available even if you are not logged into the computer that has your printer attached
  https://tools.google.com/dlpage/cloudprintservice
2 - Install Google Cloud Printer driver on the windows computers that you want to print from.
  https://tools.google.com/dlpage/cloudprintdriver
3 - Share the Google Cloud Printer with others you want to be able to print from a Chromebook.


For more detail, follow the video tutorial. It helped me get my printing up and running.
How to setup Google Cloud Print

You can get the Google Cloud Print Connector here

https://github.com/google/cloud-print-connector/wiki/Windows-MSI-Installation

https://github.com/google/cloud-print-connector/releases





Google Cloud Print Service
https://tools.google.com/dlpage/cloudprintservice


I also tried installing "Cloud Print for Windows". http://www.swdevs.com/cps.htm

It seems to do what the Google Cloud Print Service already does. But with some windows apps to configure it.

I also tried installing Google Cloud Printer driver.
https://tools.google.com/dlpage/cloudprintdriver

-

Sunday, April 29, 2018

Require HTTPS or SSL with URL Rewrite

Back in 2016, I was trying to get an IIS app to run locally

I got this error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

I removed the content of the web.config inside the root node. I added them back in a section at a time. It was the node that caused the error.

I had to install https://www.iis.net/downloads/microsoft/url-rewrite
on my Windows 7 machine. Then the error went away.

Here is an example what to put in the node of your web.config