Skip to content

Instantly share code, notes, and snippets.

View thackerronak's full-sized avatar

Ronak Thacker (smartSense) thackerronak

  • smartSense solutions
  • Ahmedabad
View GitHub Profile
@bulkan
bulkan / user.js
Created January 7, 2015 22:39
Mocking Sequelize model function
var Promise = require('bluebird');
var sinon = require('sinon');
var User = require('./db/models').User;
describe('User model', function(){
var userFindStub;
var sandbox;
before(function(){
sandbox = sinon.sandbox.create();
@molivier
molivier / gist:271bba5d67de1583a8e3
Last active May 24, 2025 22:39
Set $GOPATH on Mac OSX : bash_profile
# Edit ~/.bash_profile
export GOPATH=/Users/$USER/go
export PATH=$GOPATH/bin:$PATH
# Reload profile : source ~/.bash_profile
@alex-arriaga
alex-arriaga / angular-i18n.example.com
Last active July 6, 2023 15:32
Nginx sample configuration for an Angular Multilingual application
server {
listen 80;
root /var/www/html/my-app/dist;
index index.html index.htm;
server_name angular-i18n.example.com www.angular-i18n.example.com;
location /en/ {
@aashari
aashari / 00 - Cursor AI Prompting Rules.md
Last active August 18, 2025 15:02
Cursor AI Prompting Rules - This gist provides structured prompting rules for optimizing Cursor AI interactions. It includes three key files to streamline AI behavior for different tasks.

The Autonomous Agent Prompting Framework

This repository contains a disciplined, evidence-first prompting framework designed to elevate an Agentic AI from a simple command executor to an Autonomous Principal Engineer.

The philosophy is simple: Autonomy through discipline. Trust through verification.

This framework is not just a collection of prompts; it is a complete operational system for managing AI agents. It enforces a rigorous workflow of reconnaissance, planning, safe execution, and self-improvement, ensuring every action the agent takes is deliberate, verifiable, and aligned with senior engineering best practices.

I also have Claude Code prompting for your reference: https://gist.github.com/aashari/1c38e8c7766b5ba81c3a0d4d124a2f58

@samhenrigold
samhenrigold / _WWDC25 AI-ML Group Lab.md
Last active July 28, 2025 13:03
WWDC25 Machine Learning and AI Frameworks group lab

(Summary generated by ChatGPT based on the automatic transcription. Transcript is attached to this Gist)

Panelists:

  • Host: Shashank

  • Panelists: Michael, Erik, Richard, Ronan