A curated collection of resources, courses, books, and tools covering AI systems, ML, LLMs, generative AI, and agentic AI.
Snapshot for reference; my personal notes live elsewhere.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const WebSocket = require('ws'); | |
| const http = require('http'); | |
| const Y = require('yjs'); | |
| const wsUtils = require('./utils'); | |
| const cookie = require('cookie'); | |
| const QuillDelta = require('quill-delta'); | |
| //const QuillConverter = require('node-quill-converter'); | |
| //const MdastFromQuillDelta = require('mdast-util-from-quill-delta'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import css from "rollup-plugin-css-porter"; | |
| import pkg from "../../package.json"; | |
| import resolve from "rollup-plugin-node-resolve"; | |
| import babel from "rollup-plugin-babel"; | |
| import path from "path"; | |
| import commonjs from "rollup-plugin-commonjs"; | |
| import { terser } from "rollup-plugin-terser"; | |
| process.env.BABEL_ENV = "production"; | |
| process.env.NODE_ENV = "production"; |
Packaging JavaScript applications can be a bit overwhelming. The popular project uglifyjs does not support ES6, it is cumbersome to configure the allmighty Webpack, bundlers like Parcel and Microbundle still have bugs or do not compile to ESM bundles that work in a browser. It is hard to figure out the best way to bundle an application.
Here I give a small example, how we achieve the goal using the
- TypeScript compiler
- rollup.js bundler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| function minikube_reset_vbox_dhcp_leases() { | |
| # Check OS version | |
| case $OSTYPE in | |
| darwin*) | |
| VBOX_CONFIG_DIR=Library | |
| ;; | |
| linux*) |
Tools
- Kops https://github.com/kubernetes/kops/blob/master/docs/README.md
- Kubectl https://kubernetes.io/docs/tasks/tools/install-kubectl/
- kubespy https://blog.pulumi.com/kubespy-trace-a-real-time-view-into-the-heart-of-a-kubernetes-service
- kops https://icicimov.github.io/blog/virtualization/Kubernetes-Cluster-in-AWS-with-Kops/
Presentations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| httpsServer := &http.Server{ | |
| Handler: http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
| hj, isHJ := w.(http.Hijacker) | |
| if r.Header.Get("Upgrade") == "websocket" && isHJ { | |
| c, br, err := hj.Hijack() | |
| if err != nil { | |
| log.Printf("websocket websocket hijack: %v", err) | |
| http.Error(w, err.Error(), 500) | |
| return | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import './App.css'; | |
| /* | |
| Screen:LoginScreen | |
| Loginscreen is the main screen which the user is shown on first visit to page and after | |
| hitting logout | |
| */ | |
| import LoginScreen from './Loginscreen'; | |
| /* | |
| Module:Material-UI |
NewerOlder