Skip to main content

Posts

Showing posts from January, 2018

Windows Fix Explorer Right Click menu Tortoise Git/ Tortoise SVN

Disable Tortoise SVN .reg Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\Directory\shellex\CopyHookHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\Directory\shellex\DragDropHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\Directory\shellex\PropertySheetHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\*\shellex\PropertySheetHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\TortoiseSVN] [-HKEY_CLASSES_ROOT\LibraryLocation\ShellEx\ContextMenuHandlers\TortoiseSVN] [-...

OAuth2 nodejs

I have worked on some PHP project that require Open Authentication 2.0. It mostly apply some existing solutions. But there are still work (not easy) to understand the basic of OAuth2 work and implememt it. Configure Google ie. app to get it work. Recently I back with a project on NodeJS platform. And I have to jump to these problem, some has been change and some I have forgot it was changed or not. Here some issues I noted as reference. 1. We need a domain with valid name as Google require. ie .com, .net etc... Use private IP seem to be very challange. So short story, I have 2 optioms: 1st is register a free domain (seen i only test function) then point to my dev server (a free one too). 2nd I can use virtual host as many web app I've done before. I end up with 2nd solution. Noted that I have to set up vhost or domain redirect on Android phone not simple a computer. I chose this way because of it make dev more flexible and convinience on debug app on my local Node server. ...