Skip to content

Instantly share code, notes, and snippets.

View sagerio's full-sized avatar

sager.io sagerio

View GitHub Profile
@sagerio
sagerio / index.html
Created September 3, 2024 20:59 — forked from alyssaq/index.html
HTML5 skeleton template
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>App</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script charset="utf-8" src="js/app.js"></script>
<link rel="stylesheet" href="css/app.css" />
</head>
<body>
{
"compileOnSave": false,
"compilerOptions": {
"target": "ES2020",
"module": "esnext",
"moduleResolution": "Node",
"lib": ["ES2020"],
"strict": true,
"skipLibCheck": true,
"incremental": true,
@sagerio
sagerio / drizzle-studio-codespaces
Created May 6, 2025 21:13 — forked from KyGuy2002/drizzle-studio-codespaces
Using Drizzle Studio for local database access in GitHub Codespaces
Drizzle Studio is a cloud hosted web ui `local.drizzle.studio`.
It connects to the local hosted api that is started when using `drizzle-kit studio` in your terminal.
By default, the ui tries to connect to localhost:4983.
If using github codespaces, the server will be at a link like `your-codespace-name-4983.app.github.dev`.
If you try to use the `--host` param for the cli it won't work. (https://github.com/drizzle-team/drizzle-kit-mirror/issues/381)
Instead, use the `?host` query param when accessing `local.drizzle.studio`.