omnius 1.0.714 → 1.0.716
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/npm-shrinkwrap.json +24 -24
- package/package.json +2 -1
- package/skills/reference/flaviocopes/README.md +54 -0
- package/skills/reference/flaviocopes/manifest.json +1532 -0
- package/skills/reference/flaviocopes/skills/ai-agent-skills/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/ai-fundamentals/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/alpinejs/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/api-security/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/astro/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/astro-handbook/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/automate-macos/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/backup-and-restore/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/browser-extensions/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/browser-internals/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/browser-storage/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/build-macos-apps-swiftui/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/build-with-mcp/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/bun/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/c-handbook/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/caddy/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/cli-commands-handbook/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/clickhouse/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/cloudflare/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/cloudflare-d1/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/cloudflare-domains/SKILL.md +43 -0
- package/skills/reference/flaviocopes/skills/cloudflare-workers/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/cryptography-for-developers/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/css/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/css-handbook/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/curl/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/dns/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/docker/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/drizzle/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/electron/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/email-protocols/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/events-logger/SKILL.md +41 -0
- package/skills/reference/flaviocopes/skills/express/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/express-handbook/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/forms/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/ftp/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/git/SKILL.md +79 -0
- package/skills/reference/flaviocopes/skills/git-cheat-sheet/SKILL.md +77 -0
- package/skills/reference/flaviocopes/skills/github-actions-cicd/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/go-handbook/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/home-server/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/hono/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/html/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/html-handbook/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/htmx/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/http/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/javascript/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/js-handbook/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/language-model-builder/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/laravel-handbook/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/linux-basics/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/linux-server-security/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/linux-storage-backups/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/linux-troubleshooting/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/livestream-recorder/SKILL.md +37 -0
- package/skills/reference/flaviocopes/skills/local-ai-models/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/local-hoster/SKILL.md +43 -0
- package/skills/reference/flaviocopes/skills/macos-basics/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/macos-for-developers/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/macos-internals-troubleshooting/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/mcp/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/mongodb/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/mysql/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/native-web-interfaces/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/networking-foundations/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/nextjs/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/nextjs-pages-router-handbook/SKILL.md +77 -0
- package/skills/reference/flaviocopes/skills/nginx/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/node-handbook/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/nodejs/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/npm-package-publishing/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/php-handbook/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/plausible-automation/SKILL.md +43 -0
- package/skills/reference/flaviocopes/skills/port-pilot/SKILL.md +43 -0
- package/skills/reference/flaviocopes/skills/postgresql/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/practical-debugging/SKILL.md +78 -0
- package/skills/reference/flaviocopes/skills/python-handbook/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/react/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/react-handbook/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/real-time-web-applications/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/reverse-proxies-load-balancers/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/security-fundamentals/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/shadcn-ui/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/shell-scripting/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/ship-macos-apps/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/socket-programming/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/software-supply-chain-security/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/sql/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/sql-handbook/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/sqlite/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/ssh/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/supabase/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/swift/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/swift-handbook/SKILL.md +80 -0
- package/skills/reference/flaviocopes/skills/swiftui/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/systemd/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/tailscale/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/tailwind/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/telnet/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/terminal/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/testing/SKILL.md +79 -0
- package/skills/reference/flaviocopes/skills/tls-certificates/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/tte-js/SKILL.md +37 -0
- package/skills/reference/flaviocopes/skills/typescript/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/vercel/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/vpn/SKILL.md +81 -0
- package/skills/reference/flaviocopes/skills/vps/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/waiting-lists/SKILL.md +41 -0
- package/skills/reference/flaviocopes/skills/web-accessibility/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/web-apis/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/web-application-security/SKILL.md +82 -0
- package/skills/reference/flaviocopes/skills/web-authentication/SKILL.md +82 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
source_pack: flaviocopes
|
|
3
|
+
source_kind: course
|
|
4
|
+
compaction_strategy: structured
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# curl Course
|
|
8
|
+
|
|
9
|
+
curl reference card. 14 topic areas, 70 worked code samples in bash, json. Routing card only — full text lives in the local corpus.
|
|
10
|
+
|
|
11
|
+
## Triggers
|
|
12
|
+
|
|
13
|
+
- curl reference
|
|
14
|
+
- how do I do X in curl
|
|
15
|
+
- curl syntax
|
|
16
|
+
- look up curl
|
|
17
|
+
- bash curl example
|
|
18
|
+
- networking and protocols: curl
|
|
19
|
+
|
|
20
|
+
## Covers
|
|
21
|
+
|
|
22
|
+
- Request basics
|
|
23
|
+
- Inspect your curl installation
|
|
24
|
+
- Make a GET request
|
|
25
|
+
- Inspect a request with verbose output
|
|
26
|
+
- Save and name response files
|
|
27
|
+
- Check your understanding: request basics
|
|
28
|
+
- Send request data
|
|
29
|
+
- Build a query string safely
|
|
30
|
+
- Send JSON
|
|
31
|
+
- Submit forms and files
|
|
32
|
+
- Choose a method deliberately
|
|
33
|
+
- Check your understanding: send request data
|
|
34
|
+
- State and authentication
|
|
35
|
+
- Use Basic authentication
|
|
36
|
+
|
|
37
|
+
19 further sections are indexed in the local corpus.
|
|
38
|
+
|
|
39
|
+
## Concept index
|
|
40
|
+
|
|
41
|
+
Identifiers that appear in this title's code samples. Use them as search
|
|
42
|
+
keys against the local corpus, and as a check on whether this is the right
|
|
43
|
+
reference before reading further.
|
|
44
|
+
|
|
45
|
+
`example.org` · `httpbin.org` · `--output` · `--data` · `robots.txt` · `cookies.txt` · `SSL` · `--silent` · `--fail` · `--json` · `--form` · `--verbose` · `--write-out` · `smoke.curl` · `notes.txt` · `--get` · `--data-urlencode` · `--max-time` · `--header` · `--location` · `response_code` · `LAB_API_TOKEN` · `--config` · `--user` · `--connect-timeout` · `--version` · `DELETE` · `--cookie-jar` · `--cookie` · `--resolve` · `CONNECT` · `--trace-ascii` · `trace.txt` · `--trace-time` · `smoke.sh` · `curl.se` · `request.json` · `--request` · `--proxy` · `--retry`
|
|
46
|
+
|
|
47
|
+
## When to use
|
|
48
|
+
|
|
49
|
+
- A curl question needs a worked, checked answer rather than recall.
|
|
50
|
+
- You are about to guess at curl syntax, a flag, or an API shape.
|
|
51
|
+
- The task touches an area listed under Covers above.
|
|
52
|
+
|
|
53
|
+
## When not to use
|
|
54
|
+
|
|
55
|
+
- The question is about this project's own code — read the code instead.
|
|
56
|
+
- A sibling card below is a closer fit; prefer the narrower one.
|
|
57
|
+
|
|
58
|
+
## Related
|
|
59
|
+
|
|
60
|
+
- `networking-foundations` — Networking Foundations Course
|
|
61
|
+
- `http` — HTTP Course
|
|
62
|
+
- `dns` — DNS Course
|
|
63
|
+
- `email-protocols` — Email Protocols Course
|
|
64
|
+
- `ftp` — FTP Course
|
|
65
|
+
- `telnet` — Telnet Course
|
|
66
|
+
|
|
67
|
+
## Full text
|
|
68
|
+
|
|
69
|
+
Source: https://downloads.flaviocopes.com/course-downloads/curl.epub
|
|
70
|
+
|
|
71
|
+
The full text is not bundled. Fetch it once into the local corpus:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
omnius library fetch flaviocopes --title curl
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Then search it:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
omnius library search flaviocopes "<query>" --title curl
|
|
81
|
+
```
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
source_pack: flaviocopes
|
|
3
|
+
source_kind: course
|
|
4
|
+
compaction_strategy: structured
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# DNS Course
|
|
8
|
+
|
|
9
|
+
DNS reference card. 14 topic areas, 45 worked code samples in bash. Routing card only — full text lives in the local corpus.
|
|
10
|
+
|
|
11
|
+
## Triggers
|
|
12
|
+
|
|
13
|
+
- DNS reference
|
|
14
|
+
- how do I do X in DNS
|
|
15
|
+
- DNS syntax
|
|
16
|
+
- look up DNS
|
|
17
|
+
- bash dns example
|
|
18
|
+
- networking and protocols: dns
|
|
19
|
+
|
|
20
|
+
## Covers
|
|
21
|
+
|
|
22
|
+
- How DNS works
|
|
23
|
+
- What DNS solves
|
|
24
|
+
- Names, labels, and fully qualified names
|
|
25
|
+
- Follow a DNS lookup
|
|
26
|
+
- Recursive resolvers and caches
|
|
27
|
+
- Check your understanding: how DNS works
|
|
28
|
+
- Zones and delegation
|
|
29
|
+
- Registry, registrar, and DNS host
|
|
30
|
+
- Zones, the apex, and subdomains
|
|
31
|
+
- Nameservers and NS records
|
|
32
|
+
- SOA records and authority
|
|
33
|
+
- Check your understanding: zones and delegation
|
|
34
|
+
- DNS record types
|
|
35
|
+
- A and AAAA records
|
|
36
|
+
|
|
37
|
+
25 further sections are indexed in the local corpus.
|
|
38
|
+
|
|
39
|
+
## Concept index
|
|
40
|
+
|
|
41
|
+
Identifiers that appear in this title's code samples. Use them as search
|
|
42
|
+
keys against the local corpus, and as a check on whether this is the right
|
|
43
|
+
reference before reading further.
|
|
44
|
+
|
|
45
|
+
`example.com` · `flaviocopes.com` · `www.example.com` · `AAAA` · `authoritative_server` · `TXT` · `CNAME` · `SOA` · `team.example.com` · `SERVFAIL` · `api.shop.example.com` · `sites.hosting` · `company.test` · `mail1.example.net` · `--resolve` · `cloudflare.com` · `new.example.com` · `NOERROR` · `ns1.example.com` · `_dmarc.example.com` · `DNSKEY` · `NXDOMAIN` · `RRSIG` · `api.example.com` · `mail2.example.net` · `CAA` · `SRV` · `_sip._tcp.example.com` · `missing.example.com` · `existing.example.com` · `REFUSED` · `SECTION` · `myapp.pages.dev` · `_spf.mail` · `provider.test` · `mailer._domainkey.example.com` · `DMARC1` · `printer.office.example.com` · `api.shop` · `api.shop.example.com.example.com`
|
|
46
|
+
|
|
47
|
+
## When to use
|
|
48
|
+
|
|
49
|
+
- A DNS question needs a worked, checked answer rather than recall.
|
|
50
|
+
- You are about to guess at DNS syntax, a flag, or an API shape.
|
|
51
|
+
- The task touches an area listed under Covers above.
|
|
52
|
+
|
|
53
|
+
## When not to use
|
|
54
|
+
|
|
55
|
+
- The question is about this project's own code — read the code instead.
|
|
56
|
+
- A sibling card below is a closer fit; prefer the narrower one.
|
|
57
|
+
|
|
58
|
+
## Related
|
|
59
|
+
|
|
60
|
+
- `networking-foundations` — Networking Foundations Course
|
|
61
|
+
- `http` — HTTP Course
|
|
62
|
+
- `email-protocols` — Email Protocols Course
|
|
63
|
+
- `ftp` — FTP Course
|
|
64
|
+
- `telnet` — Telnet Course
|
|
65
|
+
- `curl` — curl Course
|
|
66
|
+
|
|
67
|
+
## Full text
|
|
68
|
+
|
|
69
|
+
Source: https://downloads.flaviocopes.com/course-downloads/dns.epub
|
|
70
|
+
|
|
71
|
+
The full text is not bundled. Fetch it once into the local corpus:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
omnius library fetch flaviocopes --title dns
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Then search it:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
omnius library search flaviocopes "<query>" --title dns
|
|
81
|
+
```
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
source_pack: flaviocopes
|
|
3
|
+
source_kind: course
|
|
4
|
+
compaction_strategy: structured
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Docker Course
|
|
8
|
+
|
|
9
|
+
Docker reference card. 14 topic areas, 48 worked code samples in bash, dockerfile, yaml, json, js. Routing card only — full text lives in the local corpus.
|
|
10
|
+
|
|
11
|
+
## Triggers
|
|
12
|
+
|
|
13
|
+
- Docker reference
|
|
14
|
+
- how do I do X in Docker
|
|
15
|
+
- Docker syntax
|
|
16
|
+
- look up Docker
|
|
17
|
+
- bash docker example
|
|
18
|
+
- dockerfile docker example
|
|
19
|
+
- linux, servers and deployment: docker
|
|
20
|
+
|
|
21
|
+
## Covers
|
|
22
|
+
|
|
23
|
+
- Container foundations
|
|
24
|
+
- What a container is
|
|
25
|
+
- Install and verify Docker
|
|
26
|
+
- Run and inspect a container
|
|
27
|
+
- Connect images, containers, and registries
|
|
28
|
+
- Check your understanding: container foundations
|
|
29
|
+
- Build images
|
|
30
|
+
- Create the Notes API
|
|
31
|
+
- Write the first Dockerfile
|
|
32
|
+
- Control the build context
|
|
33
|
+
- Use layer caching deliberately
|
|
34
|
+
- Check your understanding: build images
|
|
35
|
+
- Data and networking
|
|
36
|
+
- Separate data from containers
|
|
37
|
+
|
|
38
|
+
19 further sections are indexed in the local corpus.
|
|
39
|
+
|
|
40
|
+
## Concept index
|
|
41
|
+
|
|
42
|
+
Identifiers that appear in this title's code samples. Use them as search
|
|
43
|
+
keys against the local corpus, and as a check on whether this is the right
|
|
44
|
+
reference before reading further.
|
|
45
|
+
|
|
46
|
+
`COPY` · `server.js` · `--rm` · `RUN` · `CMD` · `WORKDIR` · `--format` · `--name` · `package.json` · `PORT` · `EXPOSE` · `--omit` · `POSTGRES_PASSWORD` · `--build` · `YOUR_NAME` · `--version` · `ENV` · `--mount` · `--from` · `node_modules` · `createServer` · `note.txt` · `--network` · `pg_isready` · `depends_on` · `compose.yaml` · `USER` · `State.ExitCode` · `--pull` · `--no-cache` · `CACHED` · `DATABASE_URL` · `service_healthy` · `--chown` · `State.Error` · `--tail` · `--no-stream` · `ghcr.io` · `setHeader` · `JSON`
|
|
47
|
+
|
|
48
|
+
## When to use
|
|
49
|
+
|
|
50
|
+
- A Docker question needs a worked, checked answer rather than recall.
|
|
51
|
+
- You are about to guess at Docker syntax, a flag, or an API shape.
|
|
52
|
+
- The task touches an area listed under Covers above.
|
|
53
|
+
|
|
54
|
+
## When not to use
|
|
55
|
+
|
|
56
|
+
- The question is about this project's own code — read the code instead.
|
|
57
|
+
- A sibling card below is a closer fit; prefer the narrower one.
|
|
58
|
+
|
|
59
|
+
## Related
|
|
60
|
+
|
|
61
|
+
- `linux-basics` — Linux Basics Course
|
|
62
|
+
- `home-server` — Build a Home Server Course
|
|
63
|
+
- `backup-and-restore` — Backup and Restore Course
|
|
64
|
+
- `systemd` — systemd Course
|
|
65
|
+
- `nginx` — Nginx Course
|
|
66
|
+
- `caddy` — Caddy Course
|
|
67
|
+
|
|
68
|
+
## Full text
|
|
69
|
+
|
|
70
|
+
Source: https://downloads.flaviocopes.com/course-downloads/docker.epub
|
|
71
|
+
|
|
72
|
+
The full text is not bundled. Fetch it once into the local corpus:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
omnius library fetch flaviocopes --title docker
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Then search it:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
omnius library search flaviocopes "<query>" --title docker
|
|
82
|
+
```
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
source_pack: flaviocopes
|
|
3
|
+
source_kind: course
|
|
4
|
+
compaction_strategy: structured
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Drizzle ORM Course
|
|
8
|
+
|
|
9
|
+
Drizzle ORM reference card. 14 topic areas, 56 worked code samples in ts, typescript, bash, sql, js. Routing card only — full text lives in the local corpus.
|
|
10
|
+
|
|
11
|
+
## Triggers
|
|
12
|
+
|
|
13
|
+
- Drizzle ORM reference
|
|
14
|
+
- how do I do X in Drizzle ORM
|
|
15
|
+
- Drizzle ORM syntax
|
|
16
|
+
- look up Drizzle ORM
|
|
17
|
+
- ts drizzle orm example
|
|
18
|
+
- typescript drizzle orm example
|
|
19
|
+
- databases and storage: drizzle orm
|
|
20
|
+
|
|
21
|
+
## Covers
|
|
22
|
+
|
|
23
|
+
- Drizzle foundations
|
|
24
|
+
- Choose Drizzle with open eyes
|
|
25
|
+
- Create the notes project
|
|
26
|
+
- Open SQLite with Drizzle
|
|
27
|
+
- Run and inspect the first query
|
|
28
|
+
- Check your understanding: drizzle foundations
|
|
29
|
+
- Schema and migrations
|
|
30
|
+
- Define users and notes
|
|
31
|
+
- Put rules in the schema
|
|
32
|
+
- Configure Drizzle Kit
|
|
33
|
+
- Generate, review, and apply migrations
|
|
34
|
+
- Check your understanding: schema and migrations
|
|
35
|
+
- Typed CRUD
|
|
36
|
+
- Insert users and notes
|
|
37
|
+
|
|
38
|
+
19 further sections are indexed in the local corpus.
|
|
39
|
+
|
|
40
|
+
## Concept index
|
|
41
|
+
|
|
42
|
+
Identifiers that appear in this title's code samples. Use them as search
|
|
43
|
+
keys against the local corpus, and as a check on whether this is the right
|
|
44
|
+
reference before reading further.
|
|
45
|
+
|
|
46
|
+
`authorId` · `author_id` · `notNull` · `userId` · `DB_FILE_NAME` · `createdAt` · `sqliteTable` · `index.ts` · `created_at` · `KEY` · `flaviocopes.com` · `archivedAt` · `FOREIGN` · `toSQL` · `primaryKey` · `archived_at` · `isNull` · `autoIncrement` · `notes_author_created_idx` · `drizzle.config.ts` · `CREATE` · `TABLE` · `INDEX` · `authorName` · `notes.sqlite` · `orderBy` · `CURRENT_TIMESTAMP` · `--name` · `UNIQUE` · `noteId` · `notes.authorId` · `defineRelations` · `findFirst` · `onDelete` · `defineConfig` · `schema.ts` · `PRIMARY` · `AUTOINCREMENT` · `DEFAULT` · `users.id`
|
|
47
|
+
|
|
48
|
+
## When to use
|
|
49
|
+
|
|
50
|
+
- A Drizzle ORM question needs a worked, checked answer rather than recall.
|
|
51
|
+
- You are about to guess at Drizzle ORM syntax, a flag, or an API shape.
|
|
52
|
+
- The task touches an area listed under Covers above.
|
|
53
|
+
|
|
54
|
+
## When not to use
|
|
55
|
+
|
|
56
|
+
- The question is about this project's own code — read the code instead.
|
|
57
|
+
- A sibling card below is a closer fit; prefer the narrower one.
|
|
58
|
+
|
|
59
|
+
## Related
|
|
60
|
+
|
|
61
|
+
- `sql` — SQL Course
|
|
62
|
+
- `sqlite` — SQLite Course
|
|
63
|
+
- `mysql` — MySQL Course
|
|
64
|
+
- `postgresql` — PostgreSQL Course
|
|
65
|
+
- `mongodb` — MongoDB Course
|
|
66
|
+
- `supabase` — Supabase Course
|
|
67
|
+
|
|
68
|
+
## Full text
|
|
69
|
+
|
|
70
|
+
Source: https://downloads.flaviocopes.com/course-downloads/drizzle.epub
|
|
71
|
+
|
|
72
|
+
The full text is not bundled. Fetch it once into the local corpus:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
omnius library fetch flaviocopes --title drizzle
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Then search it:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
omnius library search flaviocopes "<query>" --title drizzle
|
|
82
|
+
```
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
source_pack: flaviocopes
|
|
3
|
+
source_kind: course
|
|
4
|
+
compaction_strategy: structured
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Electron Course
|
|
8
|
+
|
|
9
|
+
Electron reference card. 14 topic areas, 50 worked code samples in js, javascript, bash, html. Routing card only — full text lives in the local corpus.
|
|
10
|
+
|
|
11
|
+
## Triggers
|
|
12
|
+
|
|
13
|
+
- Electron reference
|
|
14
|
+
- how do I do X in Electron
|
|
15
|
+
- Electron syntax
|
|
16
|
+
- look up Electron
|
|
17
|
+
- js electron example
|
|
18
|
+
- javascript electron example
|
|
19
|
+
- server runtimes and apis: electron
|
|
20
|
+
|
|
21
|
+
## Covers
|
|
22
|
+
|
|
23
|
+
- Foundations and setup
|
|
24
|
+
- What Electron is
|
|
25
|
+
- Decide if Electron fits the app
|
|
26
|
+
- Prepare the toolchain
|
|
27
|
+
- Create the Electron Forge project
|
|
28
|
+
- Read the generated project
|
|
29
|
+
- Check your understanding: foundations and setup
|
|
30
|
+
- Windows and the renderer
|
|
31
|
+
- Understand the process model
|
|
32
|
+
- Create the main window
|
|
33
|
+
- Handle the window lifecycle
|
|
34
|
+
- Build the notes interface
|
|
35
|
+
- Render notes safely
|
|
36
|
+
- Check your understanding: windows and renderer
|
|
37
|
+
|
|
38
|
+
31 further sections are indexed in the local corpus.
|
|
39
|
+
|
|
40
|
+
## Concept index
|
|
41
|
+
|
|
42
|
+
Identifiers that appear in this title's code samples. Use them as search
|
|
43
|
+
keys against the local corpus, and as a check on whether this is the right
|
|
44
|
+
reference before reading further.
|
|
45
|
+
|
|
46
|
+
`validateNotes` · `ipcRenderer` · `mainWindow` · `filePath` · `writeNotes` · `readNotes` · `index.js` · `textContent` · `contextBridge` · `notesAPI` · `webContents` · `createWindow` · `assertTrustedSender` · `ipcMain` · `notesPath` · `userData` · `notes.json` · `--version` · `saveNotes` · `nodeIntegration` · `querySelector` · `renderNotes` · `senderFrame` · `contextIsolation` · `exposeInMainWorld` · `onNewNote` · `renderer.js` · `selectedId` · `JSON` · `temporaryPath` · `appBundleId` · `index.html` · `MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY` · `whenReady` · `loadNotes` · `exportNotes` · `createNote` · `window.notesAPI` · `ipcMain.handle` · `setWindowOpenHandler`
|
|
47
|
+
|
|
48
|
+
## When to use
|
|
49
|
+
|
|
50
|
+
- A Electron question needs a worked, checked answer rather than recall.
|
|
51
|
+
- You are about to guess at Electron syntax, a flag, or an API shape.
|
|
52
|
+
- The task touches an area listed under Covers above.
|
|
53
|
+
|
|
54
|
+
## When not to use
|
|
55
|
+
|
|
56
|
+
- The question is about this project's own code — read the code instead.
|
|
57
|
+
- A sibling card below is a closer fit; prefer the narrower one.
|
|
58
|
+
|
|
59
|
+
## Related
|
|
60
|
+
|
|
61
|
+
- `nodejs` — Node.js Course
|
|
62
|
+
- `bun` — Bun Course
|
|
63
|
+
- `express` — Express Course
|
|
64
|
+
- `hono` — Hono Course
|
|
65
|
+
- `socket-programming` — Socket Programming with Node.js
|
|
66
|
+
- `real-time-web-applications` — Real-time Web Applications Course
|
|
67
|
+
|
|
68
|
+
## Full text
|
|
69
|
+
|
|
70
|
+
Source: https://downloads.flaviocopes.com/course-downloads/electron.epub
|
|
71
|
+
|
|
72
|
+
The full text is not bundled. Fetch it once into the local corpus:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
omnius library fetch flaviocopes --title electron
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Then search it:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
omnius library search flaviocopes "<query>" --title electron
|
|
82
|
+
```
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
source_pack: flaviocopes
|
|
3
|
+
source_kind: course
|
|
4
|
+
compaction_strategy: structured
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Email Protocols Course
|
|
8
|
+
|
|
9
|
+
Email Protocols reference card. 14 topic areas, 41 worked code samples in bash, json, js, javascript. Routing card only — full text lives in the local corpus.
|
|
10
|
+
|
|
11
|
+
## Triggers
|
|
12
|
+
|
|
13
|
+
- Email Protocols reference
|
|
14
|
+
- how do I do X in Email Protocols
|
|
15
|
+
- Email Protocols syntax
|
|
16
|
+
- look up Email Protocols
|
|
17
|
+
- bash email protocols example
|
|
18
|
+
- json email protocols example
|
|
19
|
+
- networking and protocols: email protocols
|
|
20
|
+
|
|
21
|
+
## Covers
|
|
22
|
+
|
|
23
|
+
- How email moves
|
|
24
|
+
- The parts of an email system
|
|
25
|
+
- The envelope and the message
|
|
26
|
+
- Follow one email across the Internet
|
|
27
|
+
- Protocols along the path
|
|
28
|
+
- Check your understanding: the email system
|
|
29
|
+
- The SMTP conversation
|
|
30
|
+
- Start an SMTP session
|
|
31
|
+
- Build the SMTP envelope
|
|
32
|
+
- Send message data
|
|
33
|
+
- Read SMTP reply codes
|
|
34
|
+
- Check your understanding: SMTP
|
|
35
|
+
- Submission and delivery
|
|
36
|
+
- Submission is not relay
|
|
37
|
+
|
|
38
|
+
31 further sections are indexed in the local corpus.
|
|
39
|
+
|
|
40
|
+
## Concept index
|
|
41
|
+
|
|
42
|
+
Identifiers that appear in this title's code samples. Use them as search
|
|
43
|
+
keys against the local corpus, and as a check on whether this is the right
|
|
44
|
+
reference before reading further.
|
|
45
|
+
|
|
46
|
+
`flaviocopes.com` · `studiorossi.it` · `EHLO` · `MAIL` · `RCPT` · `UID` · `DATA` · `STARTTLS` · `smtp.fastmail.com` · `FETCH` · `AUTH` · `DELE` · `LIST` · `FLAGS` · `SIZE` · `TLS` · `QUIT` · `SMTPUTF8` · `TCP` · `SELECT` · `SEARCH` · `STORE` · `UIDVALIDITY` · `mx.studiorossi.it` · `EXISTS` · `laptop.local` · `--mail-boundary-42` · `STAT` · `UIDL` · `RETR` · `A001` · `INBOX` · `SMTP` · `POP3` · `s_client` · `USER` · `PASS` · `IDLE` · `SUBJECT` · `A002`
|
|
47
|
+
|
|
48
|
+
## When to use
|
|
49
|
+
|
|
50
|
+
- A Email Protocols question needs a worked, checked answer rather than recall.
|
|
51
|
+
- You are about to guess at Email Protocols syntax, a flag, or an API shape.
|
|
52
|
+
- The task touches an area listed under Covers above.
|
|
53
|
+
|
|
54
|
+
## When not to use
|
|
55
|
+
|
|
56
|
+
- The question is about this project's own code — read the code instead.
|
|
57
|
+
- A sibling card below is a closer fit; prefer the narrower one.
|
|
58
|
+
|
|
59
|
+
## Related
|
|
60
|
+
|
|
61
|
+
- `networking-foundations` — Networking Foundations Course
|
|
62
|
+
- `http` — HTTP Course
|
|
63
|
+
- `dns` — DNS Course
|
|
64
|
+
- `ftp` — FTP Course
|
|
65
|
+
- `telnet` — Telnet Course
|
|
66
|
+
- `curl` — curl Course
|
|
67
|
+
|
|
68
|
+
## Full text
|
|
69
|
+
|
|
70
|
+
Source: https://downloads.flaviocopes.com/course-downloads/email-protocols.epub
|
|
71
|
+
|
|
72
|
+
The full text is not bundled. Fetch it once into the local corpus:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
omnius library fetch flaviocopes --title email-protocols
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Then search it:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
omnius library search flaviocopes "<query>" --title email-protocols
|
|
82
|
+
```
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
source_pack: flaviocopes
|
|
3
|
+
source_kind: software
|
|
4
|
+
license: MIT
|
|
5
|
+
compaction_strategy: structured
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Events Logger
|
|
9
|
+
|
|
10
|
+
Self-hosted event tracking dashboard with a REST API and CLI, built on Astro, HTMX, Alpine.js and SQLite.
|
|
11
|
+
|
|
12
|
+
## Triggers
|
|
13
|
+
|
|
14
|
+
- events-logger source
|
|
15
|
+
- how does events-logger work
|
|
16
|
+
- astro reference implementation
|
|
17
|
+
- standing up self-hosted analytics without a third-party tracker
|
|
18
|
+
- a worked Astro + HTMX + Alpine + SQLite stack to read end to end
|
|
19
|
+
|
|
20
|
+
## Reach for this when
|
|
21
|
+
|
|
22
|
+
- You need standing up self-hosted analytics without a third-party tracker.
|
|
23
|
+
- You need a worked Astro + HTMX + Alpine + SQLite stack to read end to end.
|
|
24
|
+
|
|
25
|
+
## Shape
|
|
26
|
+
|
|
27
|
+
- Language: Astro
|
|
28
|
+
- License: MIT — redistributable with the license and attribution kept intact.
|
|
29
|
+
- Repository: https://github.com/flaviocopes/events-logger
|
|
30
|
+
|
|
31
|
+
## Related
|
|
32
|
+
|
|
33
|
+
- `waiting-lists` — Waiting Lists
|
|
34
|
+
|
|
35
|
+
## Get the source
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
omnius library fetch flaviocopes --title events-logger
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Clones to the local corpus from https://github.com/flaviocopes/events-logger/archive/refs/heads/main.zip.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
source_pack: flaviocopes
|
|
3
|
+
source_kind: course
|
|
4
|
+
compaction_strategy: structured
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Express Course
|
|
8
|
+
|
|
9
|
+
Express reference card. 14 topic areas, 87 worked code samples in js, javascript, bash, json. Routing card only — full text lives in the local corpus.
|
|
10
|
+
|
|
11
|
+
## Triggers
|
|
12
|
+
|
|
13
|
+
- Express reference
|
|
14
|
+
- how do I do X in Express
|
|
15
|
+
- Express syntax
|
|
16
|
+
- look up Express
|
|
17
|
+
- js express example
|
|
18
|
+
- javascript express example
|
|
19
|
+
- server runtimes and apis: express
|
|
20
|
+
|
|
21
|
+
## Covers
|
|
22
|
+
|
|
23
|
+
- Express foundations
|
|
24
|
+
- Follow one Express request
|
|
25
|
+
- Create the application
|
|
26
|
+
- Configure without global mystery
|
|
27
|
+
- Serve static assets
|
|
28
|
+
- Check your understanding: express foundations
|
|
29
|
+
- Routes and responses
|
|
30
|
+
- Design route order
|
|
31
|
+
- Read params, query, and body
|
|
32
|
+
- Send one clear response
|
|
33
|
+
- Negotiate HTML and JSON
|
|
34
|
+
- Check your understanding: routes and responses
|
|
35
|
+
- Middleware and input
|
|
36
|
+
- Compose middleware
|
|
37
|
+
|
|
38
|
+
19 further sections are indexed in the local corpus.
|
|
39
|
+
|
|
40
|
+
## Concept index
|
|
41
|
+
|
|
42
|
+
Identifiers that appear in this title's code samples. Use them as search
|
|
43
|
+
keys against the local corpus, and as a check on whether this is the right
|
|
44
|
+
reference before reading further.
|
|
45
|
+
|
|
46
|
+
`createApp` · `POST` · `notesRouter` · `userId` · `requestId` · `PORT` · `SESSION_SECRET` · `server.js` · `trustProxy` · `app.js` · `apiRouter` · `requireLogin` · `fakeNotes` · `notes.css` · `NODE_ENV` · `maxAge` · `createNote` · `pagesRouter` · `validateNote` · `replaceAll` · `loadConfig` · `statusCode` · `SIGTERM` · `sessionSecret` · `publicDir` · `app.use` · `express.static` · `originalUrl` · `errorHandler` · `JSON` · `ownerId` · `createNotesService` · `req.body` · `notes.flaviocopes.com` · `--watch` · `isInteger` · `config.js` · `res.json` · `package.json` · `res.status`
|
|
47
|
+
|
|
48
|
+
## When to use
|
|
49
|
+
|
|
50
|
+
- A Express question needs a worked, checked answer rather than recall.
|
|
51
|
+
- You are about to guess at Express syntax, a flag, or an API shape.
|
|
52
|
+
- The task touches an area listed under Covers above.
|
|
53
|
+
|
|
54
|
+
## When not to use
|
|
55
|
+
|
|
56
|
+
- The question is about this project's own code — read the code instead.
|
|
57
|
+
- A sibling card below is a closer fit; prefer the narrower one.
|
|
58
|
+
|
|
59
|
+
## Related
|
|
60
|
+
|
|
61
|
+
- `nodejs` — Node.js Course
|
|
62
|
+
- `bun` — Bun Course
|
|
63
|
+
- `hono` — Hono Course
|
|
64
|
+
- `socket-programming` — Socket Programming with Node.js
|
|
65
|
+
- `real-time-web-applications` — Real-time Web Applications Course
|
|
66
|
+
- `npm-package-publishing` — npm and Package Publishing Course
|
|
67
|
+
|
|
68
|
+
## Full text
|
|
69
|
+
|
|
70
|
+
Source: https://downloads.flaviocopes.com/course-downloads/express.epub
|
|
71
|
+
|
|
72
|
+
The full text is not bundled. Fetch it once into the local corpus:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
omnius library fetch flaviocopes --title express
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Then search it:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
omnius library search flaviocopes "<query>" --title express
|
|
82
|
+
```
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
source_pack: flaviocopes
|
|
3
|
+
source_kind: book
|
|
4
|
+
compaction_strategy: structured
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Express Handbook
|
|
8
|
+
|
|
9
|
+
Express reference card. 14 topic areas, 71 worked code samples. Routing card only — full text lives in the local corpus.
|
|
10
|
+
|
|
11
|
+
## Triggers
|
|
12
|
+
|
|
13
|
+
- Express reference
|
|
14
|
+
- how do I do X in Express
|
|
15
|
+
- Express syntax
|
|
16
|
+
- look up Express
|
|
17
|
+
- server runtimes and apis: express
|
|
18
|
+
|
|
19
|
+
## Covers
|
|
20
|
+
|
|
21
|
+
- Conclusion
|
|
22
|
+
- The Express Handbook
|
|
23
|
+
- 1. Introduction to Express
|
|
24
|
+
- 2. Installation
|
|
25
|
+
- 3. The first "Hello, World" example
|
|
26
|
+
- 4. Request parameters
|
|
27
|
+
- 5. Send a response to the client
|
|
28
|
+
- 6. Send a JSON response
|
|
29
|
+
- 7. Manage cookies
|
|
30
|
+
- 8. Work with HTTP headers
|
|
31
|
+
- 9. Handling redirects
|
|
32
|
+
- 10. Routing
|
|
33
|
+
- 11. Templates
|
|
34
|
+
- 12. Middleware
|
|
35
|
+
|
|
36
|
+
11 further sections are indexed in the local corpus.
|
|
37
|
+
|
|
38
|
+
## Concept index
|
|
39
|
+
|
|
40
|
+
Identifiers that appear in this title's code samples. Use them as search
|
|
41
|
+
keys against the local corpus, and as a check on whether this is the right
|
|
42
|
+
reference before reading further.
|
|
43
|
+
|
|
44
|
+
`app.get` · `app.post` · `app.use` · `res.send` · `res.status` · `isLength` · `res.type` · `res.redirect` · `req.body.name` · `req.body.email` · `req.body.age` · `isNumeric` · `POST` · `formidable.IncomingForm` · `app.listen` · `res.sendStatus` · `res.download` · `file.pdf` · `isEmail` · `res.end` · `res.cookie` · `express.json` · `validationResult` · `alreadyHaveEmail` · `isAlpha` · `withMessage` · `res.render` · `cookieParser` · `myMiddleware` · `filename.pdf` · `req.session.name` · `sanitizeValue` · `index.js` · `httpOnly` · `req.session` · `normalizeEmail` · `express.urlencoded` · `fileBegin` · `file.path` · `file.name`
|
|
45
|
+
|
|
46
|
+
## When to use
|
|
47
|
+
|
|
48
|
+
- A Express question needs a worked, checked answer rather than recall.
|
|
49
|
+
- You are about to guess at Express syntax, a flag, or an API shape.
|
|
50
|
+
- The task touches an area listed under Covers above.
|
|
51
|
+
|
|
52
|
+
## When not to use
|
|
53
|
+
|
|
54
|
+
- The question is about this project's own code — read the code instead.
|
|
55
|
+
- A sibling card below is a closer fit; prefer the narrower one.
|
|
56
|
+
|
|
57
|
+
## Related
|
|
58
|
+
|
|
59
|
+
- `nodejs` — Node.js Course
|
|
60
|
+
- `bun` — Bun Course
|
|
61
|
+
- `express` — Express Course
|
|
62
|
+
- `hono` — Hono Course
|
|
63
|
+
- `socket-programming` — Socket Programming with Node.js
|
|
64
|
+
- `real-time-web-applications` — Real-time Web Applications Course
|
|
65
|
+
|
|
66
|
+
## Full text
|
|
67
|
+
|
|
68
|
+
Source: https://downloads.flaviocopes.com/books/express-handbook.epub
|
|
69
|
+
|
|
70
|
+
The full text is not bundled. Fetch it once into the local corpus:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
omnius library fetch flaviocopes --title express-handbook
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Then search it:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
omnius library search flaviocopes "<query>" --title express-handbook
|
|
80
|
+
```
|