Skip to content

Instantly share code, notes, and snippets.

View fomightez's full-sized avatar

Wayne's Bioinformatics Code Portal fomightez

View GitHub Profile
@fomightez
fomightez / mathjax_label_test.ipynb
Created November 26, 2024 16:53
MathJax / Latex label test for reply to SO https://stackoverflow.com/q/79226400/8508004
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / README.md
Last active November 24, 2024 02:38
Demostration Collecting a cell from a previously run Jupyter Notebook and making PDF with that output
@fomightez
fomightez / colorbar_updating_with_interact.ipynb
Created November 7, 2024 16:36
Colorbar updating via ipywidgets interactive()
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / gist_test.py
Last active October 16, 2024 18:27
Test `uv run` with gist Python script with
# Demonstrating "you can now uv run scripts (with inline deps!) from stdin and URL" https://x.com/trevmanz/status/1846301009053970542 and trying
# with the gist use suggestion in https://x.com/trevmanz/status/1846301011809558877
# How to: go https://github.com/fomightez/3Dscatter_plot_mod_playground-binder and launch a session. Install `uv` via `pip install uv`, then run `uv run https://gist.githubusercontent.com/fomightez/3d90c4e5594ddcdf6dd023a80959c107/raw/8b940f9fe9b5a2c0ccc20635cbbd0cce7ef01b53/gist_test.py`
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "rich>=13.9.2",
# ]
# ///
@fomightez
fomightez / SO_PyVista_Oct_15.ipynb
Created October 15, 2024 19:10
PyVista screenshot stuff for SO 79089061
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / Jupyter_Discourse_forum_29243_test.ipynb
Last active October 15, 2024 15:31
Pandas example for Jupyter Discourse exchange
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / SINGLE_PAGEsosept19_2024.ipynb
Last active September 19, 2024 18:14
SO to save Plotly Express plots using a for loop and composite a PDF - two choices: single page or multi-page are covered
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / Automatically_generating_unit_tests_in_Snakemake_Example_Run.ipynb
Last active September 17, 2024 20:35
Testing Snakemake making unit tests automatically
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / Tables_and_Styling_and_HTML_and_Pandas.ipynb
Last active September 17, 2024 17:17
Tables and Styling and HTML & Pandas
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fomightez
fomightez / Data-dependent_conditional_execution_in_Snakemake_from_documentation.ipynb
Last active September 14, 2024 04:53
Data-dependent conditional execution in Snakemake
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.