I’m a goldfish when it comes to reusing code snippets and utility functions. This notebook serves as my knowledge repository, where I document and share the techniques and command lines I frequently use but often forget, saving me from endless googling.

I’m a goldfish when it comes to reusing code snippets and utility functions. This notebook serves as my knowledge repository, where I document and share the techniques and command lines I frequently use but often forget, saving me from endless googling.

Last notes

verifying file integrity using md5sum

less than 1 minute read

Ensuring file integrity is crucial, especially when transferring or downloading files. One way to verify this in Linux is by using the md5sum -c command, whi...

color palette from wesanderson R package

less than 1 minute read

The wesanderson R package offers a variety of beautiful color palettes inspired by Wes Anderson’s films, which can bring a unique and appealing aesthetic to ...

add horizontal lines in HTML with <hr>

less than 1 minute read

Horizontal lines help divide content and create sections, improving readability. HTML provides an easy way to add horizontal lines using the <hr> (hori...

how to use pivot_wider() in R?

1 minute read

In data analysis, it’s common to encounter datasets that need reshaping to make them suitable for analysis or visualization. The tidyr package in R provides ...

how to use pivot_longer() in R?

1 minute read

In data analysis, it’s common to encounter datasets that need reshaping to make them suitable for analysis or visualization. The tidyr package in R provides ...

customizing heatmap with complexHeatmap

1 minute read

In this post, we will explore two features to customize heatmaps: customize the border of the heatmap cell display text inside each cell

get color palette with viridisLite

1 minute read

Choosing the right color palette is essential for effective and accessible data visualizations. The viridisLite package in R offers several color palettes: v...

useful slurm commands

1 minute read

SLURM (Simple Linux Utility for Resource Management) is a powerful and widely used job scheduler for high-performance computing (HPC) systems. It helps manag...

stunning boxplots with ggplot2

1 minute read

Creating visually appealing boxplots in R can be easily achieved using the ggplot2 package. Here, we demonstrate how to use ggplot2 along with viridisLite an...

removing NA values with na.omit in R

less than 1 minute read

When working with data in R, you may encounter missing values (NAs) that need to be removed to perform certain analyses. The na.omit function is a convenient...

essential git commands and my favorite aliases

1 minute read

I rely heavily on Git for version control in my projects. Over time, I’ve found certain Git commands to be indispensable and have created aliases to streamli...

superscript and subscript in markdown

less than 1 minute read

Superscript To create superscript text in Markdown, you can use the <sup> tag: 1<sup>er</sup> This will render as: 1er

create a symbolic link

less than 1 minute read

Symbolic links (symlinks) are pointers to files or directories, helping you manage files efficiently.

add an interactive pause in your R script

less than 1 minute read

When writing R scripts, there are times when you might want to pause the execution to allow the user to read output or perform an intermediate task before co...

untrack specific files in Git

1 minute read

When working on a project with Git, there are times when you may want to stop tracking certain files that are already being tracked. This might be necessary ...

how to comment in a css file

less than 1 minute read

Purpose of comments Comments in a CSS file are used to provide explanations or annotations within the code. They are helpful for: Describing the purpose o...

remove .DS_Store files

less than 1 minute read

If you’re a macOS user, you might be familiar with the hidden .DS_Store files that macOS creates in every directory to store custom attributes of a folder su...