Skip to content

Instantly share code, notes, and snippets.

View KShivendu's full-sized avatar
👨‍💻
Learning Cool Stuff

Kumar Shivendu KShivendu

👨‍💻
Learning Cool Stuff
View GitHub Profile
@KShivendu
KShivendu / yogurt-report-final.md
Last active May 8, 2026 13:03
Epigamia vs competition on Blinkit q-comm: flavor breadth and ratings velocity

Epigamia vs Competition on Blinkit Q-Comm (Flavor Breadth + Ratings Velocity)

Scope and Method

  • Data source 1: Blinkit MCP exploration with pagination.
  • Data source 2: Local API POST /api/search.
  • Queries used: epigamia greek yogurt, greek yogurt, flavoured yogurt, yogurt.
  • Location: lat=12.83784525, lon=77.65048250.
  • Session/model: sess_epigamia_qcomm_20260508 / codex-5.3.
@KShivendu
KShivendu / blinkit-yogurt-report.md
Created May 8, 2026 11:51
Blinkit Greek Yogurt city-wise competitive findings

Blinkit Greek Yogurt Competitive Report

Date: 2026-05-08
Method: Blinkit MCP exploration + localhost Blinkit API (/api/search) with pagination, strict Greek/Skyr filtering, and deduplication by group_id.

Scope and run selection

  • Bangalore (BLR): uses the second/corrected run with group_id dedup.
  • Delhi: uses the first run.
  • Mumbai: uses the first run.
@KShivendu
KShivendu / greek-yogurt-qcomm-analysis-gist.md
Created May 8, 2026 09:22
Blinkit Greek yogurt category leadership analysis (Epigamia vs Milky Mist)

Greek Yogurt Category Leadership on Blinkit (Script-Backed)

Date: 2026-05-08
Market snapshot: Blinkit Bangalore defaults (lat=12.83784525, lon=77.6504825)
Objective: Determine whether Epigamia is still category leader in q-comm, or whether another brand has closed the gap on flavor breadth and ratings velocity.


Executive Answer

@KShivendu
KShivendu / yogurt.md
Created May 8, 2026 07:52
Yogurt Category Analysis: Blinkit Bangalore - Epigamia vs Milky Mist competitive analysis

Yogurt Category Analysis: Blinkit Bangalore

Date: May 8, 2026
Location: Bangalore (12.84°N, 77.65°E)
Source: Blinkit API via local proxy
Products analyzed: 161 unique SKUs (deduplicated by group_id)


Executive Summary

@KShivendu
KShivendu / kurl.sh
Last active April 21, 2024 08:56
kurl: Curl simplified
#!/bin/bash
# Simplified curl
function kurl() {
local delimiter=$'\x1E' # ASCII record separator
local response=$(curl -s "$@" -w "${delimiter}%{http_code}")
IFS="$delimiter" read -r body http_code <<< "$response"
export HTTP_CODE="$http_code"
echo $body
@KShivendu
KShivendu / jf.sh
Last active December 16, 2025 12:38
jf: TUI for exploring JSON data
# jq REPL (jq + fzf = jf)
function jf() {
if [ $# -eq 0 ]; then
# pipe input
tempfile=$(mktemp)
cat > "$tempfile"
echo '' | fzf --print-query --preview "jq {q} $tempfile"
rm "$tempfile"
else
# filename arg input
@KShivendu
KShivendu / setup.sh
Last active March 19, 2024 06:41
Bare minimum setup
#!/bin/bash
set -x
# Install important packages
sudo apt update
sudo apt install -y zsh fzf autojump tmux jq
# Change the default shell to zsh
# chsh -s $(which zsh)
@KShivendu
KShivendu / supertokens-socket.py
Created August 7, 2023 15:28
Example application to demonstrate usage of supertokens python SDK with flask socketio
from flask import Flask, render_template, request
from flask_socketio import SocketIO, emit
import json
from backend import config
from supertokens_python import init
from flask import jsonify, g
from supertokens_python.framework.flask import Middleware
from supertokens_python.recipe.session.syncio import get_session, get_session_without_request_response