Skip to content

Instantly share code, notes, and snippets.

View ankushKun's full-sized avatar
💡
just keep building

Ankush Singh ankushKun

💡
just keep building
View GitHub Profile
@ankushKun
ankushKun / oof.sh
Last active November 3, 2026 10:23
oof: add dashboard, limits indicator and smart account switching
#!/bin/zsh
# oof: switch Claude Code accounts and keep the same conversation going.
# Run `oof help` for usage.
# https://gist.github.com/ankushKun/cd27fb07b0f06be99d4181b40309103d
#
# Tokens live in the macOS Keychain as "oof:<email>#<org>" (logins saved by
# earlier versions, under "doppel:" or "ccs:", are still read). Account details
# (no secrets) live in ~/.claude/accounts, short names and plans in
# ~/.claude/accounts/meta. The SessionStart and Stop hooks in
# ~/.claude/settings.json run `oof save -q`, so logins are saved
@ankushKun
ankushKun / privacy.html
Created August 24, 2026 13:17
yTunes privacy policy
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>yTunes privacy policy</title>
<style>
:root {
color-scheme: light dark;
--fg: #1b1b1b;
@ankushKun
ankushKun / firewall-login.sh
Created February 6, 2026 06:29
Auto Fortinet Firewall Login for College WiFi
#!/bin/bash
# ============================================
# Firewall Auto-Login Script
# ============================================
# Automatically logs into the campus firewall
# when internet connectivity is lost.
#
# Usage:
# 1. Fill in your credentials below
@ankushKun
ankushKun / canvas-renderer.html
Created December 24, 2025 14:17
Turn a 2D canvas into a 3D scene using clever maths
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Engine</title>
<style>
body {
margin: 0;
@ankushKun
ankushKun / ao-webapp.lua
Created August 31, 2025 14:46
serving react like webapps from ao processes using LuaX
-- This app can be found on https://workshop.forward.computer/8miMYZuKvlFrVR-GIOpSybDT59PFK04gmKGIFUY8ZYI/now/app
local luax = require("luax")
-- LuaX: https://apm_betteridea.ar.io/pkg?id=@apm/luax
-- Reactive useState function that auto-rerenders when state changes
local function useState(initialValue, varName, Component)
local state = { initialValue }
local function getValue()

🌐 Arweave & AO for Everyone

Curious about Arweave and AO but not super technical?
Here’s your guide, organized from basics → deeper learning → tools → community.


📖 Start Here – What’s It All About?

Quick introductions to understand the “why” behind Arweave & AO.

@ankushKun
ankushKun / ar-ao.md
Last active May 4, 2025 18:51
Content for people who want to get into the Arweave Ecosystem
@ankushKun
ankushKun / blockchain.cpp
Last active February 1, 2024 08:54
Smol project we were forced to make during class
////////////////////////////////////
// WORTHLESS BLOCKCHAIN PROJECT //
////////////////////////////////////
// The most basic imitation/implementation of how a Blockchain would work
// Still has lots of flaws (╯°□°)╯︵ ┻━┻
#include <ctime>
#include <cstring>
#include <iostream>
@ankushKun
ankushKun / SimpDetector.py
Created April 12, 2023 15:14
Simple Simp Detector 🫠
# DEPENDENCIES:
# pip3 install opencv-python deepface
# TODO:
# Add multithreading support so face detection is done in a different thread independent form video feed and display
# Add good support for multiple face detection (that is not linear)
# ヾ(=`ω´=)ノ” ..nyaa
import cv2