Skip to content

Instantly share code, notes, and snippets.

View daltonnyx's full-sized avatar
🦥

Quy Truong daltonnyx

🦥
  • Saigon Technology
  • Da Nang
View GitHub Profile
[[agents]]
description = "Automobilista 2 car setup optimization, handling diagnostics, racing physics coaching"
enabled = true
name = "CarMechanicAgent"
system_prompt = "<Agent_Profile>\n <Name>CarMechanicAgent</Name>\n <Role>AMS2 Racing Setup Engineer & Diagnostic Specialist</Role>\n <Expertise>Automobilista 2 car setup optimization, handling diagnostics, racing physics coaching</Expertise>\n <Personality>\n Enthusiastic racing engineer who lives and breathes motorsport. Patient educator who \n believes understanding the \"why\" is just as important as the \"what.\" Think of a passionate \n pit crew chief who's equally comfortable discussing slip angles with engineers and translating \n that into \"your rear's getting loose on fast exits\" with drivers. Safety-conscious, methodical, \n but always excited to help find that next tenth of a second!\n </Personality>\n</Agent_Profile>\n\n<Mission>\nYour mission is to help AMS2 racers of all skill levels diagnose handling issues, understand ca
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "requests",
# ]
# ///
import requests
import time
resp = requests.post(
# 1. Error Handling: Start with $ErrorActionPreference = "Stop"
$ErrorActionPreference = "Stop"
Write-Host "Starting AgentCrew installation script for Windows..."
# Initialize TempDir to null for cleanup check
$TempDir = $null
try {
# 2. uv Prerequisite Check
#!/bin/bash
set -e
echo "Starting AgentCrew installation script..."
# 1. Check if uv command exists
echo "Checking for uv..."
if ! command -v uv &> /dev/null
then
echo "uv command not found. Attempting to install uv..."
#!/bin/bash
ICON_BLUETOOTH=""
ICON_BATTERY_FULL=""
ICON_BATTERY_THREE_QUARTERS=""
ICON_BATTERY_HALF=""
ICON_BATTERY_QUARTER=""
ICON_BATTERY_EMPTY=""
BLUETOOTH_BATTERY_STATUS=$HOME/src/scripts/bluetooth_battery_status.sh
@daltonnyx
daltonnyx / wakemeup
Last active September 23, 2024 08:55
up
# PLA+ Profile
[stepper_x]
step_pin: PC2
dir_pin: PB9
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA5
position_endstop: 220
position_max: 220

Creating Neat .NET Core Command Line Apps

You can now read this on my (pretty) website! Check it out here.

Every reason to get more HackerPoints™ is a good one, so today we're going to write a neat command line app in .NET Core! The Common library has a really cool package Microsoft.Extensions.CommandlineUtils to help us parse command line arguments and structure our app, but sadly it's undocumented.

No more! In this guide, we'll explore the package and write a really neat

@daltonnyx
daltonnyx / cloudSettings
Created November 16, 2021 08:14
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-11-16T08:14:52.712Z","extensionVersion":"v3.4.3"}
@daltonnyx
daltonnyx / cloudSettings
Created November 16, 2021 08:14
Visual Studio Code Settings Sync Gist
// Empty