In a previous post, I outlined some handy hacks for converting Jupyter notebooks to WordPress.com oriented HTML. This addendum describes the use of Jupyter templates and CSS edits to fine-tune exported HTML. Jupyter exports notebooks in a variety of formats. I regularly export notebooks as Markdown, HTML, and $latex \LaTeX$. When blogging I mainly use … Continue reading Tweaking Jupyter export HTML with Templates
Category: Jupyter
Better Blogging with Jupyter Notebooks on WordPress.com
When I discovered Jupyter notebooks a few years ago I instantly recognized their potential as a technical blogging tool. Jupyter notebooks support mixtures of text, mathematics, program code, and graphics in a completely interactive environment. It's easy to convert notebook JSON .ipynb files to markdown, $latex \LaTeX$, and HTML so it's not a big leap … Continue reading Better Blogging with Jupyter Notebooks on WordPress.com
Using jodliterate
The JODSOURCE addon, (a part of the JOD system), contains a handy literate programming tool that enables the generation of beautiful J source code documents. The Bible, Koran, and Bhagavad Gita of Literate Programming is Donald Knuth's masterful tome of the same name. Knuth applied Literate Programming to his $latex \TeX$ systems and produced what … Continue reading Using jodliterate
More J Pandoc Syntax HighLighting
Syntax highlighting is essential for blogging program code. Many blog hosts recognize this and provide tools for highlighting programming languages. WordPress.com (this host) has a nifty highlighting tool that handles dozens of mainstream programming languages. Unfortunately, one of my favorite programming languages, J, (yes it’s a single letter name), is way out of the mainstream … Continue reading More J Pandoc Syntax HighLighting
Extracting SQL code from SSIS dtsx packages with Python lxml
Click here for a PDF version of this post. Lately, I've been refactoring a sprawling SSIS (SQL Server Integration Services) package that ineffectually wrestles with large XML files. In this programmer's opinion using SSIS for heavy-duty XML parsing is geeky self-abuse so I've opted to replace an eye-ball straining1 SSIS package with half a dozen, … Continue reading Extracting SQL code from SSIS dtsx packages with Python lxml
Setting SmugMug Print Size Keywords with Jupyter and Python
For the last few weeks, my normal hobbies have been preempted by my obsessive refactoring of an old SmugMug keyword setting program. Many years ago I wrote a small application that helped me maintain meaningful SmugMug keywords. I used this application for years until inevitable software changes broke it. Replacing it with something better has … Continue reading Setting SmugMug Print Size Keywords with Jupyter and Python
Downloading SmugMug Captions with Python and Jupyter
This blog post started out as an experimental rendering of a Jupyter notebook. I wanted to see how difficult it would be to convert a notebook to a WordPress.com blog post. Even though Jupyter exports notebooks in HTML and Markdown they do not display well "out of the box." No doubt one could craft CSS … Continue reading Downloading SmugMug Captions with Python and Jupyter