How to avoid .DS_Store file creation?

If you are a MacOS user then you must have seen creation of .DS_Store file automatically inside folders which is sometimes quite annoying. .DS_Store files store folder level meta data information. However that is completely fine in MacOS. But there is a work around to avoid creation of .DS_Store files if you are annoyed of it. Specially if you are a developer and those .DS_Store files are created … [Read more...]

How to delete .DS_Store from an existing git repository?

If you are using Mac OS for development then you must have seen .DS_Store files created automatically which is quite painful. However there is a work around to delete it from an existing git repository using following few commands. [crayon-5e2e5681a2b58362460016/] Above command will delete all .DS_Store files, and now you can add in .gitignore file to avoid commit of this file in … [Read more...]

Configuring hostname in Ubuntu 18.04.2 LTS (Bionic Beaver)

Changing hostname in Ubuntu 18.04.2 LTS is different from previous versions. You can use following command [crayon-5e2e5681a2d5e613188497/] After this you need to set preserve hostname setting in /etc/cloud/cloud.cfg From [crayon-5e2e5681a2d62985651556/] TO [crayon-5e2e5681a2d64178879354/] This will preserve new hostname after reboot. … [Read more...]

Configuring Static IP in Ubuntu 18.04.2 LTS (Bionic Beaver)

The method of configuring static ip in Ubuntu 18.04.2 LTS is different from its previous variants. Previously it was to configure in /etc/network/interfaces file, however in Ubuntu 18.04.2 LTS, it is setup in /etc/netplan/50-cloud-init.yaml file. [crayon-5e2e5681a2f51607099420/] Content of this file is [crayon-5e2e5681a2f54851840088/] I have edited this file like … [Read more...]

Debian – Systemd to kill all user processes after logout in release/version 230

  A bug is reported to Debian related to systemd. [crayon-5e2e5681a31d4579100988/] [crayon-5e2e5681a31d8060403170/] [crayon-5e2e5681a31da443224179/] [crayon-5e2e5681a31db434382137/] [crayon-5e2e5681a31df709984221/] … [Read more...]

Amazon web services (aws) data centers locations

This is second post of my experience with Amazon web services (aws) series. Click here to read My first experience with Amazon Web Services.   Although Amazon documentation claims that they are offering services in 12 geographic location, however all I see 10 options in my account for available aws locations/aws datacenters.   US East (N. Virginia) US West (N. … [Read more...]

Soon you will see more ads in Start Menu of Microsoft Windows 10

  Microsoft is planning to double the amount of promoted apps in the Start menu with the upcoming Anniversary Update to Windows 10. Therefore soon you will see the more number of ads in Start menu of Microsoft Windows 10. ┬áThe software maker revealed at its WinHEC conference last week that the amount will increase from five currently up to 10 in the Anniversary Update that's due to roll … [Read more...]

How to copy iptables rules from one server to another

If you want to copy iptables rules from one linux server to another linux server its really simple 1) Save iptables rules from source server by running [crayon-5e2e5681a33f9919457163/] 2) Copy that file to target server and run [crayon-5e2e5681a33fc764874447/]   … [Read more...]