2016年6月8日 星期三
2016年6月3日 星期五
2016年4月16日 星期六
install visual studio code on raspberry
COMPILING VISUAL STUDIO CODE ON A RASPBERRY PI 3
From the VS Code GitHub, you need Node, npm, and Python. The Pi has Python but it has an old node, so needed a newer node that ran on ARM processors.
get http://node-arm.herokuapp.com/node_latest_armhf.deb sudo dpkg -i node_latest_armhf.deb
There are some NPM native modules like node-native-keymap that didn't work when I built the first time, so you'll need some supporting libraries first:
sudo apt-get install libx11-dev
Then, from my Raspberry Pi, I did this to build my own instance of VS Code.
git clone https://github.com/microsoft/vscode cd vscode ./scripts/npm.sh install --arch=armhf
This took the Raspberry Pi 3 about 20 minutes so be patient.
Then, run your instance with ./scripts/code.sh from that same folder.
Ref http://www.hanselman.com/blog/BuildingVisualStudioCodeOnARaspberryPi3.aspx
2016年4月3日 星期日
2016年4月2日 星期六
2016年3月19日 星期六
java on eclipse
建立project
File -> Import -> General -> Existing Project into workspace -> select root directiony -> java\sla-printer-java-host-master
然後 run as -> java application -> SLA3DPRINTER
輸出project
File -> export -> java -> Runable jar file -> library handle -> Package required library into generated JAR
2016年3月15日 星期二
訂閱:
文章 (Atom)