| 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" | 
  
    
      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
    
  
  
    
  | [ | |
| { | |
| "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", | 
  
    
      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
    
  
  
    
  | 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. | 
  
    
      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 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'); | |
| })(); | 
  
    
      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 { setTimeout } = require('timers/promises'); | |
| async function delay() { | |
| console.log('start 5s wait'); | |
| await setTimeout(5000) | |
| console.log('after 5s'); | |
| } | |
| delay() | 
m -rf /var/cache/nginx/
Restart Nginx to reenable caching
  
    
      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
    
  
  
    
  | ./youtube-dl.exe -i --extract-audio --audio-format mp3 --audio-quality 0 -cit https://www.youtube.com/playlist?list=xxxxxx-tOzxxxxxxxxxxx | 
  
    
      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
    
  
  
    
  | 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`) | 
  
    
      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
    
  
  
    
  | function sleep(ms) { | |
| return new Promise(resolve => setTimeout(resolve, ms)); | |
| } | |
| await sleep(2000); | |
| // Nodejs | |
| const { promisify } = require('util'); | |
| const delay = promisify(setTimeout); | 
People
|   :bowtie: | π :smile: | π :laughing: | 
|---|---|---|
| π :blush: | π :smiley: | :relaxed: | 
| π :smirk: | π :heart_eyes: | π :kissing_heart: | 
| π :kissing_closed_eyes: | π³ :flushed: | π :relieved: | 
| π :satisfied: | π :grin: | π :wink: | 
| π :stuck_out_tongue_winking_eye: | π :stuck_out_tongue_closed_eyes: | π :grinning: | 
| π :kissing: | π :kissing_smiling_eyes: | π :stuck_out_tongue: | 
NewerOlder