This document is generated by AI, and there may be issues with the specific details.
- Version: 1.0
- Date: 2025-01-XX
- Purpose: Public technical specification for format conversion
- Target Platform: ESP32 E-Paper Display Devices
| { | |
| "scripts": { | |
| // ... | |
| "db:migrate:up": "bun run -r dotenv/config ./src/lib/db/migrate latest", | |
| "db:migrate:down": "bun run -r dotenv/config ./src/lib/db/migrate down", | |
| "db:migrate:create": "bun run -r dotenv/config ./src/lib/db/migrate create initial", | |
| "db:generate:types": "bunx kysely-codegen --out-file=src/lib/db/schema/Database.ts", | |
| }, | |
| "dependencies": { | |
| "kysely": "^0.27.3", |
| /* | |
| Copy this into the console of any web page that is interactive and doesn't | |
| do hard reloads. You will hear your DOM changes as different pitches of | |
| audio. | |
| I have found this interesting for debugging, but also fun to hear web pages | |
| render like UIs do in movies. | |
| */ | |
| const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
2015-01-29 Unofficial Relay FAQ
Compilation of questions and answers about Relay from React.js Conf.
Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.
Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).
Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.
video::webkit-media-controls-timeline {
background-color: lime;
}
video /deep/ input[type=range] {| #!/bin/bash | |
| # from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
| # and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
| ############################################### | |
| # To use: | |
| # wget https://raw.github.com/gist/2776679/04ca3bbb9f085b192f6aca945120fe12d59f15f9/install-redis.sh | |
| # chmod 777 install-redis.sh | |
| # ./install-redis.sh | |
| ############################################### | |
| echo "*****************************************" |