CK's Tech Blog
 
TagsBookshelfSnippetsLinksPapersBookmarks
[[item.title]]
  • Django ForeignKey partial index

    2022-11-09

    How to create a partial index on a django ForeignKey field

    Snippetspythondjangopostgres

  • Change celery's \x06\x16 priority separator

    2021-01-21

    How to change the celery \x06\x16 priority separator to something more shell friendly.

    Snippetspythoncelerydjango

  • Print django SQL queries in development

    2020-11-20

    How to display SQL queries using the --print-sql option from django-extensions

    Snippetspythondjangodjango-extensions

  • PYTEST_CURRENT_TEST environment variable

    2020-08-10

    In which tests is this code being executed?

    Snippetspythonpytest

  • Download mp3 from youtube using youtube-dl

    2020-08-09

    How to download a mp3 version of a youtube video.

    Snippetsyoutube-dl

  • Postgres CSV export

    2020-07-28

    How to export a PostgreSQL query to CSV file

    Snippetspostgrescsv

  • Grep non-greedy match

    2020-07-24

    How to do a non-greedy match in grep

    Snippetsgrepregex

  • jq replace json value if key exists

    2020-07-20

    How to replace json value of a specific key

    Snippetsjqoneliner

  • Ubuntu prevent updating of a specific package

    2020-07-05

    How to prevent updating of a specific ubuntu package

    Snippetsapt-getubuntu

  • Git Delete Remote Branch

    2020-01-24

    How to delete a git branch (local or remote)

    Snippetsgit

  • 1
  • 2

CK's Tech Blog

Powered by Hugo and the Notepadium