WaveDrom is a JavaScript library that renders digital timing diagrams from a simple JSON-based format called WaveJSON. It's widely used …
read moreOther articles
Book: Mastering the command line
Mastering the command line like a hacker by Xiaodong Xu
The book focuses on bash and zsh, which is great …
read moreBetter Python Iterators
Pyhton can convert most (all) lists/collections into iterator objects, this is done by calling
iter()ieread morenum_list = [1, 2 …Packaging Python Projects
How to package a pythin script or project for distribution. Offical Docs are [here][python_package]. Packaging for pip requires use …
read morePython Parsing XML
Parsing XML with Python using the standard library
read morexml.etree.ElementTree. It converts XML text into a tree ofElement …Python Web Parsing
For parsing web pages with Python, BeautifulSoup is a helpful library. To install:
pip install beautifulsoup4You also need a …
read morePelican New Post script
In the aim of keeping the navigation of the Blog posts clean, I have limited my self to a few …
read morePython Base Types
Modify Pelican theme
First figure out which theme you are using. List installed themes via:
% pelican-themes -l simple notmyideapelicanconf.py does not …
read morePelican Site add Tags and Categories list
I think it improves website usability when they are navigatable via the URL.
For example when viewing Posts under the …
read morePython Regular Expressions
Python Regular Expressions Quick Guide:
read more^ Matches the beginning of a line $ Matches the end of the line . Matches any character …Pyhton_virtual_env
Creating/Setup a pyhton virtual enviroment called 'venv'
python3 -m venv venvLoad the virtual env called venv
read moresource venv …Convolution in Python
Convolution in Python, for merging filter responses, creating pascals triangle ...
read moreimport numpy as np a= np.array([1,1]) b …Python merge PDFs
Using python script to merge pdfs together.
Install package
pip install pypdfScript:
read morefrom pypdf import PdfWriter pdfs = ['file1.pdf …Pythonista pip install pelican
On the journey towards publish static site generator blog posts from iPadOS, my next step after installing stash on pythonista …
read morePythonista using stash for pip
Installing stash on pythonista
read morePython read a CSV file
Python example for reading data from a csv file.
read moreimport csv with open(data.csv', newline='') as csvfile: spamreader = csv …Python Sinewave
Create and plot a sinewave in python
read more"Terminal Colours"
I have decided to clean up my vim colorschemes. I have been using ir_black for sometime but it does not …
read more"iTunes play FLAC on OS X"
Fluke for mac can be used to get iTunes playing FLAC audio files. However it is currently broken for Snow …
read more