How to migrate GitHub issues to Jira

A tutorial shows you how to write a script to migrate GitHub issues to Jira.

Display matplotlib image on HTML page using Django

A lot of times we use matplotlib to plot images and we would like to display them on a HTML page simply for rendering as PDF for download or just for display.

Fortunately this is possible for django backend, here is an example for plotting a horizontal barchart in HTML …

How to fix Manjaro you are unable to boot, you need to load kernel first

I have a due boot system and one day after I updated my Manjaro system, I got this error:

file ‘/boot/vmlinuz-5.7-x86_64’ not found

you need to load the kernel first.

After some research, here I found the solution how to fix it:

  • Make sure internet is connected
  • sudo …

How to setup Github Blog via Pelican

There are many ways to setup a Github blog, but since I love Python I think it makes sense to use Pelican, which is a Static Site Generator, Powered by Python.

Set up environment

  1. Create a blog directory for all blog content and styles: mkdir <blogname>
  2. Go into the blog …

Updating an old site to Python 3.*, Django 2.*, Wagtail 2.*

0. Useful Links

Pipenv Tutorial - the official package control for python

Why use Pipenv:

  • Pipenv is essentially a combination of pip and virtualenv (i.e. makes virtual environment), but with better version control
  • It solves the version conflict for packages and sub-dependencies
  • It could automatically install the latest package/dependency that meet all the requirements
  • It is the new STANDARD for …

Work with timezone effectively

A tutorial shows you how to work with timezone in python.

Setup Virtualenv for Any Project

  • Virtualenv is a very handy tool for creating separate virtual environments for python projects.
  • It is essential and probably mandatory in many cases to use Virtualenv or Virtualenv-like tools (i.e. Anaconda, Pipenv) to run a python project.
  • In this tutorial, I'll show you how to create a virtualenv for …

How to create Sublime Text Project

  1. Create a project folder to store all the sublime text project file
    • Sublime Text Project file is a build file that must be saved somewhere on the disk. So a good way of doing this is to save the file into a folder something similar to Sublimetext Project
  2. Open up …

Install pdftk on unbuntu 18.04

PDFTK is a very handy package that handles PDFs. It could open and write to existing PDFs, and a lot of other great things. However, it is missing from the Ubuntu 18 and is very tricky to install on Ubuntu 18 (but works nice and smoothly on Ubuntu 16). This …