Skip to content

Instantly share code, notes, and snippets.

View Spikeysanju's full-sized avatar
:octocat:
Busy Innovating

Sanju S Spikeysanju

:octocat:
Busy Innovating
View GitHub Profile
"tailwindCSS.includeLanguages": {
"html": "html",
"javascript": "javascript",
"css": "css"
},
"editor.quickSuggestions": {
"strings": true
}
@Spikeysanju
Spikeysanju / topic-based-outline.md
Created August 31, 2024 21:01
I use this a topic based outline a lot. They force clarity and save time for both writer and reader. Win-win.

Hacker News Summary: Nearly half of Nvidia's revenue comes from four mystery whales each buying $3B+

Main Post Summary

  • Nvidia makes a lot of money from AI chips.
  • Four big companies are buying a ton of these chips, each spending over $3 billion.
  • Nobody knows who these companies are for sure.

Key Discussion Themes

1. Who are the Big Buyers?

@Spikeysanju
Spikeysanju / ffmpeg-cheatsheet.md
Last active August 27, 2024 03:26
A comprehensive cheatsheet of FFmpeg commands with descriptions and examples, covering video and audio processing tasks such as format conversion, resizing, trimming, extracting audio, and adding effects.

FFmpeg Cheatsheet

Common FFmpeg Options

Option Description Example
-i Input file ffmpeg -i input.mp4
-vf Video filters (apply effects to video) ffmpeg -i input.mp4 -vf "scale=1280:720" output.mp4
-c:v Video codec (specify video compression method) ffmpeg -i input.mp4 -c:v libx264 output.mp4
-c:a Audio codec (specify audio compression method) ffmpeg -i input.mp4 -c:a aac output.mp4
{
"type": "object",
"properties": {
"statement": {
"type": "string"
},
"grammatical_info": {
"type": "array",
"items": {
"type": "object",

Week 1: Introduction & Quick Tours

  • Monday: Introduction video – Who you are and what to expect from the channel.- Tuesday: Quick tour of a luxurious mansion.- Wednesday: Quick tour of a cozy apartment. - Thursday: Highlight unique features of a quirky house. - Friday: Q&A session – Answer follower questions about real estate.
title description heroImage pubDate lastActive
First post
Lorem ipsum dolor sit amet
/blog-placeholder-1.jpg
Jul 08 2022
asdfadfsa

Getting Started with React: A Quick Guide

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
server: {
port: 5173,
strictPort: true,
open: true,
proxy: {

API Request Documentation

This code snippet demonstrates a JavaScript fetch request that sends a PUT request to a dynamic API endpoint. Below is a concise documentation for the request:

Request Overview

  • Endpoint: The target API endpoint is https://cooptheapp.spikeysanju.workers.dev/, which seems to be hosted on Cloudflare Workers.
  • When uploading a file set filename and it's extenstion as endpoint. ex - https://cooptheapp.spikeysanju.workers.dev/sanju.png (you can give any random names but make sure to provide extension)

Request Details

  1. HTTP Method: PUT
@Spikeysanju
Spikeysanju / settings.json
Created November 3, 2023 19:53
VS Code font settings.
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "on",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.fontFamily": "'Zed Mono', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": "'calt', 'ss01'",
"editor.fontSize": 14,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.inlineSuggest.enabled": true,
@Spikeysanju
Spikeysanju / guidelines.md
Created August 28, 2023 14:15
GitHub commit message guidelines for OpenAI

🆕 Added:

  • New Feature
  • Fresh Addition
  • Added Functionality

Improved:

  • Enhanced User Experience
  • Upgraded Performance