Skip to content

Instantly share code, notes, and snippets.

View kloudsamurai's full-sized avatar
💭
Fine tuning the future

David Maple kloudsamurai

💭
Fine tuning the future
View GitHub Profile
@kloudsamurai
kloudsamurai / openai.yaml
Created April 4, 2025 07:48
Awesome openapi spec
raw.githubusercontent.com/openai/openai-openapi/refs/heads/master/openapi.yaml
//! Demonstrates either allowing ephemeral mount under AppArmor or avoiding Landlock
//! to prevent conflicts on Ubuntu. If using this approach, ensure the above
//! AppArmor profile is loaded to permit overlay usage.
use std::process::Command;
use std::fs::{create_dir_all, remove_dir_all};
use std::io::{Write};
use anyhow::{anyhow, Context, Result};
use users;
//! Demonstrates either allowing ephemeral mount under AppArmor or avoiding Landlock
//! to prevent conflicts on Ubuntu. If using this approach, ensure the above
//! AppArmor profile is loaded to permit overlay usage.
use std::process::Command;
use std::fs::{create_dir_all, remove_dir_all};
use std::io::{Write};
use anyhow::{anyhow, Context, Result};
use users;
@kloudsamurai
kloudsamurai / LICENSE.md
Last active January 28, 2025 22:03
MIRRRORMARK_PROTOCOL.md

// // MIT License // // Copyright (c) 2025 David Maple[email protected] // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is

@kloudsamurai
kloudsamurai / awesome_rust.md
Last active December 20, 2024 18:00
Awesome Rust Libraries

Awesome Rust Libraries

Filesystem

  • notify: cross platform file notification events
  • tempfile: cross platform temp filesystem
  • yazi: ultr fast terminal file manager

Git

@kloudsamurai
kloudsamurai / curated_video_wallpaper.md
Last active December 1, 2024 21:01
Fullscreen YouTube Wallpaper Curation

Fullscreen Youtube Wallpaper Curations

Liquid 4K

@kloudsamurai
kloudsamurai / intellij_database_advanced_settings_rds_aurora.txt
Created December 30, 2021 06:39
IntelliJ Database Advanced Settings for RDS/Aurora
enabledTLSProtocols=TLSv1,TLSv1.1,TLSv1.2,TLSv1.3
@kloudsamurai
kloudsamurai / gradle.properties
Created December 22, 2021 03:01
gradle.properties for high memory allocation
#Enable daemon
org.gradle.daemon=true
# Try and findout the best heap size for your project build.
org.gradle.jvmargs=-Xmx18G -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options=-Xmx18G
# Modularise your project and enable parallel build
org.gradle.parallel=true
# Enable configure on demand.
org.gradle.configureondemand=true
@kloudsamurai
kloudsamurai / gradle_test_log4j_CVE-2021-44228.sh
Last active December 12, 2021 17:52
Test Gradle Dependencies for CVE-2021-44228: Log4j Zero Day Vulnerability
gradle dependencyInsight --dependency log4j-core
wget https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem
keytool -keystore amazon.jks -importcert -file ./global-bundle.pem
# note: remember this password -- you'll need it in intellij