First follow installation instructions given at https://docs.docker.com/engine/install/ubuntu/ . Then make sure docker is running properly: Ensure it created the image by: Now, install docker MySQL 5.7 image and create a volume for storing data. Make a MySQL installation with command: Replace the password with your one. To show running instances: Login to docker instance terminal:… Continue reading Install MySQL 5.7 on Ubuntu 20.04
Today I was trying to install frappe-bench package within a newly created python 3 virtual environment in my Ubuntu 20.04. It gave this error in terminal. However, the package appeared to be installed even with above error. Then I got this SO thread in my search https://stackoverflow.com/questions/53204916/what-is-the-meaning-of-failed-building-wheel-for-x-in-pip-install. It has this answer from a pip maintainer… Continue reading Building Wheel for a Python Package Failed
I regularly use Python Markdown when working with Jupyter notebooks. It is actually straightforward to set up in Jupyter, but I always forget the exact steps to be followed whenever I set up Jupyter notebook especially after installing a new OS. So, there are those steps, I note here to help myself in future. First… Continue reading Use Python Markdown Extension in Jupyter Notebooks
This command helped me to get MP4 file from MKV file: This command will help to extract subtitle from MKV file. The above command will extract first subtitle. MKV file contains more than one subtitle track and if you want to extract one of them. Then you can replace “0:s:0” with “0:s:1” to extract second… Continue reading Get MP4 from MKV and Extract Subtitle(s)
My daughter got a toy train which uses AA sized battery cells to operate. It has space to put two AA cells in parallel, so it requires just 1.5 V to work. To avoid buying AA cells, I tried to make it rechargeable with a 18650 lithium-ion cell with protection board having USB port. But… Continue reading 3.7 to 1.5 V Buck Converter with MC34063AP
I see pdftk get first in list as most recommended way when searching for editing PDF metadata in Ubuntu. But pdftk is no longer present in Ubuntu 18.04 repositories. Found a different tool named PDFMtEd, which is actually a GUI front-end for ExifTool.
First convert image files to PDF with command: Then resize PDF to standard size with command: Read more about pdfjam at here.
Attached document demonstrates calculations involved for a SEPIC converter. Calculations are based on “AN-1484 Designing A SEPIC Converter” by Dongbing Zhang from Texas Instruments.
I was looking for a simple per-amplifier circuit. Found one at http://www.minidisc.org/mic_preamp/Simple%20Stereo%20Electret%20Mic%20Preamp.htm. I made minor modifications and here is my version.
Lighting LED with AC main supply were not that easy. Mainly it required some sort of SMPS with current controlling circuitry. But it is changing. Now there are integrated circuits available specially designed to help to light LEDs with few extra components. One of such IC is CYT1000B. I like CYT1000B more compared similar ICs… Continue reading LED Light with CYT1000B