MDN has documentation about Proxy.
const api = createObjectMapper('https://example.org/base-path/')
await api.users['user-id-1'].get()| #!/usr/bin/env bash | |
| STORAGE_FILE="webpage.sum" | |
| init() { | |
| while [[ "$1" == -* ]]; do | |
| case "$1" in | |
| -s|--storage) | |
| STORAGE_FILE="$2" | |
| shift 2 |
| ALGEBRA 2 | |
| https://esami.unipi.it/programma.php?c=53646&aa=2022&docente=&insegnamento=ALGEBRA+2&sd=0 | |
| ALGEBRA SUPERIORE A - ALGEBRA SUPERIORE A/a | |
| https://esami.unipi.it/programma.php?c=53903&aa=2022&docente=&insegnamento=ALGEBRA+SUPERIORE+A&sd=0 | |
| ALGEBRE E GRUPPI DI LIE - ALGEBRE E GRUPPI DI LIE/a | |
| https://esami.unipi.it/programma.php?c=53928&aa=2022&docente=&insegnamento=ALGEBRE+E+GRUPPI+DI+LIE&sd=0 | |
| ALGORITMI E STRUTTURE DEI DATI - ALGORITMI E STRUTTURE DATI |
| #!/bin/bash | |
| # Display help message | |
| if [[ "$1" == "-h" || "$1" == "--help" ]]; then | |
| echo "usage: $(basename $0) <input_string>" | |
| echo "Outputs a randomly generated IP address and port number based on the MD5 hash of the input string." | |
| echo "" | |
| exit 0 | |
| fi |
MDN has documentation about Proxy.
const api = createObjectMapper('https://example.org/base-path/')
await api.users['user-id-1'].get()| package lang | |
| import ( | |
| "fmt" | |
| "regexp" | |
| "strings" | |
| "unicode" | |
| ) | |
| type parser struct { |
| // | |
| // Library | |
| // | |
| const newValueToUpdater = newValue => (typeof newValue === 'function' ? newValue : () => newValue) | |
| const hooks = { | |
| state: (hookContext, initialValue) => { | |
| if (!hookContext.initialized) { | |
| hookContext.initialized = true |
I really don't like TailwindCSS and recently I discovered that llms are good at writing ViteJS plugins and did some experiments that came out pretty well in opinion.
Note. I know about styled-components, EmotionCSS and vanilla-extract and others but I don't like to write CSS-as-JS and some of the libraries do not support ViteJS or are too much tied to the React ecosystem and can't be used with Preact.
I really like to write CSS by hand but I get that Tailwind gives the ability to write everything directly in the same files keeping related things together. In an ideal world I think I would just ditch HTML+CSS and have the separation at components+layout and colors+styles, or just have a single language like in SwiftUI or Jetpack Compose.