Skip to content

Instantly share code, notes, and snippets.

View breadchris's full-sized avatar

Chris breadchris

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@breadchris
breadchris / export.html
Created March 3, 2020 07:02
pocket backup
<!DOCTYPE html>
<html>
<!--So long and thanks for all the fish-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Pocket Export</title>
</head>
<body>
<h1>Unread</h1>
<ul>
@breadchris
breadchris / thoughts-on-recipes.md
Last active October 8, 2023 10:04
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

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
#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
@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": {
@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 / ideas.md
Last active February 11, 2023 00:27
Next Gen Vuln Search Page
@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 / 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 {