Posts

Showing posts from November, 2020

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

Install Group Policy Editor

  https://drive.google.com/file/d/1di8tlKxbQFSs99Ew1gLjDF0h4VOvdSGm/view?usp=sharing   Credit: https://www.itechtics.com/enable-gpedit-windows-10-home/