m -rf /var/cache/nginx/
Restart Nginx to reenable caching
| console.log(`Process finished....`); | |
| const fs = require('fs') | |
| var date = new Date().toISOString(); | |
| console.log(date); | |
| const regex = /:/gi; | |
| var filedate = date.replace(regex, '-') | |
| console.log(filedate); | |
| fs.renameSync('./db.json', `${filedate}.json`) |
| ./youtube-dl.exe -i --extract-audio --audio-format mp3 --audio-quality 0 -cit https://www.youtube.com/playlist?list=xxxxxx-tOzxxxxxxxxxxx |
m -rf /var/cache/nginx/
Restart Nginx to reenable caching
| const { setTimeout } = require('timers/promises'); | |
| async function delay() { | |
| console.log('start 5s wait'); | |
| await setTimeout(5000) | |
| console.log('after 5s'); | |
| } | |
| delay() |
| const ora = require('ora'); | |
| const { promisify } = require('util'); | |
| const delay = promisify(setTimeout); | |
| (async () => { | |
| const spinner = ora('Loading unicorns').start(); | |
| await delay(6000); | |
| spinner.text = 'Loading rainbows'; | |
| console.log('\nhere'); | |
| })(); |
| More recent resolution: | |
| 1. cd ~/../../etc (go to etc folder in WSL). | |
| 2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line). | |
| 3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line). | |
| 4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian). | |
| 5. cd ~/../../etc (go to etc folder in WSL). | |
| 6. sudo rm -Rf resolv.conf (Delete the resolv.conf file). | |
| 7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and | |
| secondary. |
| Filter | Description | Example |
|---|---|---|
| allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
| intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
| inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
| allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
| intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
| [ | |
| { | |
| "model": "Mistral Large", | |
| "type": "language", | |
| "input_cost_per_million_tokens": 8.00, | |
| "output_cost_per_million_tokens": 24.00, | |
| "context_length": 32000 | |
| }, | |
| { | |
| "model": "Mistral Small", |