Moving a website from Wordpress to Pelican

Codeholics has been using Wordpress for its site since its launch back somewhere around 2013. It was great for its time but over the years we have had a number of issues. Plainly put the entire site management and work flow needed to be simplified.

Intro: Pelican

Pelican is a …

more ...

Python: working with X.509

Needed Packages: pyopenssl cryptography

Generating a RSA Private Key

import datetime
from cryptography import x509
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.asymmetric import rsa
from cryptography.x509.oid import NameOID

# Generate RSA Key Pair
private_key = rsa.generate_private_key(
    public_exponent=65537,
    key_size …
more ...

How to Install libcouchbase on OpenSuse to use the Couchbase Python Module

OS: OpenSuse Tumbleweed

Here are the steps to get libcouchbase installed on OpenSuse:

Get dependences:

sudo zypper in libev-devel cmake openssl-devel

Get source:

git clone https://github.com/couchbase/libcouchbase.git

Run config and build:

cd libcouchbase
mkdir build
../cmake/configure
make

Run tests:

cmake

Install:

sudo make install

Load …

more ...


Defcon1

If you have a backup and you never test that backup you do not have a backup. - Unknown

I do not remember where I read this quote but it always resonated with me. Especially sense disaster recovery was one of my major responsibilities for a globally used web application. Much …

more ...

Codeholics is currently undergoing redevelopment

Devel - We had to leave our old hosting provider "Webhostingpad" due to their system stability and service quality. Our new host has better hardware, bandwidth, security, and a stronger commitment to taking care of their customers.

We initially went offline due to a technical issue on webhostingpads side after they …

more ...

The Poor Mans DynamicDNS

A few years ago I had an issue where I needed a DynamicDNS service or some sort. I didnt want to pay for it and got the thought in my head to just write my own script that suited my need. The things it needed to do was check if …

more ...

Book Review: The Phoenix Project

Note I:
So this is finally the beginning of this review, and in the interest of full disclosure Ive been sitting on this review for a long time, longer than I really should have, but writing a review of this book actually seems a little daunting.

Note II:
As this …

more ...

Understanding Linux Basic Disk Partition Setup

Recently I was asked the question what are the needed Linux partitions and what are they for? With that I thought it would be a good post because this is something that is very overlooked since distro installs have become so simple most people just go with the defaults, but …

more ...