Blog
Truncate Text In Lektor
In this example, variable post is an instance of Markdown. Snippet was tested with Jinja3 template engine. I use it for generating my blog …
Installing Selenium For Google Chrome (Windows 10)
This tutorial will show you how to install Selenium for Google Chrome (Windows 10), and optionally Python related dependencies. …
Python Generator Basics
This is a illustrative example code, which tries to demonstrate how generators and yield statements are related in python.
print("# …
Adding Arbitrary Attributes To Python Class
You want to create a dummy class that stores arbitrary attributes and you want to access these attributes via . (dot) operator e.g. …
Generating infinite sequence of bytes set to ones
After trying to implement my own “one time pad (OTP)” file encryption. I ran into an issue that I needed large byte object …
Few lessons I learned after using python fabric 1.x
Fabric is a great framework for executing code on remote & local machines. The 1.X had a pretty good documentation, but workflows and …
Grice's Maxims Pythonic Edition
Which is better verbose paragraphs or lean and on point sentences? Why communication with other people can sometimes be so hard sometimes, …
Creating A Production Ready Django App (cont.)
Before reading this, please make sure you are familiar with concepts and ideas covered in the pt.1 of this post. This post will be short and …
Creating A Production Ready Django App
This post will demonstrate a production tested and simplified configuration for Django framework. This is a two part blog post. In the first …
Issuing and Managing Client-Side SSL Certs with Python
Abbreviations# Key A piece of cryptographic information used for encrypting data by a chosen algorithm. Hypertext Transfer Protocol Secure …