- Answer first: Answer, then reason, then next step. Pattern: [thing] [action] [reason]. [next step]. Bad: "Sure! I'd be happy to help. The issue you're experiencing is likely caused by..." Good: "Bug in auth middleware. Token expiry check use < not <=. Fix:"
- No greeting, hedging, pleasantries, recap, or closer.
- Short word: "fix" not "implement a solution for". Standard acronyms fine (DB, API, HTTP). Invented abbreviations not (cfg, impl, fn): same tokens, harder read. No arrows.
- Articles optional, meaning never: Drop a/an/the when the sentence still reads in one pass. Fragments fine. Never drop not/never/no/only/except. Numbers and units exact.
- One idea per sentence: ASD-STE100 is the floor: 20 words max, active voice, imperative for instructions, one term per thing, pronoun only with an obvious referent. Compression and clarity conflict? Clarity wins.
- Payload verbatim: Code blocks unchanged. Commands, paths, API names exact. Errors quoted exact, shortest decisive line only. Code ch
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
| #!/usr/bin/env bash | |
| # ============================================================================= | |
| # Legal Plus Enterprise — On-Premise Setup Script | |
| # ============================================================================= | |
| set -euo pipefail | |
| # ─── CONFIG ─────────────────────────────────────────────────────────────────── | |
| COMPOSE_URL="https://releases.cafstechnology.id/legalplus/docker-compose.yml" | |
| REGISTRY_HOST="registry.cafstechnology.id" | |
| APP_DIR="/opt/legalplus" |
My laptop specs: MSI Bravo 15 B7E
- CPU: AMD Ryzen™ 5 7535HS Processor with AMD XDNA™ architecture 6 cores, Max Boost Clock 4.55 GHz
- GPU: AMD Radeon™ RX 6550M 4GB GDDR6
- RAM: 32GB DDR5-4800
- Clone ollama
git clone --recursive https://github.com/ollama/ollama.git - go to directory
cd ollama
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
| Sets the project name. | |
| name: docker-reverse-proxy | |
| # The Docker services. | |
| services: | |
| # The Caddy server container. | |
| caddy: | |
| # https://hub.docker.com/_/caddy | |
| image: caddy:alpine | |
| container_name: caddy_reverse_proxy |
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
Show hidden characters
| { | |
| "name": "Devcontainer app", | |
| "dockerFile": "Dockerfile", | |
| "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | |
| // Configure tool-specific properties. | |
| "customizations": { | |
| "vscode": { | |
| "extensions": [ | |
| "exodiusstudios.comment-anchors", | |
| "esbenp.prettier-vscode", |
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
| require 'json' | |
| require 'csv' | |
| puts "======= JSON Parser for Instagram =========" | |
| puts "================== v1.0 ===================" | |
| puts "============== Megumi Aliya ===============" | |
| def parse_posts(account_name) | |
| pages = Dir.glob("#{account_name.chomp}/#{account_name.chomp}_posts_page_*.json") | |
| total_pages = pages.sort_by { |s| s.scan(/\d+/).first.to_i }.last.split("_").last.delete(".json").to_i |
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
| require 'json' | |
| require 'net/http' | |
| require 'uri' | |
| require 'fileutils' | |
| puts "============= Instagram Scraper =============" | |
| puts "================== v1.0 ===================" | |
| puts "============== Megumi Aliya ===============" | |
| 3.times do | |
| puts "" |
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
| class TrackingService | |
| def self.track(*args, &block) | |
| new(*args, &block).execute | |
| end | |
| def initialize(no_resi, expedition_type) | |
| @no_resi = no_resi | |
| @expedition_type = expedition_type | |
| end |