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

Dump HTTP headers via cURL

Sat 12 November 2016 by Johannes Bornhold in tools Tags http / curl

Useful command line examples to inspect the headers in HTTP responses, using the command line utility cURL.

more ...

Update your node-env.nix for recent nixpkgs

Wed 09 November 2016 by Johannes Bornhold in nixos Tags node2nix / nix

Quick hints on getting your node2nix based environment updated for recent versions of nixpkgs.

more ...

Python development with Nix - an update

Wed 09 November 2016 by Johannes Bornhold in develop Tags nix / python / develop / pip2nix

Review on using Nix to manage development environments for Python projects.

more ...

Spacemacs layer: imenu-list

Sat 05 November 2016 by Johannes Bornhold in tools Tags spacemacs / emacs / ide

Every now and then I am presenting one layer of Spacemacs which I find useful. This time I am writing about imenu-list which allows to have a nice outline of your current buffer.

more ...

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

Upgrading old NixOS machines

Tue 01 November 2016 by Johannes Bornhold in nixos Tags nixos / nix

Upgrading old NixOS machines can lead to a situation where the rebuild fails due to an unknown hash algorithm. This post shows a workaround to get started again.

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

Printing the generated query including parameters

Sun 23 October 2016 by Johannes Bornhold in develop Tags sqlalchemy / sql

Small example how to print out a SQLAlchemy query with parameters being expanded.

more ...

Sort certain result items on top in PostgreSQL

Wed 19 October 2016 by Johannes Bornhold in develop Tags sql / postgres / search

When displaying items based on a database search, one sometimes wants to display a specific set of items at the top or bottom of the result set. Applying the custom order inside of the database query allows to still use LIMIT and OFFSET in a natural way.

more ...

Storing the Heroku Connect configuration in a repository

Sat 01 October 2016 by Johannes Bornhold in develop Tags json / heroku / jq

A hint on how to store the Heroku Connect mapping configuration in a repository, so that diffs are readable and a useful information of the system changes over time.

more ...

  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • »
  • Social

    • mastodon
    • matrix
    • github
  • Categories

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

© 2024 Johannes Bornhold

Back to top