From 5b7f767182f77f663331b511129cfdd432a8a871 Mon Sep 17 00:00:00 2001 From: adnan wahab Date: Sat, 12 Oct 2024 10:09:37 -0500 Subject: [PATCH] cool --- infra/scripts/_gen_install.sh | 0 infra/scripts/bootstrap.sh | 0 infra/scripts/get_comments.sh | 0 infra/scripts/install-observable-server.sh | 0 infra/scripts/install.sh | 0 infra/scripts/post_commit.sh | 0 infra/scripts/restart-blog.sh | 0 infra/scripts/symlink-all-scripts.sh | 0 pkg/utils/rendering.go | 15 +++++++++++++++ 9 files changed, 15 insertions(+) mode change 100644 => 100755 infra/scripts/_gen_install.sh mode change 100644 => 100755 infra/scripts/bootstrap.sh mode change 100644 => 100755 infra/scripts/get_comments.sh mode change 100644 => 100755 infra/scripts/install-observable-server.sh mode change 100644 => 100755 infra/scripts/install.sh mode change 100644 => 100755 infra/scripts/post_commit.sh mode change 100644 => 100755 infra/scripts/restart-blog.sh mode change 100644 => 100755 infra/scripts/symlink-all-scripts.sh diff --git a/infra/scripts/_gen_install.sh b/infra/scripts/_gen_install.sh old mode 100644 new mode 100755 diff --git a/infra/scripts/bootstrap.sh b/infra/scripts/bootstrap.sh old mode 100644 new mode 100755 diff --git a/infra/scripts/get_comments.sh b/infra/scripts/get_comments.sh old mode 100644 new mode 100755 diff --git a/infra/scripts/install-observable-server.sh b/infra/scripts/install-observable-server.sh old mode 100644 new mode 100755 diff --git a/infra/scripts/install.sh b/infra/scripts/install.sh old mode 100644 new mode 100755 diff --git a/infra/scripts/post_commit.sh b/infra/scripts/post_commit.sh old mode 100644 new mode 100755 diff --git a/infra/scripts/restart-blog.sh b/infra/scripts/restart-blog.sh old mode 100644 new mode 100755 diff --git a/infra/scripts/symlink-all-scripts.sh b/infra/scripts/symlink-all-scripts.sh old mode 100644 new mode 100755 diff --git a/pkg/utils/rendering.go b/pkg/utils/rendering.go index cda2e5c63..1c98fa0ef 100644 --- a/pkg/utils/rendering.go +++ b/pkg/utils/rendering.go @@ -99,6 +99,19 @@ func SetupRendering(e *echo.Echo) { // if err := setupDynamicRoutes(e); err != nil { // log.Fatalf("Error setting up dynamic routes: %v", err) // } +<<<<<<< HEAD +======= + e.GET("/", func(c echo.Context) error { + return c.Render(http.StatusOK, "blog.html", nil) + }) + e.GET("/robotics-university", func(c echo.Context) error { + return c.Render(http.StatusOK, "robotics-odyssey.html", nil) + }) + + e.GET("/robotiics-odyssey", func(c echo.Context) error { + return c.Render(http.StatusOK, "robotics-odyssey.html", nil) + }) +>>>>>>> 7caba74 (cool) // Define routes dynamically routes := []string{"/pub", "/cgi-tools", "/office-hours", "/signup", "/llama-tools"} @@ -215,3 +228,5 @@ func PreRender(route string) { // name 10 companies that had phd founders //llms let anyone get a phd -self taught - poke into the knowledge + +// purpose of homelab -> run a go process -> ___ catch erorrs -> handle them for users. anduril-lattice \ No newline at end of file