Updated NodeBB Plugins Imgshow 0.0.14

Had just updated a new version for my NodeBB Plugins Imgshow, refer to the link here: https://community.nodebb.org/topic/1862/nodebb-plugin-imgshow-nodebb-imgshow-plugin-latest-ver-0-0-14-20160706/18

New features include:

  • Added preview feature
  • Added some grouping for the features
  • Added geolocation capability. If your nodebb served via HTTPS and your user was using Chrome or any browser support geolocation, you can auto fill in latitude, longitude to some feature like map, weather.
  • FIX some UI overlapping issue under v1.0.3
  • Compatible up to nodebb v1.0.3


买新书 巨量资料下一步系列 Big Data 新战略

Just bought a book at jurong point today…

近几个月,观察到新加坡Popular开始有一些跟大数据有关的书,它的应用啦,教育啦,影响啦。反观 JB 的 Popular 的书还是很老套。

The problems on installing node-ffi on Mac

I am installing NativeScript on my local Mac and requiring install node-ffi.

I am facing problem as could not recognize libtool -static during installation of node-ffi.

I found out that I had two version of libtool installed, one is for GNU libtool installed via brew install libtool (required by ARDrone3 SDK), and then another one in XCode developer tool. So I had to find way to switch into XCode developer tool.

On my Mac, I had to unlink or remove /usr/bin/libtool and /usr/local/bin/libtool, and then build symlink again as

ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool /usr/bin/libtool

Then rerun npm install -g ffi, finally, it succeeds.

This is the error screen.

node-ffi error screen

This is the success screen.

node-ffi success screen

This issue takes me 4 hours of findings, googling, uninstall / reinstall libtool, node-gyp and finally found the root cause. I even tried to install it in Cloud9, but found that Cloud9 is a Ubuntu and not Mac, so the installation result do not have Mac built binaries, so cannot just copy the result from Cloud9 to my Mac. Everything must be built well on the Mac.