Skip to content

Instantly share code, notes, and snippets.

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

DeepakNess deepakness

🏠
Working from home
View GitHub Profile
@deepakness
deepakness / whimsical.ts
Last active November 16, 2026 19:09
Whimsical Pi Agent extension with colorful rotating working messages, playful status phrases, and non-repeating colors
/**
* Whimsical working messages for Pi Agent.
*
* Rotates colorful, playful status phrases every two seconds while Pi is
* thinking. Colors and phrases are randomized without immediately repeating
* either the previous phrase or the previous color.
*/
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
const messages = [
@deepakness
deepakness / minimal-footer.ts
Last active October 3, 2026 09:25
Custom minimal footer for the Pi coding agent. Shows project folder, git branch with dirty marker, model name with thinking level, active goal from pi-codex-goal, and a colored context usage bar. Drop into ~/.pi/agent/extensions/ and restart Pi.
@deepakness
deepakness / index.html
Created June 2, 2026 06:24
A stunning personal website design by the new MiniMax M3 model.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="color-scheme" content="light" />
<meta name="theme-color" content="#f5f0e6" />
<title>Aravind Mehta — Engineer &amp; maker</title>
<meta name="description" content="The personal site of Aravind Mehta — an engineer and maker based in Bengaluru. Selected work, principles, a /now page, writing, and a way to say hello." />
<meta property="og:title" content="Aravind Mehta — Engineer &amp; maker" />
@deepakness
deepakness / opencode.jsonc
Created May 18, 2026 02:17
A format for adding custom models to OpenCode, in this case adding Kimi K2.6 from NVIDIA.
{
"$schema": "https://opencode.ai/config.json",
"model": "nvidia/moonshotai/kimi-k2.6",
"provider": {
"nvidia": {
"npm": "@ai-sdk/openai-compatible",
"name": "NVIDIA",
"api": "https://integrate.api.nvidia.com/v1",
"options": {
"baseURL": "https://integrate.api.nvidia.com/v1",
@deepakness
deepakness / .env
Last active April 4, 2026 12:18
Bash script to mirror all your GitHub repos locally (with optional GitLab push). Supports org repos, wikis, LFS, allowlist/blocklist filtering, and dry-run mode.
# Local backup location
BACKUP_ROOT="$HOME/github-backup/repo-backups"
# Backup all repos owned by the authenticated GitHub user.
INCLUDE_OWNED_REPOS=1
# Optional comma-separated GitHub org names to back up too.
GITHUB_ORGS=""
# Optional exact repo allow/block lists using owner/repo names.
@deepakness
deepakness / index.md
Created February 17, 2026 17:33
Laravel Deployment and PaaS Tools Comparison
Tool / approach Cost (typical) Ease of setup Maintenance burden Scalability Zero-downtime support Laravel-specific features Backups Monitoring/logs SQLite friendliness Hetzner fit
Forge Paid: $12–$39/mo
@deepakness
deepakness / macos-apps.md
Last active December 25, 2025 18:31
A simple list of apps I use on my Macbook Air M2, as an internet generalist.

As an internet generalist, I use very limited apps on my Macbook Air M2, and here's the entire list of apps that are installed. I will list everything, but add links only to the uncommon ones.

Not to mention, most of these apps are completely free to use.

Also, this post was first published on my personal website.

  1. VS Code: Mostly for taking plaintext notes, and writing posts for deepakness.com
  2. Cursor: IDE for coding, use less these days
  3. Antigravity: Google's IDE for coding, use a lot these days
  4. Google Chrome: The browser
@deepakness
deepakness / app.py
Created July 27, 2023 15:41
Scrape the page titles and URLs of Wikipedia search of "insects".
import requests
from bs4 import BeautifulSoup
import csv
BASE_URL = "https://en.wikipedia.org"
SEARCH_URL = "https://en.wikipedia.org/wiki/Special:Search?search=insects&fulltext=Search&ns0=1"
def get_wikipedia_links(search_url):
r = requests.get(search_url)
soup = BeautifulSoup(r.content, 'html.parser')
@deepakness
deepakness / Code.gs
Last active June 29, 2023 05:32
Create comparisons of "Product 1" vs "Product 2" right inside Google Sheets.
// Add the function to main menu
function onOpen() {
var ui = SpreadsheetApp.getUi();
ui.createMenu('🎉')
.addItem("Create Comparisons", "productComparison")
.addToUi();
}
// Function to create comparisons
function productComparison() {
@deepakness
deepakness / Code.gs
Created May 24, 2023 15:46
Extracts Titles/H1 from URLs right inside Google Sheets
function getTitleOrH1(url) {
var response = UrlFetchApp.fetch(url,
{
method: "get",
muteHttpExceptions: true
});
var html = response.getContentText();
var titleMatch = html.match("<title>(.*?)</title>");
var h1Match = html.match("<h1[^>]*>(.*?)</h1>");