A comprehensive reference for Omarchy - an opinionated Arch Linux + Hyprland setup by DHH.
| Shortcut | Function |
|---|
| /* | |
| * A simple vscode style customization for https://github.com/be5invis/vscode-custom-css | |
| * Just put this file into anywhere and refer it from your vscode `settings.json` under `vscode_custom_css.imports` as following: | |
| * "vscode_custom_css.imports": [ | |
| * "file:///c:/Users/anyone/vscode.css" | |
| * ] | |
| **/ | |
| a.label-name, | |
| p.subtitle.description, | |
| h1.product-name.caption, |
Sometimes we need to add redundancy to some service or server which happen to be a public-facing entry point of our infrastructure. For example, imagine we want to add a high availability pair for a load balancer which sits on the edge of network and forwards traffic to alive backend servers.
┌─────────────┐
│ │
┌─────►│ Backend 1 │
│ │ │
│ └─────────────┘
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| # | |
| """ | |
| *************************************************************************** | |
| * Copyright (c) <mario52> 2017 2018 2019 2020 2021 2022 2023 2024 2025 * | |
| * * | |
| * This file is a supplement to the FreeCAD CAx development system. * | |
| * * | |
| * This program is free software; you can redistribute it and/or modify * |
Random query recipes of JMESPath for the AWS CLI tools that I might have written or stumbled upon.
| # Basic commands | |
| :Git [args] # does what you'd expect | |
| all of your `~/.gitconfig` aliases are available. | |
| :Git! [args] # same as before, dumping output to a tmp file | |
| Moving inside a repo. |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Sends HAL signals to the given MQTT broker host. | |
| # | |
| # usage: hal2mqtt.py [hostname] | |
| # | |
| # Video demo at https://www.youtube.com/watch?v=uFbr7xBjItE | |
| # | |
| # sudo apt-get install mosquitto mosquitto-clients python-mosquitto |
| List of DebOps things to do in 2015: | |
| ✓ add ansible_managed template in debops script | |
| ✓ add option to automatically upgrade all packages instead of just security upgrades | |
| ✓ new PKI role | |
| - nginx certificate pinning | |
| ✓ update gitlab role, remove shasum dependency | |
| - gitlab role, detach mysql/postgresql dependency | |
| - add racktables role or opendcim role | |
| ✓ add tls support in mysql |