Skip to content

Instantly share code, notes, and snippets.

View daenuprobst's full-sized avatar

Daniel Probst daenuprobst

View GitHub Profile
@daenuprobst
daenuprobst / powershell_data.md
Created December 7, 2021 09:34
Useful powershell commands when working with data.

Posix head utility equivalent

gc file -Head 10
Invoke-Expression (&starship init powershell)
# Install latest version of PSReadLine in case of errors:
# Install-Module PSReadLine -AllowPrerelease -Force
Import-Module PSReadLine
Set-PSReadLineOption -PredictionSource History
Set-PSReadLineOption -PredictionViewStyle InlineView
Set-PSReadLineOption -EditMode Windows
# Install scoop package manager:
@daenuprobst
daenuprobst / citylights.json
Created January 31, 2023 11:21
A city lights theme for windows terminal
{
"name": "City Lights",
"background": "#1D252C",
"black": "#41505E",
"blue": "#539AFC",
"brightBlack": "#55687A",
"brightBlue": "#569DFF",
"brightCyan": "#7BF7FF",
"brightGreen": "#A7FFBC",
"brightPurple": "#FF3F8E",
import pandas as pd
import tmap as tm
from faerun import Faerun
from mhfp.encoder import MHFPEncoder
from rdkit.Chem import AllChem
from tqdm import tqdm
# Setup
# - conda create -n tmap-env -c tmap tmap
# - conda activate tmap-env