Backing up amazon kindle books & understanding DRM

What is amazon kindle & how it stores ebooks

Kindle is an ebook reading device with a browser and other capabilities. The kindle differs from tablets in one thing, i.e. the screen of the kindle is easy on your eyes so you can read for long hours without straining your eyes.

You can download books to kindle and they are available offline. The download happens through 2 modes.

  1. Through wifi, direct download to kindle

  2. Through USB transfer, the book can be downloaded from the amazon site and sideloaded.

Amazon has its ebook format (AWZ3) in which the book gets downloaded to the device and is locked with DRM.

Continue reading

Share this post

Must know terminal commands before touching production servers

I use windows 10 on a day to day basis. My colleagues and friends use windows too. The problem starts when the GUI disappears and we just have SSH access to the production boxes. On a production machine, running one wrong Unix/Linux command could risk your job. Here I am compiling the must know Unix/Linux commands keeping in mind the deployment and operations related tasks.

Continue reading

Share this post

Publishing my first npm package

How does anyone know if their customer got any JS errors/application crashes? How does the operations team know about the crash before the customer screams on email/social media? Finding an answer to this question led to the building of my first npm package.

Continue reading

Share this post

Chrome Lighthouse with as site under study, with fixes

Introduction to Google Chrome Lighthouse

Version being discussed here – Lighthouse 6.2.0

  • Lighthouse is an automation tool to audit the quality of web pages.

  • Lighthouse can help you monitor a bunch of metrics on mobile & desktop-like

    • Performance
    • Accessibility
    • Best practices
    • SEO
    • PWA etc
  • Lighthouse is to be baked into the tooling pipeline so that your app quality is monitored on a regular basis.

  • There are 2 variants of Lighthouse. One is the web version & other is the nodeJS version which we can use to conveniently integrate to the tooling.

Understanding Lighthouse as a system

Purpose - Audit web pages in the tooling stage

Input - The web page

Output - Report in JSON

Configuration - Configurable in terms of what parameters to measure

Extensible - with plugins

Analysing output - can be ingested to program through JSON or human-readable with lighthouse viewer.

Programming language - NodeJS & GUI in the browser

Continue reading

Share this post