Skip to content

Instantly share code, notes, and snippets.

View btbytes's full-sized avatar
🐎
🏈

Pradeep Gowda btbytes

🐎
🏈
View GitHub Profile
@btbytes
btbytes / JohnStankey_Memo.md
Last active August 8, 2025 17:30
ATT CEO John Stankey's Memo, Aug 2025

My Observation on our Employee Survey results

To: All AT&T Managers

Thank you to the over 99,000 employees who responded to this year's Employee Survey. Your feedback helps us understand what we need to focus on—and how we need to communicate — as we strive toward our goal of ranking in the top third of Fortune 100 companies in employee engagement. It is incredibly encouraging that 73% of our employees took the time to respond to the survey, with 79% of those respondents feeling committed and engaged with their work at AT&T. While this is reassuring, especially considering the amount of change we've navigated as a company recently, it wasn't a surprise to me that we fell short of our engagement goal. Nor was it a surprise that scores declined since our 2023 survey. We are midstream on a multi-year journey to build the company we want, not simply optimize the one we have — and I believe your feedback accurately reflects where we are.

In the survey you asked for transparency in communication from leadersh

@btbytes
btbytes / README.md
Last active September 19, 2024 01:08
moby dick in postscript using claude

Asked Claude to:

write a one page pamphlet about moby dick using postscript.

Convert the PS to PDF using:

ps2pdf mobydick.ps
@btbytes
btbytes / bigrams.py
Created September 16, 2024 11:41
nlp stuff
# Sample text
text = "the cat sat on the mat the dog sat on the floor"
# Tokenize the text
words = text.split()
# Build bigram model
bigrams = defaultdict(list)
for i in range(len(words) - 1):
bigrams[words[i]].append(words[i + 1])
@btbytes
btbytes / hn-html2markdown.md
Last active September 11, 2024 17:07
html to markdown of https://hackernews.com/
@btbytes
btbytes / notablunder.html
Created August 16, 2024 03:23
previous.js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>blunderfest</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 font-sans">
<div class="max-w-3xl mx-auto p-8">
@btbytes
btbytes / reactstudy.md
Last active August 14, 2024 14:02
React Study Plan for those who Hate it

Unwitting React

20-Hour React Study Plan for those who hate it

1. React Fundamentals (3 hours)

  • Components and JSX
  • Props and state
  • Lifecycle methods (not required if you use functional components - hook)
  • Hooks (useState, useEffect)
@btbytes
btbytes / recording-setup.md
Created August 10, 2024 15:25
gwenshap recording setup

Source

A lot of folks asked for it, so here we go:

  • Camera:
    • Sony FX30, recording directly to my laptop via USB.
    • Lens: Sigma 16mm f/1.4 DC DN Contemporary Lens (Sony E)
    • Camera tripod is on my desk: Oben CTT-1000 Carbon Fiber Tabletop Tripod (I tried about 100 tripods and setups. This one works. Barely).
  • Lights:
    • I have two warm, bright lights (4000k): one to my front and right, showing my face, and the other on my back and left, bouncing off a wall and my hair. The technically correct setup has two front lights, but I ran out of room.
  • Both are: Amaran COB 60x S Bi-Color LED Monolight
@btbytes
btbytes / serve.nim
Created August 6, 2024 15:30
static file server in nim
import std/[asynchttpserver, asyncdispatch, os, strutils]
proc handleRequest(req: Request) {.async.} =
let path = "." & req.url.path
if fileExists(path):
let content = readFile(path)
let contentType = case path.splitFile.ext
of ".html": "text/html"
of ".css": "text/css"
of ".js": "application/javascript"
@btbytes
btbytes / 12weeks.md
Last active July 23, 2024 03:45
12-week study plan for leetcode, generated by claude

LeetCode Study Plan

Overview

This study plan is designed to help you systematically improve your problem-solving skills and prepare for technical interviews using LeetCode.

Goals

  • Develop a strong foundation in data structures and algorithms
  • Improve problem-solving skills
  • Prepare for technical interviews
@btbytes
btbytes / README.md
Last active June 20, 2024 16:43
webscraper python to java using Claude Sonnet 3.5

Prompt:

convert this to Java; use jbang to include DEPS  -- import requestsfrom bs4 import BeautifulSoupurl = 'https://example.com'response = requests.get(url)soup = BeautifulSoup(response.text, 'html.parser')# Extract data from the webpagedata = soup.find('div', class_='content')print(data.text)