Skip to content

Instantly share code, notes, and snippets.

@cb160
cb160 / update_k9s.py
Created December 20, 2025 14:08
Update script for k9s on Ubuntu
#!/usr/bin/env python3
import os
import sys
import json
import shutil
import tarfile
import platform
import urllib.request
import tempfile
import subprocess
@cb160
cb160 / kolibri_hotspot_setup.sh
Created October 16, 2025 20:41
Script to create a hotspot and serve kolibri over wifi
#!/bin/bash
# ==============================================================================
# Kolibri Wi-Fi Hotspot Setup Script for Raspberry Pi
# ==============================================================================
# This script configures a Raspberry Pi to act as a Wi-Fi access point
# and serve Kolibri on the static IP 10.10.10.10.
# ==============================================================================
# --- Color Definitions for Output ---
@cb160
cb160 / Querying JSON Columns in SQLite.ipynb
Created February 17, 2021 15:25
Querying JSON columns in SQLite
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cb160
cb160 / untitled1.ipynb
Last active May 27, 2020 15:56
IPYWidgets to crate a dataframe
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cb160
cb160 / README.md
Created April 8, 2020 08:16
How to enable Jupyter Kernels for all conda environments

Setup the tool so conda environments are scanned

conda install -n base nb_conda_kernels

Setup a particular conda environment

conda install ipykernel

@cb160
cb160 / XKCD.ipynb
Last active March 26, 2020 16:50
XKCD
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cb160
cb160 / covid-19-uk.ipynb
Last active March 26, 2020 09:32
Covid 19 - UK
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from IPython.core.display import display, HTML
display(HTML('<h1>Hello, world!</h1>'))
@cb160
cb160 / setup.sh
Created December 10, 2019 13:33
Automatic Jupyter Kernels with Anaconda
# Install the conda kernels module in the base environment
conda install -n base nb_conda_kernels
# Install the IPYKernel in this environment
conda install ipykernel
@cb160
cb160 / MG2018-001.md
Last active February 7, 2018 15:57
MonkiGras 2018

Aneel Lakhani

Disintermediate, empower, sustain

  • Interests
    • Put power. Into hands of others
  • How we build things
  • Build on other stuff