Stav ShamirFix history: Edit the last bash commandLearn how to easily and efficiently edit your previous command in bashJan 7, 2020Jan 7, 2020
Stav ShamirLet’s Create A CLI With Python — Part 2This part is mostly about how to use the requests library to wrap an API with python functions.Apr 11, 20191Apr 11, 20191
Stav ShamirLet’s Create A CLI With Python — Part 1In this post we will start building together a CLI program with python — by the end of the series you will be able to build an easy to use…Apr 3, 20191Apr 3, 20191
Stav ShamirThree practices that will make you a more efficient programmerTL;DR Write a developer journal, automate repeating tasks with scripts and share your journal and scripts with your team.Apr 1, 20191Apr 1, 20191
Stav ShamirOverloading constructors in PythonTL;DR “Overloading” (or rather, mimicking overloading) __init__ is not a good idea. Use factory methods with the classmethod decorator.May 26, 20181May 26, 20181
Stav ShamirThe other (great) benefit of Python type annotationsThis story was originally published in my blog.May 7, 20185May 7, 20185
Stav ShamirMaking your C library callable from Python by wrapping it with CythonThis story can also be read in my blog.May 3, 20187May 3, 20187
Stav ShamirDockerizing a Flask-MySQL app with docker-composeAlso published in my blog.Apr 23, 20186Apr 23, 20186