Skip to content

Blog

Fix apt packages

Sometimes when installing apt packages, we get an error saying package can't be installed as it depends on some other package which is not available. I tried installing libedataserver which is required for Gnome Task Widget. However, I was shown the following error in my terminal.

Build LineageOS 20 kernel with wireguard module on linux

Install required packages

Bash
1
sudo apt install bc bison build-essential ccache curl flex git git-lfs gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev libelf-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev python3 python-is-python3

Auto sync GIT repos in MAC

Use the following to auto-commit your changes in git repo. The commit will include the file changed. You can control the monitor interval by changing the variable sleeptime in git-commit-repos.sh. All the git operations are logged in /tmp/gitwatch-commit.log.

Export all pdf notes at once

I already have jekyll serving markdown files. So, I thought what if I could also add my skim (a MAC pdf reader) notes to it. After searching and going through skim sourceforge wiki, I collected this script to do this.

How to make effective Flash Cards

This is collection of text on making effective anki cards gathered from various sources. I have been using anki for almost 2 years. It has changed how I think, how I form connections, how I learn and how I remember things.

“Every time you make a mistake carry out a post-mortem and try to figure out the lessons in the experience. Think about what you would need to know to prevent that mistake from occurring again, and turn this insight into new flashcards.”