Simple store to write code based on value changes
const s = store({ data: 1 });
s.onChange((v) => {
console.log({ v });
{ | |
"editor.suggestOnTriggerCharacters": false, | |
"editor.lightbulb.enabled": false, | |
"editor.selectionHighlight": true, | |
"editor.occurrencesHighlight": true, | |
"editor.formatOnSave": true, | |
"editor.fontFamily": "Hermit", | |
"editor.fontSize": 13.5, | |
"editor.formatOnPaste": false, | |
"editor.tabSize": 2, |
{ | |
"ignored_packages": | |
[ | |
"Vintage", | |
], | |
"font_face":"JetBrains Mono", | |
"line_padding_top":5, | |
"line_padding_bottom":5, | |
"color_scheme": "Packages/ayu/ayu-dark.sublime-color-scheme", | |
"theme": "ayu-dark.sublime-theme", |
FROM ghcr.io/mmafrar/alpine-react-native-android:latest | |
# Install dependencies | |
RUN apk add --no-cache git curl bash build-base openssl openssh-client libffi-dev libxml2-dev libxslt-dev libgcrypt-dev libressl-dev readline-dev yaml-dev zlib-dev ncurses-dev gdbm-dev pcre-dev mariadb-dev sqlite-dev | |
# Install rbenv | |
Ever changing implementations of pipes that I reimplement in each codebase for different use cases.
If you do want a package instead. You should go with this https://github.com/barelyhuman/pipe
Single file doc generator for javascript projects where no other programming language is available.
This was a learning project for working with reactive streams for CLI apps and something I needed at work to generate wiki sites from an existing docs folder.
There's an attached Dockerfile
if you wish to deploy it on a container, the script is for flat docs folders with all docs
on the first level of the folder a.k.a nested documents aren't supported right now.
import glob from 'tiny-glob' | |
import _xs from 'xstream' | |
import zlib from 'zlib' | |
import {promises as fs} from 'node:fs' | |
import _concat from 'xstream/extra/concat.js' | |
const xs = _xs.default | |
const concat = _concat.default | |
// contained exec of the streams |