Techy Things

Using Backbone.Validation the correct way for client-side validation 0

Using Backbone.Validation the correct way for client-side validation

Client-side javascript validation using Backbone.Validation (1) Make sure backbone.validation.js and backbone.validation.bootstrap.js are included. backbone.validation.js : https://github.com/thedersen/backbone.validation/blob/master/src/backbone-validation.js backbone.validation.boostrap : https://gist.github.com/driehle/2909552 (2) Make sure your model extends Backbone.Model() and add a validation object to your model after the default declaration : SuperApp.Model = Backbone.Model.extend({ defaults : {...

wrong ELF class: ELFCLASS64 0

wrong ELF class: ELFCLASS64

error while loading shared libraries: libXv.so.1: wrong ELF class: ELFCLASS64 [root@kraken sbin]# ./krakend ./krakend: error while loading shared libraries: libXv.so.1: wrong ELF class: ELFCLASS64 Solution : Either install the 32-bit library missing -or- compile...

R programming howto 0

R programming howto

R programming notes and how to do. Split data frame by month s <- split(airquality, airquality$Month) # will output a list of data.frame. One data.frame per month. Applying a mean function to data splitted...