URLs and supporting information
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pypi-timemachine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emoji | |
pyjokes |
Based on https://gohugo.io/getting-started/quick-start/
- Install hugo https://gohugo.io/installation/
- Go to https://themes.gohugo.io/ and pick a theme, e.g.
Terminal
- Initialise a new site:
hugo new site my-new-site
cd my-new-site
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from argparse import ArgumentParser | |
from base64 import b64decode | |
from github import Github, GithubException | |
import os | |
import re | |
# If None then unauthenticated requests are made (may hit API limits) | |
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: example-environment | |
channels: | |
- conda-forge | |
dependencies: | |
- python=3.12 | |
- uv | |
- pip | |
- pip: | |
- juvio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gmft | |
channels: | |
- conda-forge | |
dependencies: | |
- pytorch | |
- pip | |
- pip: | |
- gmft | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# First run postgres, e.g. | |
# nerdctl run -it --rm -p5432:5432 -e POSTGRES_PASSWORD=password docker.io/library/postgres:17 | |
set -eu | |
# Postgres connection details | |
PG_HOST=127.0.0.1 | |
PG_USER=postgres | |
PG_SCHEMA=public |
This gist is a quick explainer on how to install and configure gVisor on K3s. There is a sort of hidden gotcha if you aren't reading the documentation thoroughly. If you already have a K3s cluster setup skip to the appropriate section below.
Install K3s as described in the documentation.
NewerOlder