Category Archives: Computers

M1 Mac Mini Review

Bought a M1 Mac mini after reading the rave reviews on YouTube and elsewhere. E.g., over here an enthusiastic person writes: My 2021 MBA M1, 8GB, 256GB just works waaaay faster than my 2018 MacMini i7 (6-core 3.2GHz), 32GB, 500GB … Continue reading

Posted in Computers | Tagged , | Leave a comment

How to scale an image – a comparison of different algorithms

Scaling (or resizing) an image (making it bigger or smaller) is so common these days that we take it for granted but have you ever wondered how it is done? An image is made up of M x N pixels. … Continue reading

Posted in Computers | Tagged | Leave a comment

How to fix tiny display in Mac

TL;DR: In my case it happened because even though I had a 28″ display (Philips 28 E line), Mac OS (Big Sur specifically on my Macbook Pro) was detecting it as a 61″ display and so naturally everything was 2x … Continue reading

Posted in Computers | Tagged | Leave a comment

ffmpeg – convert mov files to mp4

Ffmpeg -I mov-file -b <bit-rate> mp4-file Calculate bit rate as desired file size in bits / duration of video in seconds e.g., for 100MB file and 20 min video, bit rate should be 100e6*8/(20*60) Us -b:v to set bitrate for video … Continue reading

Posted in Computers | Tagged | Leave a comment

A comparison of Android vs. IPhone

Android iphone comes with 3.5mm headphone jack no headphone jack charger included no charger included can re-use existing cables have to buy all sorts of new cables, charger and accessories (bluetooth headset or earbuds) can extend storage with external SD … Continue reading

Posted in Computers | Leave a comment

Modifying owner of a file on Mac

The chown command allows one to change the owner of a file. If you can’t run the command due to insufficient privileges, another way to change the owner is through Finder – this also requires elevated privileges. Here are the … Continue reading

Posted in Computers | Tagged , , | Leave a comment

AsciiDoctor: Inspecting Environment settings of Ruby

Within the docker-asciidoctor container you can see Ruby settings like so

Posted in Computers, programming, Software | Tagged | Leave a comment

VS Code Setup

Getting Bash IDE to work in VS Code: Installing bash-language-server in non global mode: https://github.com/mads-hartmann/bash-language-server/issues/97 To Install/Update Go Tools View -> Command Palette (Cmd+Shift+P) To open a file quickly, Cmd+P By default Cmd+P will open file in the current TAB … Continue reading

Posted in Computers, Software | Tagged , | Leave a comment

Installing Bash4

A new macbook pro comes installed with bash version 3. I needed to install bash 4 to be able to use the bash debug vs code extension. To do this run brew install bash once its done you will need … Continue reading

Posted in Computers, programming, Software | Tagged | Leave a comment

Steps to setup NES on Rasberry Pi

I have this model of Rasberry Pi Raspberry Pi 2 Model B (1GB) Basic Starter Kit Includes Raspberry Pi 2 Model B– To setup NES you need 7-zip and Win32DiskImager Download Retropie v4.1 Extract using 7-zip. This step should dump … Continue reading

Posted in Computers | Leave a comment