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 ...

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 ...


Google Chrome Development Tools for Web Apps

Google Chrome Development Tools for Web Apps

I have been doing some web app coding recently and thought I would share some of the helpful development tools that are available in Google Chrome. Especially when coding for multiple devices. I will skip over the basic things that have been in …

more ...

Linux Backup Restore with tar (part 1 of 2)

OS: Linux
Skill Level: Intermediate
Prerequisites: Linux CLI and Bash Scripting
Language: Bash Shell Scripting

Intro:
There are a lot of great open source and commercial backup solutions and what you will find if you look under the hood of these software packages is that most of them are just …

more ...