Skip to content

Instantly share code, notes, and snippets.

View dsaad68's full-sized avatar
💭
I play with 🦙

Daniel Saad dsaad68

💭
I play with 🦙
View GitHub Profile
@dsaad68
dsaad68 / none_remover.py
Created September 3, 2023 18:24
Nested dictionary None Rremover
def dict_none_remover(d:dict) -> dict:
"""
Remove keys with None values from a multi-level nested dictionary.
Parameters
----------
d : dict
The input dictionary from which keys with None values should be removed.
Returns
@dsaad68
dsaad68 / nushell+oh-my-posh.md
Last active November 26, 2025 16:20
Nushell + Oh My Posh

1. Install Nu Shell

# Windows
winget install nushell

2. Install Oh My Posh

winget install JanDeDobbeleer.OhMyPosh -s winget
@dsaad68
dsaad68 / How-to-install-Diesel-CLI.md
Last active July 27, 2023 13:14
How to install Diesel CLI in Windows

1. Install Microsoft Visual C++ Redistributable

From here.

or

choco install vcredist-all
@dsaad68
dsaad68 / conda_4.6_powershell.md
Last active July 27, 2023 13:15 — forked from martinsotir/conda_4.6_powershell.md
Enable conda in powershell

Enabling conda in Windows Powershell

First, in an administrator command prompt, enable unrestricted Powershell script execution (see About Execution Policies):

set-executionpolicy unrestricted

Then makes sure that the conda Script directory in is your Path.