Random notes about everything.

  • How to generate a Django SECRET_KEY

    from django.core.management.utils import get_random_secret_key print(get_random_secret_key())

  • Conda + Ubuntu22.04

    For Ubuntu22.04, choose Anaconda over Miniconda. At least, while Miniconda does not support python3.10. For setup of bioconda channel, the official bioconda site instructs set channel_priority to strict. You’d better not.

  • Install ppanggolin with conda

    The recommended way to install is the “conda install -c bioconda ppanggolin” command. But if it freezes on the “Solving environment step”, the following recipe worked for me: conda create -y -n env_ppanggolinconda activate env_ppanggolinconda install -c conda-forge mambamamba install -c conda-forge python=3.7mamba install -c bioconda -c conda-forge -c r –no-channel-priority ppanggolin I get the…

  • Burgers on a gas grill

    Preheat gas grill on medium-high heat for 15 minutes. Grill ground beef patties for 3-4 minutes on each side. Grill frozen impossible burgers for 4 minutes on each side.

  • Thought of the day

    Be attentive, when you’re copying a password from email. That little punctuation mark at the end is actually a part of it.

Got any book recommendations?