Skip to content

Commit c40cff5

Browse files
author
adnan wahab
committed
ocol
1 parent 954e6b6 commit c40cff5

File tree

10 files changed

+77
-87
lines changed

10 files changed

+77
-87
lines changed

200k_prs/readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
https://github.com/rnanosaur/nanosaur
44

55

6+
polymerization - three.meshline + rreusser + wwwtyro compute lines
67
sub-systems
78
https://github.com/dustynv/jetson-containers
89
https://github.com/observablheq/runtime

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ incorpate -- ideas from 8 billion people
2323
[![Rich Hickey - Simple Mady Easy - 2011](https://img.youtube.com/vi/mwMUJg2mfII/maxresdefault.jpg)](https://youtu.be/SxdOUGdseq4?si=dh0gFVybuG8m3Mgw)
2424

2525
[![Rich Hickey - Simple Mady Easy - 2011](https://img.youtube.com/vi/mwMUJg2mfII/maxresdefault.jpg)](https://youtu.be/SxdOUGdseq4?si=dh0gFVybuG8m3Mgw)
26-
# 1. ALan kay + his 25 friends created 60 Trillion in USD in 5 years - thats more than saudi aramco and 250 million years of dino saur fermentation using their mind!
26+
# 1. ALan kay + his 25 friends created 60 Trillion in USD in 5 years - thats more than saudi aramco and 250 million years of dino saur fermentation using their mind! (but also others carried forward their ideas.)
2727
# 2. Alan kay asked <a href="https://internetat50.com/references/Kay_How.pdf">HOW?</a>.
2828
# 3. OpeAI was made when Alan Kay met with YCResearch around 2016.
2929
# 4. Alan Kay said Sam Altman = "the builder of civilization"

web-ui/my-app/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"dev": "bun run --watch src/index.ts"
55
},
66
"dependencies": {
7-
"hono": "^4.6.5"
7+
"hono": "^4.6.5",
8+
"resend": "^4.0.0"
89
},
910
"devDependencies": {
1011
"@types/bun": "latest"

web-ui/my-app/src/index.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ app.all('/_/DynamicHow.tsx', async (c) => {
5252
})
5353

5454
app.all('/', async (c) => {
55-
return c.html(utills.indexPage)
55+
return c.html(utils.indexPage)
5656
})
5757

5858
app.all('/livekit_screenshare', async (c) => {
@@ -88,3 +88,8 @@ app.all('/iframe_observablbehq', async (c) => {
8888
const data = await response.text();
8989
return c.html(data);
9090
})
91+
import send_email from './marketing.tsx'
92+
93+
app.all('/marketing', async (c) => {
94+
return c.json(await send_email())
95+
})

web-ui/my-app/src/llama-tools.jsx

-74
This file was deleted.

web-ui/my-app/src/llama-tools.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ const llama_ = `
5858
<div class="flex p-px col-span-1">
5959
<div class="overflow-hidden rounded-lg bg-gray-800 ring-1 ring-white/15 w-full">
6060
<div class="p-4">
61-
<h3 class="text-sm/4 font-semibold text-gray-400">Performance</h3>
62-
<p class="mt-2 text-lg/7 font-medium tracking-tight text-white">Lightning-fast builds</p>
61+
<h3 class="text-sm/4 font-semibold text-gray-400">email</h3>
62+
<p class="mt-2 text-lg/7 font-medium tracking-tight text-white"></p>
6363
</div>
6464
</div>
6565
</div>

web-ui/my-app/src/marketing.tsx

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { Resend } from "resend";
2+
import * as React from "react";
3+
4+
const resend = new Resend();
5+
6+
const send_email = async () => {
7+
const data = await resend.emails.send({
8+
9+
10+
subject: "Hello from Bun + Resend + React Email 🫓💌",
11+
text: "Hello, Adnan!",
12+
});
13+
14+
return new Response(JSON.stringify(data));
15+
}
16+
export default send_email;
17+
18+
console.log(`Listening on http://localhost:${server.port} ...`);
19+
20+
21+
//use deno server-side rendering -------- Mix ML + nanite --- ray traced emails - 5 min per person ---
22+
23+
/// --- convert their ideas into a comic book -

web-ui/my-app/src/robotics-odyssey.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ function RoboticsOdyssey() {
3030
<LLama_Grid_cell title="4. Alan How" src="https://observablehq.com/embed/@roboticsuniversity/alan_how?cells=Complex_Systems" />
3131
<LLama_Grid_cell title="5. Dynamicland" src="https://observablehq.com/embed/@roboticsuniversity/dynamicland@83?cells=magic_cube%2Cladder_%2CSeeing_space" />
3232
<Sisterschools />
33+
{/* <iframe width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/4t3Xz8?gui=true&t=10&paused=true&muted=false" allowfullscreen></iframe> */}
3334
<Footer />
3435
{/* <Hardware_Picker></Hardware_Picker> */}
3536
</main>

web-ui/my-app/src/utils.ts

+28-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,31 @@ import { WebhookReceiver } from 'livekit-server-sdk';
1616

1717
import * as utils from './utils.ts'
1818

19+
20+
import $ from "bun"
21+
22+
const json_keys = await $`op item list --tags api --format json`.json()
23+
const shit = `#!/bin/bash
24+
25+
# Fetch all item IDs tagged with 'api'
26+
item_ids=$(op item list --tags api --format json | jq -r '.[].id')
27+
28+
# Loop through each item ID and retrieve the notes
29+
for id in $item_ids; do
30+
# Get the item details in JSON
31+
item_details=$(op item get "$id" --format json)
32+
33+
# Extract the title and notes
34+
title=$(echo "$item_details" | jq -r '.overview.title')
35+
notes=$(echo "$item_details" | jq -r '.notesPlain')
36+
37+
echo "------------------------------"
38+
echo "Title: $title"
39+
echo "Notes:"
40+
echo "$notes"
41+
echo "------------------------------"
42+
done`
43+
1944
const apiKey = process.env.LIVEKIT_API_KEY
2045
const apiSecret = process.env.LIVEKIT_API_SECRET
2146
const wsUrl = process.env.LIVEKIT_WS_URL
@@ -74,13 +99,13 @@ export const webhook_receiver = async (c: Context) => {
7499
</head>
75100
<body>
76101
<div class="p-4">
77-
<h1 class="text-4xl font-bold mb-4"><a href="/">Robotics Odyssey</a> <a class="float-right" href="https://buy.stripe.com/test_28o6oZelUe8g2HubII">pay via stripe </a></h1>
102+
<h1 class="text-4xl font-bold mb-4"><a href="/">Robotics Odyssey</a></h1>
78103
<div>${content}</div>
79104
</div>
80105
</body>
81106
</html>
82107
`
83-
108+
// <a class="float-right" href="https://buy.stripe.com/test_28o6oZelUe8g2HubII">pay via stripe </a><
84109
//after 1k signups - lower price to course by 10% by 1k till $5 for life.
85110
//only need 20k per year - (20k / 100) = (goal: 200per year) - rest -> reinveest to hardware
86111
//1 buy per day = all beings (awaken + flourish)
@@ -99,7 +124,7 @@ export const llama_ = `
99124
</head>
100125
<body>
101126
<div class="p-4">
102-
<h1 class="text-4xl font-bold mb-4"><a href="/">Robotics Odyssey</a> <a class="float-right" href="https://buy.stripe.com/test_28o6oZelUe8g2HubII">pay via stripe </a></h1>
127+
<h1 class="text-4xl font-bold mb-4"><a href="/">LLama Tools</a> <a class="float-right hidden" href="https://buy.stripe.com/test_28o6oZelUe8g2HubII">pay via stripe </a></h1>
103128
<div class="bg-gray-900 py-2 sm:py-32">
104129
<div class="mx-auto px-6 lg:max-w-7xl lg:px-8">
105130
<h2 class="text-base/7 font-semibold text-indigo-400">Deploy faster</h2>

web-ui/my-app/views/sisterschools.tsx

+13-5
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ export default function Example() {
66
Sister Schools
77
</h2>
88
<div className="mx-auto grid max-w-lg grid-cols-4 items-center gap-x-8 gap-y-10 sm:max-w-xl sm:grid-cols-6 sm:gap-x-10 lg:mx-0 lg:max-w-none lg:grid-cols-5">
9+
910
<img
10-
alt="Dynamcland"
11-
src="https://pbs.twimg.com/profile_images/907410769343426561/Zr3Z2_cD_400x400.jpg"
11+
alt="Y Combinator"
12+
src="https://pbs.twimg.com/profile_images/1623777064821358592/9CApQWXe_400x400.png"
1213
width={158}
1314
height={48}
1415
className="col-span-2 max-h-12 w-full object-contain lg:col-span-1"
1516
/>
16-
<img
17-
alt="Y Combinator"
18-
src="https://pbs.twimg.com/profile_images/1623777064821358592/9CApQWXe_400x400.png"
17+
<img
18+
alt="Dynamcland"
19+
src="https://pbs.twimg.com/profile_images/907410769343426561/Zr3Z2_cD_400x400.jpg"
1920
width={158}
2021
height={48}
2122
className="col-span-2 max-h-12 w-full object-contain lg:col-span-1"
@@ -41,6 +42,13 @@ export default function Example() {
4142
height={48}
4243
className="col-span-2 col-start-2 max-h-12 w-full object-contain sm:col-start-auto lg:col-span-1"
4344
/>
45+
<img
46+
alt="SICP"
47+
src="https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/full-text/book/cover.jpg"
48+
width={158}
49+
height={48}
50+
className="col-span-2 col-start-2 max-h-12 w-full object-contain sm:col-start-auto lg:col-span-1"
51+
/>
4452
</div>
4553
</div>
4654
</div>

0 commit comments

Comments
 (0)