Posts

Speed up shutdown in Linux by reducing default stop timeout

Edit /etc/systemd/system.conf Uncomment and change the value at line DefaultTimeoutStopSec=90s Reboot for the change to take effect (it will not take effect yet after editing the file before reboot).

Remove Share with Skype from Context Menu

Delete HKEY_CLASSES_ROOT\*\shell\ShareWithSkype  Credit: https://www.technipages.com/disable-share-with-skype-from-context-menu

Remove Edit with Paint 3D context menu in Windows 10

https://drive.google.com/file/d/1rpGpvUe40iHsmC06zbNvU6T2YKt4Ug6R/view?usp=sharing

Remove Syncplicity Context Menu

 Delete Computer\HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Syncplicity

Get distinct value in MongDB

 db.the_collection_name.distinct('the_field_name')   To get count of distinct value var collection = "the_collection_name"; var field = "the_field_name"; db[collection].distinct(field).forEach(     function(value) {         print(field + ", " + value + ": " + db[collection].count({[field]: value}))     } )

Remove Git Context Menu

 Delete   Computer\HKEY_CLASSES_ROOT\Directory\Background\shell\git_gui Computer\HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell Computer\HKEY_CLASSES_ROOT\LibraryFolder\background\shell\git_gui Computer\HKEY_CLASSES_ROOT\LibraryFolder\background\shell\git_shell Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\git_gui Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\git_shell   Credit:  https://superuser.com/questions/1347461/remove-item-from-context-menu-of-folder-empty-space https://stackoverflow.com/questions/47084443/how-to-remove-git-from-menu-context-in-documents

Remove Media Player context menu

  Remove "Add to Windows Media Player list" Context Menu     Remove "Play with Windows Media Player" Context Menu   Credit: https://www.tenforums.com/tutorials/83163-remove-add-windows-media-player-list-context-menu-windows-10-a.html https://www.tenforums.com/tutorials/83169-remove-play-windows-media-player-context-menu-windows-10-a.html