Skip to content

Instantly share code, notes, and snippets.

View ayush-that's full-sized avatar
Waiting for AGI

shydev ayush-that

Waiting for AGI
View GitHub Profile
@ayush-that
ayush-that / generate-blogs.ts
Created March 4, 2026 19:43
CodeJeet Blog Generator
/**
* CodeJeet Blog Generator
*
* Generates SEO-optimized blog posts using the DeepSeek API.
* Produces company interview guides, topic deep-dives, comparison posts,
* and company-topic crossover articles — all with multi-language code examples.
*
* Usage:
* DEEPSEEK_API_KEY=sk-your-key-here npx tsx scripts/generate-blogs-shareable.ts
*/
@ayush-that
ayush-that / generate.py
Created March 1, 2026 12:17
Audiobook generation pipeline for 'The Accidental CTO' using Sarvam AI TTS.
#!/usr/bin/env python3
"""Audiobook generation pipeline for 'The Accidental CTO' using Sarvam AI TTS."""
import argparse
import base64
import json
import os
import re
import time
from dataclasses import dataclass, field
@ayush-that
ayush-that / gist:955fb419b4de1ba78617a9d19eba28c7
Created June 9, 2024 16:17
an image as background and on top of it a video with some opacity
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image Background with Transparent Video</title>
<style>
body, html {
height: 100%;
margin: 0;