git done: delete current branch checkout to main.
git config --global alias.done '!f() { git checkout main && git branch -D @{-1}; }; f'
# Delete branches starting with branchName sko/| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>X App</title> | |
| <meta name="viewport" content="width=device-width, height=device-height, viewport-fit=cover, initial-scale=1" /> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> | |
| <meta name="apple-mobile-web-app-capable" content="yes" /> | |
| <meta name="mobile-web-app-capable" content="yes" /> | |
| <link rel="shortcut icon" href="icons/32x32.png" type="image/x-icon" /> |
Pyodide can install any Python package with a pure Python wheel from the Python Package Index (PyPI)
JupyterLite ships by default with Pyolite, a Python kernel backed by Pyodide. Pyolite runs in a Web Worker and thus doesn’t block the main UI thread
Many visualizations libraries such as Altair and Plotly
contents manager that stores notebooks and files in the browser local storage with another plugin that would save them on AWS S3 instead.
the Basthon kernel runs in the main UI thread so users can manipulate the main window DOM from within Python directly, while Pyolite runs in a Web Worker as a background thread.
| #!/bin/bash | |
| # Function to display usage information | |
| usage() { | |
| echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]" | |
| exit 1 | |
| } | |
| # Check if at least one argument (input file) is provided | |
| if [ $# -lt 1 ]; then |