Settings for locking down a server with UFW
# delete all existing rules
sudo ufw reset
# enable ufw
sudo ufw enable
# defult deny everything incoming
theme = light:OneHalfLight,dark:OneHalfDark | |
window-height = 30 | |
window-width = 130 | |
font-size = 14 | |
font-family = TX-02 | |
# delete line | |
keybind = cmd+backspace=esc:w |
-- Function to automatically update the updated_at column | |
CREATE OR REPLACE FUNCTION update_updated_at_column() | |
RETURNS TRIGGER AS $$ | |
BEGIN | |
NEW.updated_at = NOW(); | |
RETURN NEW; | |
END; | |
$$ LANGUAGE plpgsql; | |
-- Apply the trigger to all tables with an updated_at column |
Settings for locking down a server with UFW
# delete all existing rules
sudo ufw reset
# enable ufw
sudo ufw enable
# defult deny everything incoming
{ | |
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json", | |
"vcs": { | |
"enabled": true, | |
"clientKind": "git", | |
"useIgnoreFile": true | |
}, | |
"files": { | |
"ignoreUnknown": false, | |
"ignore": [ |
#!/bin/bash | |
# Exit immediately if a command exits with a non-zero status | |
set -e | |
# Function to display error messages and exit | |
error_exit() { | |
echo "Error: $1" >&2 | |
exit 1 | |
} |
# A top-level `type: struct` is a `Schema` | |
# These can be serialized into a deltalake::Schema struct using serde_yaml in rust | |
# let schema: deltalake::Schema = serde_yaml::from_str(r#"<your yaml>"); | |
--- | |
# A struct with primitive fields | |
type: struct | |
fields: | |
- name: String | |
type: string | |
nullable: true |
# https://developers.cloudflare.com/logs/get-started/enable-destinations/r2/ | |
data "cloudflare_api_token_permission_groups" "all" { | |
resource "cloudflare_api_token" "logpush_r2_token" { | |
name = "logpush_r2_token" | |
policy { | |
permission_groups = [ | |
data.cloudflare_api_token_permission_groups.all.permissions["Workers R2 Storage Write"], |
Assign flags right after an import to filter out the obviously bad shots and ones you'd like to keep. Use your first instinct and leave undecided ones as unflagged.
P
): In focus, eyes open, good positioningX
): Out of focus, blurry motion, eyes closedU
):implementation("com.expediagroup:graphql-kotlin-spring-server:3.7.0") |