DEV/other things
-
Mac OS / Windows Ollama로 eeve 모델 설치하여 사용하기DEV/other things 2024. 9. 25. 18:04
M1, M2, M3 실리콘 맥 시리즈에서 Ollama로 eeve를 등록하여 사용해 보았습니다.(Windows도 동작 확인 완료) ollama install : https://github.com/ollama/ollama GitHub - ollama/ollama: Get up and running with Llama 3.1, Mistral, Gemma 2, and other large language models.Get up and running with Llama 3.1, Mistral, Gemma 2, and other large language models. - ollama/ollamagithub.com 그 다음 사용할 모델인 eeve를 준비합니다. (https://huggingface.co/heegy..
-
trumbowyg color picker bugDEV/other things 2024. 9. 4. 15:17
Problem with color selection. trumbowyg.color.js// Original codefunction colorTagHandler(element, trumbowyg) { var tags = []; if (!element.style) { return tags; } // background color if (element.style.backgroundColor !== '') { var backColor = colorToHex(element.style.backgroundColor); if (trumbowyg.o.plugins.colors.colorList.indexOf(backColor) >= 0) { ..
-
trumbowyg table bugDEV/other things 2024. 9. 4. 15:15
How to fix a bug where the table width changes randomly. trumbowyg.table.js// Original codevar setColWidths = function ($table, tableState, isUnitPercent = false) { var $colgroup = $('colgroup', $table); var $cols = $('col', $colgroup); var tableWidth = $table[0].offsetWidth; $table.css({ maxWidth: $table[0].offsetWidth, }); var columnCount = tableState[0].length; var..
-
Redis/MacOs Redis 설치DEV/other things 2024. 8. 29. 10:03
1. 설치brew install redis + brew가 설치되어 있지 않은 경우...https://seokbong.tistory.com/5 Mac OS Brew 설치(본 내용은 M1 Mac OS를 기반으로 합니다. Intel Mac 또한 path 설정을 제외하고 비슷할 것으로 예상) Mac OS 에서 Brew 설치 방법을 알아보자. 우선 Brew 홈페이지에 접속한다. 주소는 다음과 같다. https://breseokbong.tistory.com 2. redis 서버 실행redis-server 3. 새로운 터미널을 통해 cli 실행redis-cli
-
Redis/MacOs Redis 설치 후 "Could not connect to Redis at 127.0.0.1:6379: Connection refused" 에러DEV/other things 2024. 8. 29. 10:01
MacOs에서 Redis를 설치한 후 Could not connect 에러가 발생. 에러(base) iMac:~ seokbong$ redis-cliCould not connect to Redis at 127.0.0.1:6379: Connection refusednot connected> 다른 블로그의 글을 봤는데 나에게는 해당이 되지 않았고 그냥 재실행 하니 되었음. 재실행(base) iMac:~ seokbong$ brew services restart redis==> Successfully started `redis` (label: homebrew.mxcl.redis)(base) iMac:~ seokbong$ redis-cli127.0.0.1:6379> brew로 설치하였기 때문에 "brew servi..