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
| # works both in Powershell and Cmd | |
| > env | grep JDK | |
| JDK_BIN=C:\Program Files\Java\jdk1.7.0_21\bin |
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
| Path=%JDK_BIN%;%HOME%\bin;C:\emacs\bin;%CLOJURE_CLR% |
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
| # works both in Powershell and Cmd | |
| > lein self-install |
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
| # in ~\bin\lein.bat | |
| ... | |
| set LEIN_VERSION=2.1.3 | |
| ... |
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
| # create a CLR project foo: | |
| > lein new lein-clr foo | |
| > cd foo | |
| # edit project.clj according to your needs |
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
| ;; in ~\.emacs-live.el | |
| ;; | |
| ;; start Cmd with M-shell: | |
| (setq shell-file-name "cmdproxy.exe") | |
| (setq explicit-shell-file-name shell-file-name) | |
| (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) | |
| ;; | |
| ;; Powershell configuration: | |
| ;; download the *.el files from http://www.emacswiki.org/emacs/PowerShell | |
| ;; place them in ~\.emacs.d\vendor |
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
| @echo off | |
| echo ; | |
| echo ; starting ~\bin\lein-clr | |
| echo ; ...will fail, if project.clj not found in: | |
| pwd | |
| echo ; | |
| echo ; set cwd with: | |
| echo ; ------------- | |
| echo ; (System.IO.Directory/SetCurrentDirectory "c:\\path\\to\\directory") | |
| echo ; |
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
| # e.g. in Emacs buffer *PowerShell* | |
| > cd ~\projects\foo | |
| # then start Clojure CLR | |
| M-x run-lisp | |
| # change to repl buffer *inferior-lisp* | |
| C-x C-b |
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
| remote enable | |
| auth disable | |
| fileio enable | |
| maxinbuf 500000 |
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
| > library( Rserve ) | |
| > Rserve() |