Posts

Disable GRUB timeout

 Add “GRUB_RECORDFAIL_TIMEOUT=0” in /etc/default/grub Then update GRUB by running sudo update-grub Credit: https://techz.io/disable-grub-boot-menu

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