Skip to content

Instantly share code, notes, and snippets.

View kcwiakala's full-sized avatar

Konrad Cwiakala kcwiakala

  • Zurich
View GitHub Profile
@kcwiakala
kcwiakala / cop
Created September 15, 2025 14:14
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="24.937931"
id="svg34"
version="1.1"
fill="currentColor"
viewBox="0 0 24.937931 78.000002"
height="20.26207"
sodipodi:docname="GitHub_Copilot_logo.svg"
inkscape:version="1.4 (e7c3feb1, 2024-10-09)"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="140.65468mm"
height="149.70456mm"
viewBox="0 0 140.65468 149.70456"
version="1.1"
id="svg40723"
inkscape:version="1.1.1 (c3084ef, 2021-09-22)"
@kcwiakala
kcwiakala / runner.py
Created September 10, 2022 05:43
Run notebook
from IPython import get_ipython
from IPython.core.interactiveshell import InteractiveShell
from nbformat import read
def run_notebook(nb_path):
print(f"Importing Jupyter notebook from {nb_path}")
shell = InteractiveShell.instance()
@kcwiakala
kcwiakala / q
Created October 24, 2019 19:54
kdb
/ Format truncating trailing zeros
fmt:{`$((count x)-(reverse x<>"0")?1b)#x:ltrim .Q.fmt[15;8;x]}