Skip to content

Instantly share code, notes, and snippets.

View BielStela's full-sized avatar
🕳️
!

Biel Stela BielStela

🕳️
!
View GitHub Profile
@kralo
kralo / ubuntu-24.04-disable-snap-install-firefox.sh
Last active January 25, 2025 15:06
completely disable/uninstall snap on ubuntu 24.04 (ubuntu noble numbat) and install firefox from .deb only
#!/bin/bash
# completely disable/uninstall snap on ubuntu 24.04 (ubuntu noble numbat) and install firefox from .deb only
sudo snap remove --purge firefox
sudo snap remove --purge snap-store
sudo snap remove --purge gnome-42-2204
sudo snap remove --purge gtk-common-themes
sudo snap remove --purge snapd-desktop-integration
sudo snap remove --purge bare
sudo snap remove --purge firmware-updater
@johnhw
johnhw / umap_sparse.py
Last active February 26, 2025 10:50
1 million prime UMAP layout
### JHW 2018
import numpy as np
import umap
# This code from the excellent module at:
# https://stackoverflow.com/questions/4643647/fast-prime-factorization-module
import random
@daleroberts
daleroberts / kde.png
Last active August 20, 2024 13:38
Two-dimensional kernel density estimate: comparing scikit-learn and scipy
kde.png
@phobson
phobson / ShiftedColorMap.ipynb
Last active May 26, 2022 03:13
One way to shift (recenter) a colormap in matplotlib
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.