This guide is for building your own Arch Linux ARM VM image and runnig in QEMU, UTM, Parallels...
1. qemu-img
2. fdisk
3. kpartx
4. bsdtar
| """ | |
| Built on top of this gist by @karpathy: | |
| https://gist.github.com/karpathy/00103b0037c5aaea32fe1da1af553355 | |
| stable diffusion dreaming over text prompts | |
| creates hypnotic moving videos by smoothly walking randomly through the sample space | |
| example way to run this script: | |
| $ python stable_diffusion_walk.py --prompts "['blueberry spaghetti', 'strawberry spaghetti']" --seeds 243,523 --name berry_good_spaghetti |
| import { Dispatch, SetStateAction, useState, useEffect, useCallback, useRef } from 'react'; | |
| export type StorageArea = 'sync' | 'local'; | |
| // custom hook to set chrome local/sync storage | |
| // should also set a listener on this specific key | |
| type SetValue<T> = Dispatch<SetStateAction<T>>; | |
| /** |
You need to provide some classes and decorators yourself to maintain the same style as [email protected].
@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}↓
```mermaid
sequenceDiagram
participant dotcom
participant iframe
participant viewscreen
dotcom->>iframe: loads html w/ iframe url
iframe->>viewscreen: request template
viewscreen->>iframe: html & javascript
iframe->>dotcom: iframe ready
| version: "3" | |
| services: | |
| # scheduler & monitoring service | |
| airflow-webserver: | |
| hostname: myairflow | |
| container_name: airflow_container | |
| image: 'puckel/docker-airflow:1.10.9' # latest image as of 2021-11-08. | |
| ports: | |
| - '8085:8080' |
| set -eEu | |
| set -o pipefail | |
| trap 'echo "L$LINENO"; O70; exit -1' ERR | |
| O54=4 | |
| function O70() | |
| { | |
| if [[ ! -z "${O57+x}" ]]; then | |
| if [[ -f "${O57}" ]]; then | |
| rm -f "${O57}" | |
| fi |
| import { applyDecorators } from '@nestjs/common'; | |
| import { ApiExtraModels, ApiQuery, getSchemaPath } from '@nestjs/swagger'; | |
| /** | |
| * Combines Swagger Decorators to create a description for `filters[name]=something` | |
| * - has support for swagger | |
| * - automatic transformation with nestjs | |
| */ | |
| // eslint-disable-next-line @typescript-eslint/ban-types,@typescript-eslint/explicit-module-boundary-types | |
| export function ApiFilterQuery(fieldName: string, filterDto: Function) { |