Aditya Patil’s Blog

CS, Linux and Programming

  • Recover Inaccessible DigitalOcean Droplet

    Messing up with server configuration is easier than one may think. While most issues can be solved by ssh-ing into the server and reversing whatever ill-fated commands that were executed, sometimes, the misconfiguration can leave you with a server you can’t access at all.

    Read more…
  • Finding short, good domain names using AWS API ( Free of Cost )

    Recently, I was on a lookout for a domain name for personal use. This domain name will probably never be seen by more than 2 eyes, so I didn’t care exactly what TLD it has, or even what it’s FQDN is.

    Read more…
  • Building GCC docker image

    When you look at the various official images for docker, you’ll notice that they are built with stability in mind more than anything. This can be noted by the fact that they use Debian as their base, instead of the much lighter Alpine Linux.

    Read more…
  • Finding popular sites from data breach list

    Recently, Troy Hunt added a new dataset of 2844 data breaches with 80M records to his “Have I been pwned” database. Along with this, Troy also provided a list of the names of the files containing this data.

    Read more…
  • How to use Google OAuth 2.0 in Spring Boot 2.0

    While I have used Google here, the process is pretty much same for Facebook, Github and Okta. Spring Boot 2.0 is coming soon, and the first Release Candidate is already out.

    Read more…
  • How to authorize using OAuth 2.0 in Postman

    If you develop APIs, you surely must have heard of Postman. It is a tool that is used to test API endpoints. When authorizing, for APIs protected with Basic Auth, you can simply add the username and password as a parameter to an HTTP call.

    Read more…
  • Google researchers find that Machine Learning could be better for Indexing

    Current Techniques Currently, we use techniques such as B Tree index to index data for fast searching. This is very important for various applications, mainly databases. Data warehouses can contain Petabytes or even Exabytes of data, and indexing them efficiently, both in terms of time and space, is very crucial.

    Read more…
  • Fixing rtl8723be Wifi and Bluetooth issues in Linux

    The problems rtl8723be is an Wifi + Bluetooth card provided by Realtek. As goes with many devices, the support for this device in Linux has not been very good. On many devices, either or both of WiFi and Bluetooth don’t work properly, or in the worst case, don’t work at all.

    Read more…