Categories

## How to find bond lengths from .cif files

I am confused about how to calculate the bond lengths within a given structure given its .cif file. I have highlighted the bond of interest in the image below. The atom coordinates are shown in the dialog box at the bottom of the screen. I used the formula for calculation of distance between two points […]

Categories

## Why is H in OH group is more shielded than in H in CH2 group (ethanol NMR spectroscopy)?

I am confused with this $\mathrm{^1H}$–$\mathrm{NMR}$ spectroscopy result: Shouldn’t $\ce{H}$ in $\ce{OH}$ group the singlet be more towards the left of the $\mathrm{NMR}$ spectrum? It is near the highly electronegative atom $\ce{O}$ rather than the two $\ce{H}$ in $\ce{CH2}$ group they have a weak eletronegative atom $\ce{C}$ so it shouldn’t be that desheilded.

Categories

## Why inverted color changes to italic font in terminal

I ssh/mosh into two servers with the same settings (to my best knowledge). However, when the output is in inverted color (background color <=> front color) on server A, it’s shown as italic font on B. This happens to all built in command. For example, cal The current date shows in inverted color, but in […]

Categories

Categories

## gnome desktop problem in kali linux (for one user) but okay for the rest of users

I recently installed GNOME-DESKTOP on Kali Linux I don’t know why it work so well with the root user and any other user but when I login with my user and choose gnome session , have the following problem Oh no! Something has gone wrong. A problem has occurred and the system can’t recover. Please […]

Categories

## For each line in file A replace all matching lines in file B with a pattern

fileA contains ~100k patterns fileB has ~100M lines Programs There are only two programs: replace a pattern with a single dot replace a pattern with dots of the same length Algorithm for each lineB in fileB do for each lineA in fileA do if lineA matches with lineB; then replace the match in lineB with […]

Categories

## Deleted system reserved partition, EFI partition, and can’t boot Ubuntu now

I had dual OS running on my system (the default was Windows 10, then I installed Ubuntu alongside Windows). With the intention of deleting Windows and keeping only Ubuntu, I logged in to my Ubuntu (chose Ubuntu from GRUB), used Gparted, and deleted ALL the partitions, except the following:- Partition containing linux installation Partition for […]