AL2023 doesn't have a distribution for neovim, so you need to build it from source - for more info see here.
Install prerequisites:
sudo yum -y install ninja-build cmake gcc make unzip gettext curl git --allowerasing
Clone repository:
import type { ClientRequest, IncomingMessage } from 'node:http'; | |
import { subscribe } from 'node:diagnostics_channel'; | |
public captureHTTPsGlobal(): void { | |
const onRequestStart = (message: unknown): void => { | |
const { request } = message as { request: ClientRequest }; | |
console.log(message); | |
const parentSubsegment = this.getSegment(); | |
if (parentSubsegment && request.host) { |
{ | |
"$schema": "https://biomejs.dev/schemas/1.7.0/schema.json", | |
"organizeImports": { | |
"enabled": true | |
}, | |
"linter": { | |
"enabled": true, | |
"rules": { | |
"recommended": true | |
} |
{ | |
"compilerOptions": { | |
"target": "ES2022", | |
"module": "NodeNext", | |
"moduleResolution": "NodeNext", | |
"lib": [ | |
"es2022" | |
], | |
"declaration": true, | |
"strict": true, |
AL2023 doesn't have a distribution for neovim, so you need to build it from source - for more info see here.
Install prerequisites:
sudo yum -y install ninja-build cmake gcc make unzip gettext curl git --allowerasing
Clone repository:
fpath+=$HOME/.zsh/pure | |
# Theme | |
# Commented since pure is used https://github.com/sindresorhus/pure | |
# ZSH_THEME="refined" | |
ZSH_THEME="" | |
autoload -U promptinit; promptinit | |
prompt pure | |
# Case-sensitive completion. |
#!/bin/bash | |
# Specify the desired volume size in GiB as a command-line argument. If not specified, default to 20 GiB. | |
SIZE=${1:-20} | |
# Get the ID of the environment host Amazon EC2 instance. | |
INSTANCEID=$(curl http://169.254.169.254/latest/meta-data//instance-id) | |
# Get the ID of the Amazon EBS volume associated with the instance. | |
VOLUMEID=$(aws ec2 describe-instances \ |
This script works with Karabiner Elements and OneKey Mute Button Edition.
When the button is pressed it performs one of these actions evaluated in this order:
git fetch -p && for branch in $(git for-each-ref --format '%(refname) %(upstream:track)' refs/heads | awk '$2 == "[gone]" {sub("refs/heads/", "", $1); print $1}'); do git branch -D $branch; done
git reset HEAD^
import boto3 | |
import json | |
class EC2Handler: | |
""" | |
Class used to handle operations with EC2 through boto3. | |
""" | |
def __init__(self, region_name: str): | |
self.client = boto3.resource('ec2', region_name) | |
Use the script above by making it executable (chmod +x convert.sh
) and running it (./convert.sh
).
If you want to add a page break use <<<
, if you want to add syntax highlighting add :source-highlighter: rouge
at the top of the Markdown file, it won't be rendered in Markdown but will be used by asciidoctor.