Docker for python pelican blog with nginx

Posted on 29 May, 2019 in Products

TL;DR

Dockerised pelican blog with deployment of static pages to nginx.

dockerfile:

FROM python:3.7-alpine as base

# container setup.
FROM base as builder

RUN mkdir /install
WORKDIR /install
COPY . ./

# Install language pack.
RUN apk --no-cache add ca-certificates wget && \
    wget -q -O /etc/apk/keys/sgerrand.rsa.pub https …

Continue reading

Replace webapp2 usage for self.response.write in python script

Posted on 07 May, 2016 in Products

I recently began to learn python and started by creating a simple app on google app engine, but then I decided to deploy it somewhere else.

(Although I know I can install webapp2 in a non-appengine python environment I would rather not because I prefer vanilla environments whenever possible.)

It's …


Continue reading

Pelican on GitLab Pages!

Posted on 25 March, 2016 in Products

This is a pelican blog hosted on GitLab Pages! The source code of this site is at https://gitlab.com/pages/pelican. Learn about GitLab Pages at https://pages.gitlab.io.


.NET WCF REST: Service ‘MyService’ implements multiple ServiceContract types, and no endpoints are defined in the configuration file.

Posted on 01 August, 2012 in Products

If you get the following .NET exception (I did using multiple REST services in one project):

Service ‘MyService’ implements multiple ServiceContract types, and no endpoints are defined in the configuration file. WebServiceHost can set up default endpoints, but only if the service implements only a single ServiceContract. Either change the …


Continue reading

TF249064 – Sharepoint – TFS 2010 -> Purgatory

Posted on 05 April, 2012 in Products

Over the past couple of weeks I have been looking to add SharePoint integration to an inherited TFS 2010 install. I thought it would be easy enough as WSS was installed & working, but I was wrong, very wrong.

I ended up on quite an odyssey attempting to fix the TF249064 …


Continue reading