Enjoy these free Code Nuggets?
Your support helps us create more high-quality content and unlocks exclusive premium nuggets via a personal activation link.
Support Our Work & Get Exclusive AccessLearn to code with AI, not just about it.
Beyond free snippets, we run hands-on training in AI-assisted coding — teaching developers, teams and beginners how to build real software faster using modern AI tools. You bring the ideas; we show you how to ship them with an AI pair-programmer at your side.
- ✔ Prompting & pairing with AI coding assistants to write, debug and refactor real code
- ✔ Turning plain-English ideas into working apps, scripts and automations
- ✔ Reviewing AI output safely — spotting bugs, security gaps and hallucinations
- ✔ Live cohorts, team workshops and 1-on-1 mentoring — remote or on-site in Kenya
# You describe it…
"Build me a booking form that emails the client."
# …the AI drafts it…
▸ generating form + mailer…
â–¸ 24 lines written, 0 errors
# …and we teach you to lead it.
✱ You stay the engineer. AI is the tool.
All Code Nuggets
41 nuggets found
Mastering Controllers in Laravel: A Deeper Dive (Premium)
Laravel controllers drive traffic in your application - they receive requests, orchestrate your core logic, and provide return responses. While you will get a lot of examples and explanations on...
public function saveBulkDraft(Request $request)
{
try {
// Relaxed validation to handle string JSON and boolean strings from frontend
$request->validate([
'draft_id' => 'nullable|integer|exists:rfqs,id',
'category_id' => 'requ...
Laravel Startup Kit (Comprehensive & Progressive) (Premium)
IntroductionLaravel is a framework for web artisans. It has been termed a progressive framework because it caters to both burgeoning programmers (including kid programmers) and senior developers, giving the latter...
Laravel - Lessons we Learnt in 2025 (Premium)
We did a couple of Laravel projects with the team in 2025. We migrated some projects away from Laravel while others into it. Every challenge we accomplished came with great...
100 lines challenge (Premium)
Write a 100 lines of code a day. JavaScript is simple, well, not that simple. But it can be if you write 100 lines a day.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CQI Progress Tracker</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@keyframes pulse { 0%, 100% { tran...
Do the hard things first (Premium)
Programming is hard - or so you might see it when you are trying to learn it - but if you give up, you will not make great things. ALX,...
<?php
namespace App\Exports;
use App\Models\CqiProject;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\WithMapping;
use Illuminate\Support\Facades\DB;
class CqiProjectReportExport implements FromCollection, With...