2012/11/19
- VisualStudioに統合されたテストスイートアドオン
- 主な機能
| import std.stdio : writeln; | |
| import std.array : empty; | |
| import core.thread : Fiber; | |
| //class C { | |
| //public: | |
| // void onload(void delegate() f) { | |
| // f(); | |
| // } |
| import vector; | |
| class PlayerConstants { | |
| Vector2f walkBack; | |
| Vector2f walkFront; | |
| Vector2f dashBack; | |
| Vector2f dashFront; | |
| Vector2f airBack; | |
| Vector2f airFront; |
| import std.stdio; | |
| import std.container : DList; | |
| import std.range; | |
| class E { | |
| typeof(this) moveBy(int x, int y, int duration, int parallel = 0) { | |
| timelines[parallel].insertBack(timelineImpl(duration, { | |
| float vx = cast(float)x / duration; | |
| float vy = cast(float)y / duration; | |
| this.x += vx; |
# setting backup dir
mkdir ~/backup
# root
sudo -s## terminal setting
# byobu-enable
# echo export VTE_CJK_WIDTH=1 >> ~/.bashrcsudo -s
# check old version (maybe 1.1.19)
apt-cache show nginx | grep Version
#http://nginx.org/en/linux_packages.html
#
#Ubuntu:# root
sudo -s
# dependencies for building mono
apt-get install -y libpng3 libpng3-dev libtool libtiff4 libtiff4-dev libexif12 libexif-dev libgif4 libgif-dev libpango1.0-dev libatk1.0-dev libgtk-3-0 libgtk-3-dev bison automake autoconf make gcc gtk-sharp2 build-essential xorg-dev libfreetype6 libfontconfig libfontconfig-dev gettext libglib2.0-dev git mono-complete libjpeg-dev libjpeg8-dev libjpeg-turbo8-dev
# install llvm
#echo deb http://llvm.org/apt/precise/ llvm-toolchain-precise main >> /etc/apt/sources.list
#echo deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise main >> /etc/apt/sources.list