Skip to content

Instantly share code, notes, and snippets.

View Augani's full-sized avatar
🏠
Working from home

Augustus Otu Augani

🏠
Working from home
View GitHub Profile
@Augani
Augani / fix_openclaw_model.sh
Created March 29, 2026 22:38
Fix OpenClaw model from Kimi K2.5 to Kimi K2.5 Turbo - Fireworks setup script uses wrong model ID
#!/bin/bash
# Fix OpenClaw Model - Change from Kimi K2.5 to Kimi K2.5 Turbo
# Run this if Fireworks setup script configured the wrong model
set -e
CONFIG_DIR="${HOME}/.openclaw"
CONFIG_FILE="${CONFIG_DIR}/openclaw.json"
@Augani
Augani / nw-json
Created February 9, 2026 11:16
data
paste

To get claude code to give you the best output, you need to first understand how they work. Thats the hack imo. If you start any project, just use the /init command. if you use cursor, it is best to read around what you want to build so you can explain to composer or gpt 5 in plan mode. it will create a plan but don't choose build,save the plan in your project and go to claude code to /init. The claude md file it generates is more than enough because it looks for files that already exist in the project and adds any context needed. Let me walk you through my process so you can use yourself.

  1. You will have to know what you want, you don't necessarily need to be an expert in the language you are coding in, but you need to know what you want. This includes the features, the coding style, the end product and boundaries of what you want built.

  2. Plan very well. This is the most important step that can't be skip if you want to be very successful. Write all that you want to see happen, code examples, wh

When passing a function to a handler, don't pass it with the
Parenthesis.
// onsubmit={handler()}
This is wrong
You have two options, either to pass just the name
Of the function, thus the variable or pass function to call
That function you want
@Augani
Augani / jsexample.js
Created August 31, 2020 14:32
explaining what is wrong with the example
const doubleNumbers = function() { return [...arguments].map(a => a * 2) }
console.log(doubleNumbers(1,2,3))
@Augani
Augani / index.html
Created September 10, 2019 18:42
JjPLMwR
<div class="container">
<div class="button">
<div id="anim">
<div class="Package"></div>
<div class="Car">
<div class="busBack"></div>
<div class="busFront">
<div class="busFrontMain">
</div>
@Augani
Augani / index.js
Last active May 28, 2019 15:30
Adding the graphql
const express = require("express");
const graphqlHTTP = require("express-graphql");
const bodyparser = require("body-parser");
const { buildSchema } = require("graphql");
const app = express();
app.use(bodyparser.json());
//setup the route for graphql