Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.
Action | Windows/Linux | macOS |
---|---|---|
New window | Ctrl+Shift+N | Cmd+N |
Close window | Alt+F4 | Cmd+Shift+W |
# Adapted from original PKGBUILD by Harry Walker <[email protected]> | |
pkgname=libfprint-focaltech | |
pkgver=0.1 | |
pkgrel=1 | |
pkgdesc="Proprietary driver for the Focaltech fingerprint reader" | |
arch=('x86_64') | |
url="https://github.com/ftfpteams/focaltech-linux-fingerprint-driver" | |
depends=('glib2>=2.56' 'libgusb>=0.3.0' 'nss>=3.13.4' 'pixman>=0.30.0') | |
conflicts=('libfprint') | |
provides=('libfprint-2.so' 'libfprint') |
{ | |
programs.niri.settings.animations = { | |
window-open = { | |
easing = { | |
curve = "ease-out-expo"; | |
duration-ms = 800; | |
}; | |
}; | |
window-close = { | |
easing = { |
from typing import Generator | |
import pytest | |
from sqlalchemy import Engine, create_engine | |
from sqlalchemy.orm import Session, sessionmaker | |
from .models import Base | |
@pytest.fixture(name="engine", scope="session") |
We have some app and dishka container
from fastapi import FasAPI
from dishka.integrations.fastapi import Depends, inject, setup_dishka
router = APIRouter()
@router.get("/")
@inject
telegram.message
{{- /* Telegram message to use: {{ template "telegram.message2" . }} */ -}}
{{ define "__alerts_list" -}}
{{ range . }}
{{if ne (index .Labels "alertname") "" -}}
{{ if eq .Status "firing" }}🔴{{ else }}🟢{{ end }}
{{- if ne (index .Labels "severity") "" -}}
<u><b>P{{ index .Labels "severity" }}</b></u> {{ end -}}
#!/data/data/com.termux/files/usr/bin/bash | |
# https://github.com/orgzly/orgzly-android/issues/8 | |
orgzly_sync() { | |
# if you are using orgzly-revived use the following instead: | |
# am broadcast -n com.orgzlyrevived/com.orgzly.android.ActionReceiver -a com.orgzly.intent.action.SYNC_START | |
am broadcast -n com.orgzly/com.orgzly.android.ActionReceiver -a com.orgzly.intent.action.SYNC_START | |
} |
telegram.message
{{ define "alert_list" }}{{ range . }}{{ .Labels.alertname }}
{{ range .Annotations.SortedPairs }}<strong>{{ .Name }}</strong>: {{ .Value }}
{{ end }}| {{ if gt (len .GeneratorURL) 0 }}<a href="{{ .GeneratorURL }}">source</a> | {{ end }}{{ if gt (len .SilenceURL) 0 }}<a href="{{ .SilenceURL }}">silence</a> | {{ end }}{{ if gt (len .DashboardURL) 0 }}<a href="{{ .DashboardURL }}">dashboard</a> | {{ end }}{{ if gt (len .PanelURL) 0 }}<a href="{{ .PanelURL }}">panel</a> |{{ end }}
—
{{ end }}{{ end }}
{{ define "telegram.message" }}
{{ if gt (len .Alerts.Firing) 0 }}FIRING!!!