Setting up a visual studio project to just build a simple native hello world node module is an overkill and there is a simpler way to do that by using the visual studio command prompt directly. Here you may find the required commands you have to issue, plus a vcbuild.bat file that does the whole thing at once.
Friday, December 9, 2011
Building native modules for nodeJs 0.6+ with visual studio
Since version 0.6 node js supports windows native builds which allows the windows dev to use visual studio to build both nodejs and the modules. In order to make a simple node module in visual studio you will have to link the obj file with the node.lib file that is generated when you compile the nodejs on visual studio. Here is a detailed walkthrough on how to successfully build a native node module in visual studio 2010.
Tuesday, November 29, 2011
Big blue button RSL Error 1 of 4 / Error #2032
If you have this kind of problem you can read this article or simply:
This is a problem that may occur when the flash client tries to locate the RSL files (local intranet situations) and by downloading them in the bbb’s folder, the flash can safely failover to that location.
cd /var/www/bigbluebutton/client/
sudo wget http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/mx_4.5.0.20967.swz
sudo wget http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/rpc_4.5.0.20967.swz
sudo wget http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz
sudo wget http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/framework_4.5.0.20967.swz
This is a problem that may occur when the flash client tries to locate the RSL files (local intranet situations) and by downloading them in the bbb’s folder, the flash can safely failover to that location.
Saturday, October 15, 2011
Create user and db in MySQL for various apps
Working on a portal which requires the integration of various opensource applications, I had to install quite a few systems that require mysql databases. In order to keep a safe separation between these systems, one should create different users that will have access only to the specific database. This is a simple way to prevent losing all your databases in case of the mishap when an attack is successful on a system and sql commands pass directly to the database (sql injection etc). This is a how-to create the new user, the new database and set the requested permissions.
Wednesday, September 28, 2011
Reset mysql 5.1 root pass
I had to install a couple of dbs on a mysql server which refused to recognize me as its root… I kept receiving the following not-so-friendly message:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)As it turns out, something was messed up during the installation and mysql did not recognize the given root password (mistype perhaps?). Anyway, I had to reset the pass, and this is how I did it.
Install bigbluebutton 0.8 (BBB) on Ubuntu 11.04
I recently installed big blue button version 0.8 on Ubuntu 11.04 and I came up with some errors while installing. This post is the log of my actions that solved my problem.
Saturday, September 24, 2011
Word to CHM source code
I have just finished updating an old buggy sourceforge project and decided to share code and binaries. More over, I have written a nice post on why I had to update the project and how to use it to convert word to mobi files for kindle but thanks to Windows Live Writer (which crashed :-( ) I lost it all!
Subscribe to:
Posts (Atom)