ollama/ollama:latest
11434/tcp REST Endpoint
ollama data and models
# install: curl https://gist.githubusercontent.com/BananaAcid/174a9a45ecf284118b2016f41f55840f/raw/imapsync.sh | sh | |
# ImapSync from source Mar 2024 commit: b0619eb | |
# based on: https://kb.vander.host/email/how-to-install-and-use-imapsync-on-ubuntu/ | |
sudo apt update && sudo apt upgrade --yes | |
sudo apt --yes install apt-file && sudo apt-file update |
https://phuoc.ng/collection/html-dom/move-the-cursor-to-the-end-of-a-content-editable-element/
const moveCursorToEnd = () => {
const range = document.createRange();
const selection = window.getSelection();
range.setStart(contentEle, contentEle.childNodes.length);
range.collapse(true);
selection.removeAllRanges();
selection.addRange(range);
# changed by BananaAcid | |
# https://github.com/jmorganca/ollama | |
# compile: ollama create orca2_de -f ./orca2_de.modelfile | |
# run: ollama run orca2_de | |
# bug: the german response works, but is not really good | |
# ./orca2_de.modelfile | |
FROM orca2 | |
# set the temperature to 1 [higher is more creative, lower is more coherent] |
<!-- | |
BananaAcid 2023 | |
Playground: | |
https://play.vuetifyjs.com/#eNqtVm1v2zYQ/is3ARvSwhRtOQ4W1yv6ggLrUGzDum/zPtDSWWJCiQRJOc6K/vedKMmRrSRzgfkN5N1zbw+PZ/31JXI25W+NiXc1Rsto9R1j8E5U9H6bygySaTIHxl6vq3W18lgaJTzSDmC1Y8KYsAybUsiq24V9qitPIrSQKuHcT+toK5ViBcq88OvoAA1gVyD6A9AIlgD9uJItABXuhJe6Ysn0yCwYWn13JOpCK6Bv42qWrCNwJa2uTowDVpY5EAGkJphQnhafdK5pw0/d8uD3/GCHajzuPVO49RBWZcbsiILOW4EiGxAW8MXVwa5YtEuVs+LyEXuAz7pEeC9Mw9fIO2/dn1FYI2uZPZPucSk7RtyOE0z1Du1Y3J5B4b1xS86NTF1dxqbQXjsuM55cXvLZdTLlV1PqgbF5e3I/t+x9LEWOj6F6Wh86ajGGnXPu/wM95vUnbbGEOI5XvL9FR3rSgDTEw39ganc31n5r1sctF/qzbbW066XTZnv62DO5k80xnBIZEv4h1eb+1WDAfGvqQ0kYGg8jJ9h1M6cfSyQ7zKVm006sFR9MMto6f68QHOWGWYDyl6B0LlN4yZttPJxmX1rXpdizO5n5YgnX06nZv2rEX1tuCd8OtA5L7kpxi5Bi5dFiRreAFpUHYVGAL0ijrcXUQ/A4gQoxczCIGg9mZ5cUwFbhnuXEyxJmffgVD8U8XVcrO9TVsNOnuRHpLbmrq2wJtVUXT17HxYwvptMpn9MrvjH5i64y8NqERIa+mJP/4LK9+M+RNLCg49d2CTbfXCSzBJL5ApLFAjhcXX//YhAgs9owYoZCL2Gjansxo5NoEV2UZsB3AbZEJgvlL0F6oWTauXoIJy6mE+g+8aIPFS6CrDKqkZjGcsx1NIk80VxtZR7fOF3RH2kIuo5SXRqp0P4WrpFbR8s+nXUklNJ3vwSZtzVOenlaYHr7iPzG7R |
https://gist.github.com/mildred/b803e48801f9cdd8a4a8 | |
https://www.ietf.org/proceedings/87/slides/slides-87-behave-10.pdf | |
https://codelabs.developers.google.com/codelabs/webrtc-web/#0 | |
https://gist.github.com/mondain/b0ec1cf5f60ae726202e | |
https://freestun.net/#features |
// Nabil Redmann, ISC | |
/* | |
<input type="number" maxlength="3" data-digits="2" placeholder="format xxx.xx" /> | |
<br><br><br> | |
<input type="number" maxlength="3" data-digits="0" placeholder="no fractions" /> | |
<br><br><br> | |
<input type="number" maxlength="0" data-digits="3" placeholder="only dot first and digits " /> | |
*/ |
import { spawn } from 'child_process'; | |
const child = spawn('pwsh'); | |
process.stdin.pipe(child.stdin) | |
child.stdout.on('data', (data) => { | |
console.log(`child stdout:\n${data}`); | |
}); |
dist | |
node_modules |