Purplecarrot
Home
Containers
Development
Linux
Links icon
GitHub QuickRef
About
  • Practical Tekton

    Sep 12, 2020 · 10 min read · Tekton Pipelines Development
    Practical Tekton

    Introduction This post gives an overview of Tekton based on my initial testing and exploration of the project within a RedHat OpenShift (Kubernetes) cluster (using v4.4 and v4.5) My goal was to explore the new technologies to see if I could simplify the developer experience for our developers and users. A simple task: …

    Read More
  • Verifying TLS certificates in Python

    Dec 3, 2015 · 1 min read · Python Security
    Verifying TLS certificates in Python

    All too often people I see Python code using the requests module to query an API that just bypass TLS verification (i.e it sets verify=False in the requests function calls). On RedHat Linux and derivatives, you can simply set this to verify=/etc/pki/tls/certs/ca-bundle.crt and your Python code will then automatically …

    Read More
  • Generating a RPM changelog using git log

    Nov 19, 2015 · 2 min read · Python Linux
    Generating a RPM changelog using git log

    I use python setuptools bdist_rpm to build RPMs from the code in my git repositories and today I updated my automated build script (a wrapper around python setup.py to run pre-requisite functions) to generate an RPM changelog from the git log of the repository hosting the package and then automatically include this in …

    Read More
  • Recovering lost git commits (or undoing a git reset!)

    Oct 28, 2015 · 2 min read · Git
    Recovering lost git commits (or undoing a git reset!)

    We have recently recruited lots of new staff at the firm where I work and they are all learning git for the first time (and believe it or not, for many, it is their first experience of any VCS). I was surprised today when one of these new staff approached me because he had lost a couple of hours work! The remote HEAD …

    Read More
  • Debugging Flask applications running under Apache mod_wsgi

    Jul 21, 2015 · 1 min read · Python
    Debugging Flask applications running under Apache mod_wsgi

    I have recently been developing a new python web application that uses the Flask framework. Whilst running standalone, it was working fine. Then I went to setup the UAT environment which is running under Apache using mod_wsgi. I've done this many times before without any problems. However, this time I was getting a …

    Read More
  • Writing OpenStack Hooks

    Apr 23, 2015 · 4 min read · OpenStack Python
    Writing OpenStack Hooks

    I've recently been writing OpenStack Nova hooks for integration of newly deployed OpenStack nova instances with our existing infrastructure systems. Though the OpenStack Developer Documentation is very good, there is not that much documentation out there on real world end-user experiences of writing nova hooks. In this …

    Read More
  • Python Setuptools and Building RPMs with Dependencies.

    Apr 7, 2015 · 2 min read · Python OpenStack
    Python Setuptools and Building RPMs with Dependencies.

    If you develop python modules for distribution, you likely use python setuptools. It's very useful and takes lots of the manual operations out of distributing python code and modules. I recently started going one step further and using the bdist_rpm setup.py command option to automatically build rpms for my python code …

    Read More
  • Build a Python Version Agnostic RPM For Your Python Module

    Apr 2, 2015 · 2 min read · Python
    Build a Python Version Agnostic RPM For Your Python Module

    I often use the python setup.py bdist_rpm command on RHEL to build RPMs of the python modules I'm developing. This makes it easy for me to distribute my module via the yum repos internally at the company I work for. At my company, most of our production servers are currently RHEL 6, but we are starting to deploy RHEL …

    Read More
  • Subversion and gnome-keyring-daemon

    Oct 31, 2013 · 2 min read · Subversion
    Subversion and gnome-keyring-daemon

    Subversion's "feature" to store repository passwords in plain text files is a little scary. In my opinion, even a minimal obfuscation routine in the svn client would be better than saving a user's clear text password in text files. I obviously do not want to store my password in clear, so up until now, I've …

    Read More
  • My Subversion Repo Moved!

    Sep 30, 2013 · 1 min read · Development
    My Subversion Repo Moved!

    Well, it didn't strictly move anywhere but my broadband IP address changed after re-DHCP. I used to use no-ip.com, but then I no longer really host anything on my home network, so I figured could save myself 20 bucks as I didn't think I needed it anymore. Then I went to check in some old code to an old svn repo (that's …

    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Featured Posts

  • Getting Along with the OpenShift Machine Config Operator
  • Breaking into your OpenShift Cluster
  • Does Alpine resolve DNS properly?
  • Practical Tekton

Recent Posts

  • Getting Along with the OpenShift Machine Config Operator
  • Breaking into your OpenShift Cluster
  • Does Alpine resolve DNS properly?

Categories

DEVELOPMENT 14 LINUX 14 CONTAINERS 4 MISC 3

Tags

LINUX 17 PYTHON 10 DEVELOPMENT 3 GIT 3 GNOME 3 KUBERNETES 3 ONELINERS 3 OPENSHIFT 3 HARDWARE 2 OPENSTACK 2 SECURITY 2 BASH 1 INDEX 1 ONELINER 1
All Tags
BASH1 DEVELOPMENT3 GIT3 GNOME3 HARDWARE2 INDEX1 KUBERNETES3 LINUX17 ONELINER1 ONELINERS3 OPENSHIFT3 OPENSTACK2 PIPELINES1 PYTHON10 REGEX1 SECURITY2 SUBVERSION1 TEKTON1
[A~Z][0~9]
Purplecarrot

©purplecarrot.co.uk