UPDATE auth.users
SET raw_app_meta_data = raw_app_meta_data || '{"role": "admin"}'::jsonb
WHERE email = 'user@mail.com';
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 https = require('https'); | |
| const SYMBOL = process.argv[2] || 'SPX'; | |
| const currentYear = new Date().getFullYear(); | |
| const currentMonth = (new Date().getMonth() + 1).toString().padStart(2, '0'); | |
| const currentDay = new Date().getDate().toString().padStart(2, '0'); | |
| const DATA_URL = `https://www.barchart.com/proxies/core-api/v1/options/get?symbols=%24${SYMBOL}&raw=1&fields=symbol%2CstrikePrice%2CoptionType%2CbaseDailyLastPrice%2CbaseLastPrice%2CdailyGamma%2Cgamma%2Cdelta%2CdailyDelta%2CdailyOpenInterest%2CopenInterest%2CdailyVolume%2Cvolume%2CdaysToExpiration%2CexpirationDate%2CaverageVolatility&expirations=${currentYear}-${currentMonth}-${currentDay}&groupBy=strikePrice&le(nearestToLast,40)`; |
This updated guide uses the pi-shrink script from GitHub instead of qemu-img for shrinking the .img. Pi-shrink intelligently compacts Raspberry Pi OS images by zeroing free space and resizing partitions/filesystems. Warning: These operations erase all data on the SD card (/dev/mmcblk0). Verify the device with lsblk first.
- Backup SD card data.
- Download
pi-shrink:git clone https://github.com/Drewsif/PiShrink.gitor grabpi-shrink.sh. - Make executable:
chmod +x PiShrink/pi-shrink.sh. - Have
.imgfile ready.
https://github.com/matatonic/openedai-speech
Download to directory voices, the language voices to use from:
NewerOlder