- Install mongoose -
npm install mongoose - Create connection in
app.jsusing your db credentials
// app.js
const mongoose = require('mongoose');
mongoose| FROM ./gguf/Llama-3.2-1B-Instruct.gguf | |
| TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|> | |
| {{ .System }}<|eot_id|>{{ end }}<|start_header_id|>user<|end_header_id|> | |
| {{ .Prompt }}<|eot_id|><|start_header_id|>assistant<|end_header_id|> | |
| {{ .Response }}<|eot_id|>""" |
| FROM ./gguf/radipro-chatbot-llama.Q8_0.gguf | |
| TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|> | |
| {{ .System }}<|eot_id|>{{ end }}<|start_header_id|>user<|end_header_id|> | |
| {{ .Prompt }}<|eot_id|><|start_header_id|>assistant<|end_header_id|> | |
| {{ .Response }}<|eot_id|>""" |
| type: gauge | |
| entity: sensor.mcu5_pressure | |
| needle: true | |
| min: 975 | |
| max: 1045 | |
| segments: | |
| - from: 975 | |
| color: "#db4437" | |
| label: Rain | |
| - from: 995 |
| # Install unzip | |
| sudo apt-get install unzip | |
| # Install openvpn | |
| sudo apt-get install openvpn | |
| # Download and unzip config files from NordVPN | |
| cd /etc/openvpn | |
| sudo wget https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip | |
| sudo unzip ovpn.zip |
| gpg --import publickey.asc | |
| gpg --verify filePGPSignature.asc filename |
| // Get completed tickets where a user changed the status to REVIEW (i.e. completed tickets by a given user) | |
| project = XXX AND status was "To Do" AND status = Done AND status changed TO REVIEW BY 62cbffb38afb5805e5d3b51a |
| const file = fs.readFileSync(path.join(__dirname, 'sample.pdf'), { encoding: 'base64' }) | |
| fs.writeFileSync('path/to/where/file/will/be/saved', file, 'base64') |
| const fs = require('fs/promises'); | |
| const express = require('express'); | |
| const morgan = require('morgan'); | |
| const cors = require('cors'); | |
| const createError = require('http-errors'); | |
| const bodyParser = require('body-parser'); | |
| const { initializeApp } = require('firebase/app'); | |
| const { | |
| getStorage, | |
| ref, |
| const express = require('express'); | |
| const morgan = require('morgan'); | |
| const cors = require('cors'); | |
| const createError = require('http-errors'); | |
| const bodyParser = require('body-parser'); | |
| const { initializeApp } = require('firebase/app'); | |
| const { | |
| getStorage, | |
| ref, | |
| uploadBytes, |