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
You are an expert software architect and project analysis assistant. Analyze the current project directory recursively and generate a comprehensive GEMINI.md file. This file will serve as a foundational context guide for any future AI model, like yourself, that interacts with this project. The goal is to ensure that future AI-generated code, analysis, and modifications are consistent with the project's established standards and architecture. | |
+ Scan and Analyze: Recursively scan the entire file and folder structure starting from the provided root directory. | |
+ Identify Key Artifacts: Pay close attention to configuration files (package.json, requirements.txt, pom.xml, Dockerfile, .eslintrc, prettierrc, etc.), READMEs, folder hierarchy, documentation files, and source code files. | |
+ Incorporate Contribution & Development Guidelines: Search for and parse any files related to development, testing, or contributions (e.g., CONTRIBUTING.md, DEVELOPMENT.md, TESTING.md). The instructions within these guides are critical |
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
version: "3.3" | |
services: | |
traefik: | |
image: "traefik:v3.0" | |
container_name: "traefik" | |
command: | |
# Logging settings | |
- '--log=true' |
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
version: '3.8' | |
services: | |
zitadel: | |
image: ghcr.io/zitadel/zitadel:${ZITADEL_VERSION:-latest} | |
command: start-from-init --masterkeyFromEnv --tlsMode disabled --config /config/zitadel.yaml | |
environment: | |
ZITADEL_MASTERKEY: ${ZITADEL_MASTERKEY:-MasterkeyNeedsToHave32Characters} | |
ZITADEL_SYSTEMDEFAULTS_PASSWORDHASHER_VERIFIERS: pbkdf2 | |
restart: always |
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 | |
# Examples taken from https://opensource.com/article/17/6/ffmpeg-convert-media-file-formats | |
# Convert a webm file to a matroska format with a vp9 encoding and keeping the same audio encoding. | |
# Also changes the bitrate to 1Mb/s | |
ffmpeg -i input.webm -c:a copy -c:v vp9 -b:v 1M output.mkv | |
# Same but change the frame rate to 30 FPS and dropping the bitrate conversion | |
ffmpeg -i input.webm -c:a copy -c:v vp9 -r 30 output.mkv | |
# Same but only setting the video size to a predetermined format HD 720 in this case |
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
# type of database. Run with -dbhelp for details | |
schemaspy.t=redshift | |
# optional path to alternative jdbc drivers. | |
schemaspy.dp=./RedshiftJDBC42-1.2.7.1003.jar | |
# database properties: host, port number, name user, password | |
schemaspy.host=xxxxx.yyyy.eu-west-1.redshift.amazonaws.com | |
schemaspy.port=5439 | |
schemaspy.db=test | |
schemaspy.u=test | |
schemaspy.p=*************** |
Random query recipes of JMESPath for the AWS CLI tools that I might have written or stumbled upon.
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
from org.apache.nifi.processors.script import ExecuteScript | |
from org.apache.nifi.processor.io import InputStreamCallback | |
from java.io import BufferedReader, InputStreamReader | |
class ReadFirstLine(InputStreamCallback) : | |
__line = None; | |
def __init__(self) : | |
pass |
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
// Espressif ESP32 promiscuous mode and packet injection experiments | |
// by brainstorm at nopcode org | |
#include "freertos/FreeRTOS.h" | |
#include "esp_wifi.h" | |
#include "esp_wifi_internal.h" | |
#include "lwip/err.h" | |
#include "esp_system.h" | |
#include "esp_event.h" | |
#include "esp_event_loop.h" |
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "Keep alive functions", | |
"Resources": { | |
"LambdaPolicy": { | |
"Type": "AWS::IAM::ManagedPolicy", | |
"Properties": { | |
"PolicyDocument": { |
NewerOlder