Home > Archives > 2016-11

2016-11

  • 2016-11-30 (Wed)
  • lisp

~/.eclrc
'(load "~/.lisp/asdf.lisp")
'(load "~/.lisp/quicklisp.lisp")
(ext:install-c-compiler)
(setf c::*compile-in-constants* t)

mono * nancy (Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono) on Ubuntu.

 

Nancy – Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono、起動。

 

# building mono.

sudo apt-get update -o Acquire::ForceIPv4=true
sudo sudo apt-get install -y autoconf automake libtool g++ gettext
cd ~/src
git clone git://github.com/mono/mono.git
cd mono
cd ~/src/mono
./autogen.sh --prefix=/usr/local
make -j8 get-monolite-latest
make -j8
sudo make install

 

# building nancy.

cd ~/src
git clone https://github.com/NancyFx/Nancy.git
cd Nancy
./build.sh

 

# compiling demo.

cd ~/src
mkdir nancydemo
cd nancydemo
mcs Program.cs HelloModule.cs -r:../Nancy/src/Nancy.Hosting.Self/bin/Release/net452/Nancy.dll -r:../Nancy/src/Nancy.Hosting.Self/bin/Release/net452/Nancy.Hosting.Self.dll -r:/usr/local/lib/mono/4.5-api/Mono.Posix.dll
mono Program.exe

ansibleとrsh

ansibleのshell moduleはエラー処理を省いてもトラップしてくれるのがいいな。

uimの設定ファイル配置パス

  • ~/.uim.d/
  • /usr/share/uim/

Home > Archives > 2016-11

Search
Feeds
Meta

Return to page top