- download uv-installer.sh
- verify the uv-installer using gh attestation
- modify the verify_checksum logic to use gh attestation (TODO on current gist version)
- execute
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
| openapi: 3.0.2 | |
| info: | |
| title: Your Project | |
| version: 1.0.0 | |
| description: "API for all things \u2026" | |
| paths: | |
| /example-model/: | |
| get: | |
| operationId: listExampleModels | |
| description: Concrete view for listing a queryset or creating a model instance. |
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
| (cors) { | |
| @origin{args.0} header Origin {args.0} | |
| header @origin{args.0} Access-Control-Allow-Origin "{args.0}" | |
| } | |
| (cors_regexp) { | |
| @origin_regexp{args.0} header_regexp Origin {args.0} | |
| header @origin_regexp{args.0} Access-Control-Allow-Origin "{header.Origin}" | |
| } |
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
| import json | |
| import re | |
| import requests | |
| import uuid | |
| # No OAuth scope required | |
| # Just create a personal access token on https://github.com/settings/tokens/new | |
| API_KEY = 'api key example' | |
| QUERY_FORMAT = ''' |
Bootstraping clusters with kubeadm
- One or more machines running one of:
- Ubuntu 16.04+
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
| $ ./manage.py makemigrations | |
| No changes detected | |
| $ ./manage.py migrate | |
| Operations to perform: | |
| Apply all migrations: admin, auth, contenttypes, my_app, sessions | |
| Running migrations: | |
| No migrations to apply. | |
| $ ./manage.py migrate --fake my_app zero | |
| Operations to perform: | |
| Unapply all migrations: my_app |
https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_55.html
x/nfu addr
-
n, the repeat count. Decimal integer, default to 1, counted by unitsu. -
f, the display format. Default changes each time usingxorprintcommand.
NewerOlder