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
diff --git a/extension.ts b/extension.ts | |
index 4f83f23..4107c89 100644 | |
--- a/extension.ts | |
+++ b/extension.ts | |
@@ -144,11 +144,42 @@ export function activate() { | |
let openInNewWindow: boolean = vscode.workspace.getConfiguration('projectManager').get('openInNewWindow', true); | |
let reuseCmdOption: string = openInNewWindow ? "" : " -r"; | |
- exec(codePath + " " + projectPath + reuseCmdOption); | |
+ if (process.platform == 'darwin') { |
Markdown を処理するファイルを探し出して、linkify: true を追加して、vscode を再起動
- Windows: C:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\markdown\out\extension.js
- Mac: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/markdown/out/extension.js
- Linux: /usr/share/code/resources/app/extensions/markdown/out/extension.js
*** extension.js.orig 2016-08-02 12:14:42.000000000 +0900
--- extension.js 2016-08-02 12:16:59.000000000 +0900
***************
<IfModule !mpm_prefork_module>
<IfDefine !prefork>
LoadModule cgid_module libexec/mod_cgid.so
</IfDefine>
</IfModule>
<IfModule mpm_prefork_module>
<IfDefine prefork>
LoadModule cgi_module libexec/mod_cgi.so
.use(mdnh, {
slugify: function replace(input_string) {
var slugify = require('slugify');
var slug = input_string.replace(/\s/g , "-")
if ((/^[\x00-\x7F]*$/).test(slug)) {
return slugify(slug);
}
return encodeURIComponent(slug);
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
on run {parameters} | |
if output muted of (get volume settings) = false then | |
set volume with output muted | |
else | |
set volume without output muted | |
end if | |
-- get volume settings | |
localpilot で LM Studio を使ってみる
- default の
Server Port
は、1234
。異なる場合は、config.py
の'domain': 'http://localhost:1234'
を変更 python3 app.py --setup
の実行で LM Studio の利用が default/v1/chat/completions
は利用できず、/v1/completions
を利用- LM Studio の Local Inference Server で、CPU や Server Log をみて、何かやってるんだなぁというのがわかる
diff --git a/app.py b/app.py