Techy Things

Build a Node.JS C++ Module 0

Build a Node.JS C++ Module

Prerequisites nvm Build a Node.JS C++ Module from Scratch nvm use 8 npm install -g node-gyp mkdir addon cd addon npm init touch binding.gyp Edit binding.gyp and write this inside { "targets": [ {...

gSOAP cross-compiling in C++ for ws-discovery 0

gSOAP cross-compiling in C++ for ws-discovery

Troubleshooting Problem arm-none-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../gsoap -I../../gsoap/plugin -DLINUX -Iyes/include -Iyes/include -DWITH_OPENSSL -DWITH_GZIP -DWSDL2H_IMPORT_PATH="\"/usr/share/gsoap /WS\"" -g -O2 -MT wsdl2h-service.o -MD -MP -MF .deps/wsdl2h-service.Tpo -c -o wsdl2h-service.o `test -f 'service.cpp' || echo './'`service.cpp In file...

Automatic Discovery with ONVIF and gSOAP 0

Automatic Discovery with ONVIF and gSOAP

The Behavior PROBE: The camera manager app sends an UDP broadcast message on a multicast IP 239.255.255.250 port 3702. This message is referred to as the "Probe" request. PROBEMATCHES: Each camera devices that have received...

Installing Milestone on Windows 10 with accounts on a domain 0

Installing Milestone on Windows 10 with accounts on a domain

4/10/2019 2:25:42 PM Information CopyOldExternalPlugins: Started... 4/10/2019 2:25:42 PM Information Calling SetupDatabaseTask 4/10/2019 2:25:49 PM Information Last error: {0} 4/10/2019 2:25:49 PM Error An error occurred: 'InstallationAdapterException: Could not configure the server. See the...

repos on Debian 8 0

repos on Debian 8

Media change: please insert the disc labeled 'Debian GNU/Linux 8.11.0 _Jessie_ - Official amd64 DVD Binary-1 20180623-13:07' in the drive '/media/cdrom/' and press enter Solution https://askubuntu.com/questions/124017/how-do-i-restore-the-default-repositories vi /etc/apt/sources.list Comment out the CDROM line Unable...

Knex:Error Pool2 - Error: connect ECONNREFUSED 127.0.0.1:5432 0

Knex:Error Pool2 - Error: connect ECONNREFUSED 127.0.0.1:5432

Error Knex:Error Pool2 - Error: connect ECONNREFUSED 127.0.0.1:5432 Knex:Error Pool2 - Error: connect ECONNREFUSED 127.0.0.1:5432 Solution for CentOS 7 https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-centos-7 Install your database server and create databases sudo yum install postgresql-server postgresql-contrib sudo postgresql-setup...

TypeError: gulp.hasTask is not a function 0

TypeError: gulp.hasTask is not a function

Error 1 $ gulp [12:01:26] Using gulpfile ~/kraken-server/gulpfile.js [12:01:26] Starting 'default'... [12:01:26] 'default' errored after 2.03 ms [12:01:26] TypeError: gulp.hasTask is not a function at /home/frank/kraken-server/node_modules/run-sequence/index.js:19:22 at Array.forEach (<anonymous>) at verifyTaskSets (/home/frank/kraken-server/node_modules/run-sequence/index.js:13:11) at /home/frank/kraken-server/node_modules/run-sequence/index.js:32:4...

Three ways to add dropdown options via Javascripts 0

Three ways to add dropdown options via Javascripts

Method #1 - Via jQuery + html tag var self = this; var sel = (self.selected === -1)?true:false; var option = null; option = $(""); option.val(-1).prop("selected", sel).text("(None)"); this.$el.append(option); this.collection.forEach(function(model) { sel = (self.selected ==...