Johbo's Notes - Working on the Web
  • About Me
  • Archives

Creating a partial unique index with SQLAlchemy in PostgreSQL

Fri 04 November 2016 by Johannes Bornhold in develop Tags sqlalchemy / postgresql / snippet

A partial unique index allows to constrain only a subset of the records in a table. This post shows an example how to implement a partial unique constraint with SQLAlchemy.

more ...

Custom meta tags with Pelican, canonical URL as example

Tue 25 October 2016 by Johannes Bornhold in tools Tags pelican / seo / snippet

Setting custom meta data with Pelican can be implemented easily. This post shows a small example how I solved it.

more ...

Comparing tables in PostgreSQL

Thu 29 September 2016 by Johannes Bornhold in develop Tags postgresql / sql / snippet

Two approaches to quickly compare two similar tables and get an idea of how many records differ based on an example with geo data.

more ...

List of all packages for Nix

Sun 18 September 2016 by Johannes Bornhold in nixos Tags nix / snippet

Having a list of all packages available in a simple text file is enough to get a good overview of available packages.

more ...

Environment for the Salesforce migration tool

Sat 17 September 2016 by Johannes Bornhold in develop Tags salesforce / nix / snippet

An example Nix snippet which provides the Salesforce migration tool inside of a shell environment based on the Nix package manager.

more ...

Grab environment variables of a Heroku app

Thu 28 July 2016 by Johannes Bornhold in tools Tags heroku / sed / snippet

A small sed snippet to translate the output of heroku config into export calls for the shell.

more ...

Get the version of nixpkgs - Snippet

Wed 03 February 2016 by Johannes Bornhold in nixos Tags nix / snippet / nixpkgs

A small snippet to get the version if the nixpkgs which are currently used. Useful when tracking down trouble and trying to reproduce things with the correct commit.

more ...

  • Social

    • mastodon
    • matrix
    • github
  • Categories

    • cloud
    • develop
    • event
    • hello
    • macos
    • nixos
    • tools

© 2016 Johannes Bornhold

Back to top