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
| ;; Magit requires a newer version of the seq package than 29.1 provides | |
| ;; (different syntax as seq is built-in). This can be removed on upgrade to 30. | |
| ;; See: https://github.com/progfolio/elpaca/issues/216#issuecomment-1869934462. | |
| (use-package seq | |
| :elpaca `(seq :build ,(my/elpaca-seq-build-steps)) | |
| :preface | |
| (defun my/elpaca-unload-seq (e) | |
| (and (featurep 'seq) (unload-feature 'seq t)) | |
| (elpaca--continue-build e)) |
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 bash | |
| set -euo pipefail | |
| usage() { | |
| cat << EOF | |
| Usage: $(basename "${0}") REPOSITORY_URI | |
| Upserts the specified ECR repository to ensure that it exists. The REPOSITORY_URI | |
| argument must have the following form: |
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
| (defvar my/xdg-data-dir "~/.local/share") | |
| ;; Bootstrap straight.el. See https://github.com/raxod502/straight.el for instructions. Straight's | |
| ;; standard installation method has been modified to force it to store it's files under the XDG data directory. | |
| (defvar bootstrap-version) | |
| (let* ((user-emacs-directory (concat my/xdg-data-dir "/emacs")) | |
| (bootstrap-file (concat user-emacs-directory "/straight/repos/straight.el/bootstrap.el")) | |
| (bootstrap-version 5)) | |
| (unless (file-exists-p bootstrap-file) | |
| (with-current-buffer |
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/bash | |
| name=$RANDOM | |
| url='http://localhost:9093/api/v1/alerts' | |
| echo "firing up alert $name" | |
| # change url o | |
| curl -XPOST $url -d "[{ | |
| \"status\": \"firing\", |
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
| # ---------------------------------- | |
| # Colors | |
| # ---------------------------------- | |
| NOCOLOR='\033[0m' | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| ORANGE='\033[0;33m' | |
| BLUE='\033[0;34m' | |
| PURPLE='\033[0;35m' | |
| CYAN='\033[0;36m' |