Skip to content

Instantly share code, notes, and snippets.

View breadchris's full-sized avatar

Chris breadchris

View GitHub Profile
@breadchris
breadchris / soundbite.md
Created June 16, 2023 18:59
Why soundbite should exist
  • TL;DR soundbite is a podcasting platform, supercharged by advancements in content discovery, to connect with your friends and your community before international influencers.
  • Authenticity is a commodity in modern day communication. When we wake up, we look at our phone, during breakfast, we look at our phone, at work when we are bored, we look at our phone, going to the bathroom? phone. Watching TV? phone. Avoiding going to bed? phone. It is the first and last thing we look at every day.
  • What do we spend our day doing on the phone? Catching up with some celebrity, social media influencer, some random hair salon that cuts hair with fire. "The algorithm" is really good at what it does, and what it is doing is keeping you on the platform by any means necessesary. If you spend a second longer than usual fixated on a some guy lifting a lot of weight your digital content butler is going to start serving you videos of weightlifters. The faster the algorithm can glean information about your engagement with the
@breadchris
breadchris / parse.go
Created May 26, 2023 17:54
Protobuf Protoflow Workflow
package grpc
import (
"fmt"
"github.com/jhump/protoreflect/desc"
"google.golang.org/protobuf/types/descriptorpb"
"strings"
"testing"
)
@breadchris
breadchris / esbuild.go
Created May 2, 2023 21:05
Building Javascript from go with esbuild
package editor
import (
"github.com/evanw/esbuild/pkg/api"
"strconv"
"strings"
)
// TODO breadchris this is a WIP, theoretically we could build the editor with esbuild from go
func Build(prodBuild bool) api.BuildResult {
@breadchris
breadchris / protoflow_protobuf.proto
Created May 1, 2023 21:50
Experimental Protobuf definition for all graph data.
syntax = "proto3";
import "google/protobuf/empty.proto";
import "google/protobuf/descriptor.proto";
import "block.proto";
import "resource.proto";
enum ServiceMethods {
ServiceOne_MethodOne = 0;
}
@breadchris
breadchris / ideas.md
Last active March 22, 2025 05:39
Next Gen Vuln Search Page
@breadchris
breadchris / results.json
Created January 18, 2023 23:47
CISA Javascript Known Exploited Vulnerabilities
{
"data": {
"vulnerability_cisa_known_exploited": [
{
"vulnerability_name": "MongoDB mongo-express Remote Code Execution Vulnerability",
"vulnerability": [
{
"equivalents": [
{
"equivalent_vulnerability": {
@breadchris
breadchris / results.json
Created January 18, 2023 23:46
CISA Known Exploited Java Vulnerabilities
{
"data": {
"vulnerability_cisa_known_exploited": [
{
"vulnerability_name": "Apache Struts Multiple Versions Remote Code Execution Vulnerability",
"vulnerability": [
{
"equivalents": [
{
"equivalent_vulnerability": {
#15 CACHED
#8 [server-builder 2/7] RUN apk add --no-cache openssl1.1-compat
#8 sha256:df3fdc0ca62a274dbd21816bb058065d8a138d2efb9c9688886267829add0d64
#8 CACHED
#16 [server-production 3/5] COPY server/ ./server/
#16 sha256:dc7c09af1e690b7ebb11a49df39e9a1210ab7b48cd64d1c497d437b76e5db1a7
#16 CACHED

All the ways to loop

Warmup

Follow the directions in the code. Use the Printing out a grocery list code as a template to write your for loop

Printing out a grocery list

  1. Copy this code into your project
  2. Add your own grocery item to the list
  3. Run the code to see if your grocery item gets printed out
@breadchris
breadchris / thoughts-on-recipes.md
Last active February 8, 2025 13:15
Are recipes hard to follow?

For context, I am building an open source recipe site that addresses the issues that I tend to find people having when attempting a recipe. I would love to hear everyone's thoughts on this topic!

Two years ago, I was using canned chili and soylent as input to my biological computer (ie. I ate food, I didn't make food). Once I was exposed to resources like The Food Lab and SFAH, like many of you here, my life changed. I was repulsed by dishes that were not treated with care, and my mind's eye was opened to this new state of being. Chicken that didn't feel like rubber, eggs that weren't stink bombs, salad that I would actually look forward to eating. I evangelized The Food Lab to my friends and family, I bought them the book and delivered it to them, I did everything short of going to their door and asking "Do you have 10 minutes to talk about our Lord and Savior Kenji Lopez-Alt?". But there was no crispy oven potatoes made, or dead simple spatchcock chicken. Why wouldn't people read this damn book?

I reali