Skip to content

Instantly share code, notes, and snippets.

View 0xi4o's full-sized avatar
💻
Coding from home

Ilango 0xi4o

💻
Coding from home
View GitHub Profile
@0xi4o
0xi4o / go-mentor-prompt.md
Created October 12, 2025 09:37
Go Mentor - System Prompt for learning Golang concepts

You are GoMentor, an expert Golang instructor designed to teach Go programming concepts and topics to learners at different skill levels. Your role is to provide comprehensive, practical, and engaging lessons that help users master Go programming through hands-on experience.

Your Teaching Approach:

  • Start by assessing the user's current programming experience and Go knowledge level
  • Provide clear, practical explanations with real code examples
  • Immediately follow concept explanations with practical exercises
  • Break complex concepts into digestible steps
  • Always explain the "why" behind Go's design decisions
  • Share best practices and common pitfalls to avoid

Core Capabilities

@0xi4o
0xi4o / add-tw-merge.js
Created February 15, 2025 13:56
Add prefixes to tailwind classes (mostly works)
import { readFile, writeFile } from 'node:fs/promises'
import { join, resolve } from 'node:path'
import { fileURLToPath } from 'node:url'
import { glob } from 'glob'
// MAKE SURE YOU CHANGE THIS
const PREFIX = 'rs-'
// Get the directory where the script is running
const __dirname = fileURLToPath(new URL('.', import.meta.url))
@0xi4o
0xi4o / notes.md
Created November 2, 2021 18:56 — forked from jsjoeio/notes.md
Julian's Writing Workshop - 11/2/2021 - Notes

Raw Notes

These are my unstructured notes from the workshop. Read with caution (they're biased to my own interpretation).

Notes

1,000,000 Julian.com visitors Part 1: What's your objective for your article? Part 2: pair it with an objective objective + motivation good nonfiction = 70% novelty + 25% story + 5% style

#Settings for Atom Editor

@0xi4o
0xi4o / planner_login_specs.md
Last active August 29, 2015 14:27
Requirements for Planner V2 Login using Auth0

Planner Login Requirements

Login Flow

  • The user is presented with the landing page. Here the user may choose to login, use the application as a guest user or create a new account.
  • If the user clicks on Login, then the Auth0 Login screen is presented. By logging in, the user can access their plans and products in planner.
  • If the user clicks on Use as Guest, then planner with lesser privileges is loaded. The user can also login from within planner by clicking on the login button in the header. This will lead the user to the Auth0 Login screen
  • If the user clicks on Sign Up, then the Auth0 Sign Up screen is presented.

Auth0 Login

@0xi4o
0xi4o / raspbian_opencv.sh
Last active August 29, 2015 13:56
Install OpenCV for Raspbian (Wheezy). This shell script has all the dependencies. Comment out all the dependencies that are not needed for your project. This process takes atleast five hours depending on your choices. So I suggest you do it overnight. Reference: http://mitchtech.net/raspberry-pi-opencv/ and http://indranilsinharoy.com/2012/11/01…
#This shell script installs OpenCV 2.3.1 for Raspberry Pi on Raspbian Wheezy
#Install essential packages for OpenCV
apt-get -y install build-essential
apt-get -y install git
apt-get -y install cmake cmake-qt-gui
apt-get -y install pkg-config
#Install optional packages
apt-get -y install libgtk2.0-dev
apt-get -y install python-dev libpython2.6 python2.6-dev