Docs: https://www.tinybird.co/docs/v2/get-started/install-tinybird/self-managed
- Tinybird account
- Domain name, and ability to update DNS recrods
- 4+ CPUs and 16+ GB virtual machine
- Docker
Sign up to https://cloud.tinybird.co and create your workspace.
Docs: https://www.tinybird.co/docs/v2/get-started/install-tinybird/self-managed
Sign up to https://cloud.tinybird.co and create your workspace.
| PUID=1000 | |
| PGID=1000 | |
| DOCKERUSERNAME=1000 | |
| DOCKERUSERGROUP=1000 | |
| MEDIADIR=/home/<username>/Media | |
| USERDIR=/home/<username> | |
| TZ=Europe/Madrid |
| FILE=~/tmp/items.ndjson | |
| mongoexport \ | |
| --uri="mongodb://<user>:<pass>@alejandromav.mongodb.net/?retryWrites=true&w=majority" \ | |
| -d=my_db \ | |
| -c=Items \ | |
| -o=$FILE | |
| curl \ | |
| -H 'Authorization: Bearer $TINYBIRD_APPEND_TOKEN' \ |
| { | |
| "Africa/Abidjan": "CI", | |
| "Africa/Accra": "GH", | |
| "Africa/Addis_Ababa": "ET", | |
| "Africa/Algiers": "DZ", | |
| "Africa/Asmara": "ER", | |
| "Africa/Bamako": "ML", | |
| "Africa/Bangui": "CF", | |
| "Africa/Banjul": "GM", | |
| "Africa/Bissau": "GW", |
We're looking for an experienced Technical Product Manager to join our team and help us build data and analytics products for internal use.
At Inditex, we're focused on our customers and you'll be able to reach millions of them with your passion and dedication. New ideas became incredible products and services, join us in building the future of eCommerce retailing.
We are looking for a team member with a strong foundation in Computer Science theory and industry experience. In this role, you'll own and lead the roadmap of several internal tools.
| function propertiesToArray(obj) { | |
| const isObject = val => typeof val === 'object' && !Array.isArray(val); | |
| const isArray = val => Array.isArray(val); | |
| // Format output keys | |
| const addDelimiter = (a, b, type) => a ? `${a}.[${b}: ${type}]` : `[${b}: ${type}]`; | |
| const paths = (obj = {}, head = '') => { | |
| return Object.entries(obj).reduce((product, [key, value]) => { | |
| let fullPath = addDelimiter(head, key, typeof value); |
| // https://docs.confluent.io/current/schema-registry/serializer-formatter.html#wire-format | |
| const avro = require('avsc'); | |
| const schemas = { | |
| 1337: { | |
| type: 'record', | |
| fields: [ | |
| {name: 'name', type: 'string'} | |
| ] |
| #!/bin/bash | |
| tmp=`mktemp` | |
| powershell="/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe" | |
| trap ctrlC INT | |
| removeTempFiles() { | |
| rm -f $tmp | |
| } |
| # MySQL | |
| docker run --rm \ | |
| --name mysql \ | |
| -p 3306:3306 \ | |
| -e MYSQL_ROOT_PASSWORD=toor \ | |
| -v ~/Data/mysql:/var/lib/mysql \ | |
| -d mysql \ | |
| --local_infile=1 | |
| # MongoDB |