[{"data":1,"prerenderedAt":371},["ShallowReactive",2],{"docs-navigation":3,"doc-\u002Fdev\u002Fclean-code":186,"surround-\u002Fdev\u002Fclean-code":210,"notes-index":215},[4,62,127,138,149,160,175],{"title":5,"path":6,"stem":7,"children":8},"Dev","\u002Fdev","1.dev",[9,12,26,36,46,52],{"title":10,"path":6,"stem":11},"Development","1.dev\u002Findex",{"title":13,"path":14,"stem":15,"children":16},"Laravel","\u002Fdev\u002Flaravel","1.dev\u002F1.laravel\u002Findex",[17,18,22],{"title":13,"path":14,"stem":15},{"title":19,"path":20,"stem":21},"Eloquent Relationships","\u002Fdev\u002Flaravel\u002Feloquent-relationships","1.dev\u002F1.laravel\u002F1.eloquent-relationships",{"title":23,"path":24,"stem":25},"Laravel Homestead","\u002Fdev\u002Flaravel\u002Flaravel-homestead","1.dev\u002F1.laravel\u002F2.laravel-homestead",{"title":27,"path":28,"stem":29,"children":30},"Bash","\u002Fdev\u002Fbash","1.dev\u002F13.bash\u002Findex",[31,32],{"title":27,"path":28,"stem":29},{"title":33,"path":34,"stem":35},"My Bash RC","\u002Fdev\u002Fbash\u002Fbash-rc","1.dev\u002F13.bash\u002F2.bash-rc",{"title":37,"path":38,"stem":39,"children":40},"Clean Code","\u002Fdev\u002Fclean-code","1.dev\u002F15.clean-code\u002Findex",[41,42],{"title":37,"path":38,"stem":39},{"title":43,"path":44,"stem":45},"Naming Things","\u002Fdev\u002Fclean-code\u002Fnaming-things","1.dev\u002F15.clean-code\u002F1.naming-things",{"title":47,"path":48,"stem":49,"children":50},"AI Prompting","\u002Fdev\u002Fai-prompting","1.dev\u002F17.ai-prompting\u002Findex",[51],{"title":47,"path":48,"stem":49},{"title":53,"path":54,"stem":55,"children":56},"Git","\u002Fdev\u002Fgit","1.dev\u002F9.git\u002Findex",[57,58],{"title":53,"path":54,"stem":55},{"title":59,"path":60,"stem":61},"Git Cheat Sheet","\u002Fdev\u002Fgit\u002Fgit-cheat-sheet","1.dev\u002F9.git\u002F1.git-cheat-sheet",{"title":63,"path":64,"stem":65,"children":66},"Teaching","\u002Fteaching","2.teaching",[67,69],{"title":63,"path":64,"stem":68},"2.teaching\u002Findex",{"title":70,"path":71,"stem":72,"children":73},"AppsDev","\u002Fteaching\u002Fapps-dev","2.teaching\u002F1.apps-dev\u002Findex",[74,75,93,107,117],{"title":70,"path":71,"stem":72},{"title":76,"path":77,"stem":78,"children":79},"Lesson Plans","\u002Fteaching\u002Fapps-dev\u002Flesson-plans","2.teaching\u002F1.apps-dev\u002F1.lesson-plans\u002Findex",[80,81,85,89],{"title":76,"path":77,"stem":78},{"title":82,"path":83,"stem":84},"Coding with AI","\u002Fteaching\u002Fapps-dev\u002Flesson-plans\u002Fcoding-with-ai","2.teaching\u002F1.apps-dev\u002F1.lesson-plans\u002F1.coding-with-ai",{"title":86,"path":87,"stem":88},"Coding with AI: Prompts & Reading JavaScript","\u002Fteaching\u002Fapps-dev\u002Flesson-plans\u002Fprompts-and-reading-js","2.teaching\u002F1.apps-dev\u002F1.lesson-plans\u002F2.prompts-and-reading-js",{"title":90,"path":91,"stem":92},"JavaScript for Beginners","\u002Fteaching\u002Fapps-dev\u002Flesson-plans\u002Fjavascript-for-beginners","2.teaching\u002F1.apps-dev\u002F1.lesson-plans\u002F3.javascript-for-beginners",{"title":94,"path":95,"stem":96,"children":97},"Activities","\u002Fteaching\u002Fapps-dev\u002Factivities","2.teaching\u002F1.apps-dev\u002F2.activities\u002Findex",[98,99,103],{"title":94,"path":95,"stem":96},{"title":100,"path":101,"stem":102},"Dynamic Portfolio Website","\u002Fteaching\u002Fapps-dev\u002Factivities\u002Fdynamic-portfolio-website","2.teaching\u002F1.apps-dev\u002F2.activities\u002F2.dynamic-portfolio-website",{"title":104,"path":105,"stem":106},"Mini Product Store","\u002Fteaching\u002Fapps-dev\u002Factivities\u002Fmini-product-store","2.teaching\u002F1.apps-dev\u002F2.activities\u002F3.mini-product-store",{"title":108,"path":109,"stem":110,"children":111},"Exercises","\u002Fteaching\u002Fapps-dev\u002Fexercises","2.teaching\u002F1.apps-dev\u002F4.exercises\u002Findex",[112,113],{"title":108,"path":109,"stem":110},{"title":114,"path":115,"stem":116},"Read & Predict","\u002Fteaching\u002Fapps-dev\u002Fexercises\u002Fread-and-predict","2.teaching\u002F1.apps-dev\u002F4.exercises\u002F1.read-and-predict",{"title":118,"path":119,"stem":120,"children":121},"AI Prompts","\u002Fteaching\u002Fapps-dev\u002Fai-prompts","2.teaching\u002F1.apps-dev\u002F7.ai-prompts\u002Findex",[122,123],{"title":118,"path":119,"stem":120},{"title":124,"path":125,"stem":126},"Prompt Flow","\u002Fteaching\u002Fapps-dev\u002Fai-prompts\u002Fbasic-prompting","2.teaching\u002F1.apps-dev\u002F7.ai-prompts\u002F1.basic-prompting",{"title":128,"path":129,"stem":130,"children":131},"Snippets","\u002Fsnippets","3.snippets",[132,134],{"title":128,"path":129,"stem":133},"3.snippets\u002Findex",{"title":135,"path":136,"stem":137},"Debounce and Throttle","\u002Fsnippets\u002Fdebounce-and-throttle","3.snippets\u002F1.debounce-and-throttle",{"title":139,"path":140,"stem":141,"children":142},"Cheat Sheets","\u002Fcheat-sheets","4.cheat-sheets",[143,145],{"title":139,"path":140,"stem":144},"4.cheat-sheets\u002Findex",{"title":146,"path":147,"stem":148},"Vim Cheat Sheet","\u002Fcheat-sheets\u002Fvim-cheat-sheet","4.cheat-sheets\u002F1.vim-cheat-sheet",{"title":150,"path":151,"stem":152,"children":153},"Templates","\u002Ftemplates","5.templates",[154,156],{"title":150,"path":151,"stem":155},"5.templates\u002Findex",{"title":157,"path":158,"stem":159},"Pull Request Template","\u002Ftemplates\u002Fpull-request-template","5.templates\u002F1.pull-request-template",{"title":161,"path":162,"stem":163,"children":164},"Meta","\u002Fmeta","6.meta",[165,167,171],{"title":161,"path":162,"stem":166},"6.meta\u002Findex",{"title":168,"path":169,"stem":170},"Authoring Guide","\u002Fmeta\u002Fauthoring-guide","6.meta\u002F1.authoring-guide",{"title":172,"path":173,"stem":174},"Markdown Showcase","\u002Fmeta\u002Fmarkdown-showcase","6.meta\u002F2.markdown-showcase",{"title":176,"path":177,"stem":178,"children":179},"Troubleshooting","\u002Ftroubleshooting","7.troubleshooting",[180,182],{"title":176,"path":177,"stem":181},"7.troubleshooting\u002Findex",{"title":183,"path":184,"stem":185},"Fixing CORS Errors","\u002Ftroubleshooting\u002Fcors-errors","7.troubleshooting\u002F1.cors-errors",{"id":187,"title":37,"body":188,"category":37,"createdAt":199,"description":194,"draft":200,"extension":201,"featured":200,"keywords":202,"links":203,"meta":204,"navigation":205,"path":38,"readingTime":206,"seo":207,"stem":39,"tags":208,"updatedAt":199,"__hash__":209},"docs\u002F1.dev\u002F15.clean-code\u002Findex.md",{"type":189,"value":190,"toc":195},"minimark",[191],[192,193,194],"p",{},"Writing code that other people (and future you) can read.",{"title":196,"searchDepth":197,"depth":197,"links":198},"",3,[],"2026-07-17",false,"md",[],[],{},true,1,{"title":37,"description":194},[],"VglOfs0Dc2iAWgZ4ci27CZ1G-krDRu5ovZwPUgTnHg4",[211,213],{"title":33,"path":34,"stem":35,"description":212,"children":-1},"Personal Bash aliases and helper functions that streamline my Laravel and Homestead development workflow.",{"title":43,"path":44,"stem":45,"description":214,"children":-1},"Practical rules for naming variables, functions and types so code reads like prose.",[216,223,229,232,238,241,247,249,252,259,262,265,273,277,282,285,293,297,300,306,309,313,316,319,321,327,330,335,338,344,347,354,359,362,368],{"path":20,"title":19,"description":217,"tags":218,"category":13,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"The core Eloquent relationship types with examples and the N+1 trap to avoid.",[219,220,221,222],"laravel","eloquent","database","orm",{"path":24,"title":23,"description":224,"tags":225,"category":13,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"My quick reference for setting up and using Laravel Homestead during development.",[219,226,227,228],"homestead","vagrant","virtualbox",{"path":14,"title":13,"description":230,"tags":231,"category":13,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"The PHP framework for web artisans — Eloquent, routing, queues and more.",[],{"path":34,"title":33,"description":212,"tags":233,"category":27,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":237,"draft":200},[234,235,236,226,219],"bash","bashrc","git bash",2,{"path":28,"title":27,"description":239,"tags":240,"category":27,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Shell scripting and a faster life on the command line.",[],{"path":44,"title":43,"description":214,"tags":242,"category":37,"featured":205,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},[243,244,245,246],"clean-code","naming","readability","craft",{"path":38,"title":37,"description":194,"tags":248,"category":37,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},[],{"path":48,"title":47,"description":250,"tags":251,"category":47,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Getting reliable, useful results out of language models.",[],{"path":60,"title":59,"description":253,"tags":254,"category":53,"featured":205,"updatedAt":199,"createdAt":199,"readingTime":237,"draft":200},"The Git commands I actually use day to day, plus how to undo things safely.",[255,256,257,258],"git","cli","version-control","cheat-sheet",{"path":54,"title":53,"description":260,"tags":261,"category":53,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Version control — everyday commands and getting out of trouble.",[],{"path":6,"title":10,"description":263,"tags":264,"category":10,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Languages, frameworks and the craft of building software.",[],{"path":83,"title":82,"description":266,"tags":267,"category":63,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":272,"draft":200},"An introduction to AI-assisted software development, modern development workflows, and the mindset needed to use AI responsibly throughout the course.",[268,269,270,271],"ai","software development","prompt engineering","beginners",4,{"path":87,"title":86,"description":274,"tags":275,"category":63,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":272,"draft":200},"Learn how to write effective AI prompts and read JavaScript code confidently. This lesson teaches students how to direct AI instead of blindly copying its output.",[268,276,270,271],"javascript",{"path":91,"title":90,"description":278,"tags":279,"category":63,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":197,"draft":200},"Introduction to the fundamentals of JavaScript, from variables and functions to loops, DOM manipulation, and events. This lesson prepares students for the Mini Product Store activity.",[276,271,280,281],"programming","web development",{"path":77,"title":76,"description":283,"tags":284,"category":76,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Session-by-session plans with objectives, timing and materials.",[],{"path":101,"title":100,"description":286,"tags":287,"category":94,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":197,"draft":200},"Build a personal portfolio website using JavaScript arrays, loops, and DOM manipulation instead of hardcoded HTML.",[288,289,276,290,291,292],"teaching","activity","portfolio","dom","loops",{"path":105,"title":104,"description":294,"tags":295,"category":94,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":197,"draft":200},"A JavaScript activity where students build a simple product store using arrays, loops, functions, DOM manipulation, and event listeners.",[288,289,276,291,296,292],"arrays",{"path":95,"title":94,"description":298,"tags":299,"category":94,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"In-class activities that get students doing, not just listening.",[],{"path":115,"title":114,"description":301,"tags":302,"category":94,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":237,"draft":200},"Practice reading JavaScript code, predicting its output, and verifying your understanding before running the program.",[288,289,276,303,304,305],"functions","if-statement","debugging",{"path":109,"title":108,"description":307,"tags":308,"category":108,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Practice problems that build skill through repetition.",[],{"path":125,"title":124,"description":310,"tags":311,"category":118,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":272,"draft":200},"A structured workflow for working with AI that emphasizes planning, review, and understanding before implementation.",[268,270,312],"workflow",{"path":119,"title":118,"description":314,"tags":315,"category":118,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Prompt templates for teaching with and about AI.",[],{"path":71,"title":70,"description":317,"tags":318,"category":63,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Lesson plans, activities, rubrics and student references.",[],{"path":64,"title":63,"description":317,"tags":320,"category":63,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},[],{"path":136,"title":135,"description":322,"tags":323,"category":128,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Two tiny functions to control how often a handler runs — with the difference explained.",[276,324,325,326],"performance","snippets","events",{"path":129,"title":128,"description":328,"tags":329,"category":128,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Small, copy-ready fragments you reach for again and again.",[],{"path":147,"title":146,"description":331,"tags":332,"category":139,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"The essential Vim motions and commands to get productive and get out.",[333,334,258,256],"vim","editor",{"path":140,"title":139,"description":336,"tags":337,"category":139,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Dense, scannable references for commands and syntax.",[],{"path":158,"title":157,"description":339,"tags":340,"category":150,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"A reusable PR description template that makes reviews faster and kinder.",[255,341,342,343],"github","template","collaboration",{"path":151,"title":150,"description":345,"tags":346,"category":150,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Reusable starting points for files, configs and docs.",[],{"path":169,"title":168,"description":348,"tags":349,"category":161,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":237,"draft":200},"The frontmatter and markdown conventions every note in this knowledge base follows.",[350,351,352,353],"meta","conventions","markdown","authoring",{"path":173,"title":172,"description":355,"tags":356,"category":161,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":237,"draft":200},"Every formatting feature this knowledge base supports, on one page — a living reference and rendering test.",[352,357,358],"mdc","reference",{"path":162,"title":161,"description":360,"tags":361,"category":161,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"How this knowledge base itself is built and maintained.",[],{"path":184,"title":183,"description":363,"tags":364,"category":176,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"What a CORS error actually means and how to fix it — on the server, where it belongs.",[365,366,367,305],"cors","http","apis",{"path":177,"title":176,"description":369,"tags":370,"category":176,"featured":200,"updatedAt":199,"createdAt":199,"readingTime":206,"draft":200},"Symptoms, causes and fixes for problems worth remembering.",[],1784276795510]