Posts

Remove Foxit PhantomPDF context menu

Computer\HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Foxit_ConvertToPDF   Computer\HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Foxit_ConvertToPDF

Turn off WiFi Power Setting in Ubuntu

  sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf   wifi.powersave = 2   Other value: 0: use the default value 1: don't touch existing setting 2: disable powersave 3: enable powersave

Dial Unifi directly from Windows 10

Control Panel → Programs and Features Turn Windows features on or off Enable Hyper-V and restart Run Hyper-V Manager On the left pane, click your computer name On the right pane, open “Virtual Switch Manager” Create a new Virtual Network Switch → External → Create Under External Network, select your network card Check “Enable virtual LAN identification” and enter 500 Click OK (or Apply → OK) Go back to Control Panel → Network and Sharing Center Set up a new connection using your UniFi credentials

Synchronize between AWS S3 and Local Windows Drive

  Installed and configure AWS CLI   Use this command to sync: aws s3 sync [source] [destination] E.g: aws s3 sync s3://mybucket-name D:/folder1 To schedule, create batch file with the command and add that batch file to Task Scheduler   Credit: https://medium.com/@dangaldeependra/synchronize-between-aws-s3-and-local-windows-drive-52483e33a9e6

Count number of occurrences in MongoDB

 db.collection_name.aggregate(    {$group : { _id : '$field_name', count : {$sum : 1}}},    {$sort: { count: -1 } } )

Telegram icon in dark theme

sudo cp /usr/share/icons/breeze-dark/status/22/telegram* /usr/share/icons/breeze/status/22/ sudo cp /usr/share/icons/breeze-dark/status/24/telegram* /usr/share/icons/breeze/status/24/   Credit: https://github.com/telegramdesktop/tdesktop/issues/7399

Enable changing lock screen background

HKLM\Software\Policies\Microsoft\Windows\Personalization Delete NoLockScreen Restarted the computer   Credit: http://bmno.mcio.org/windows/Some%20Settings%20are%20hidden.html