- Install Addon Provider for Google Calendar
- In the Calendar Tab click on
New Calendar
Google Calendar
and add your google account.
- In the Calendar Tab click on
New Calendar
On the network
- Enter your username and the caldav address
New Calendar
Google Calendar
and add your google account.New Calendar
On the network
import pandas as pd | |
import h5py | |
import numpy as np | |
import os | |
# h5 example file | |
h5_file_path = 'test_file.h5' | |
def h5_to_excel_or_csv(h5_file, output_file=None, output_format='csv'): |
import re | |
import shutil | |
import os | |
import glob | |
from pybtex.database.input import bibtex | |
AUXFILE = 'PQSE.aux' | |
BIBFILE = 'test.bib' | |
DEST_FOLDER = 'pdfs' |
Using byobu and trying to open a bash in a specific folder using "Open in Terminal" (Nautilus) will not result in the desired behaviour. Instead, byobu is opened in the current session, not at the desired location.
open_byobu_here.sh
(see below)chmod +x open_byobu_here.sh
mkdir -p ~/.local/share/nautilus/scripts/
ln -s ~/open_byobu_here.sh ~/.local/share/nautilus/scripts/Open\ in\ Byobu\ Here
One of your papers was reviewed and you were asked to mark changes in a different color? No problem! Use this method to easily mark everything you changed in your LaTeX document since your submitted the original paper. Also applicable to non-science use cases.
git diff -- path/to/file.tex > changes.diff
#!/bin/bash | |
echo "Enter the new email address:" | |
read CORRECT_EMAIL | |
OLD_EMAILS="" | |
first=true | |
while true; do | |
echo "Enter an old email address to replace (or press ENTER to continue):" | |
read OLD_EMAIL |
Teams on Linux is currently only available as Progressive Web App (PWA). However, PWA are only supported in chromium-based browsers. For a multitude of reasons, you might not want to use chromium-based browsers as your default browser. This script opens links to teams in the PWA while opening all other links in firefox.
#!/bin/bash | |
# Function to check if a command is available | |
check_command() { | |
if ! command -v "$1" &>/dev/null; then | |
echo "Command '$1' is required but not found. Please make sure it is installed and accessible in your PATH." | |
exit 1 | |
fi | |
} |
libreoffice-java-common
sudo apt-get install libreoffice-java-common
Add
.oxt
extension file{ | |
"js/ts.implicitProjectConfig.experimentalDecorators": true, | |
"latex-workshop.view.pdf.viewer": "tab", | |
"latex-workshop.latex.tools": [ | |
{ | |
"name": "latexmk", | |
"command": "latexmk", | |
"args": [ | |
"-synctex=1", | |
"-interaction=nonstopmode", |