Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| SUMMARY | |
| ================================================================================ | |
| This dataset was constructed to support participants in the Netflix Prize. See | |
| http://www.netflixprize.com for details about the prize. | |
| The movie rating files contain over 100 million ratings from 480 thousand | |
| randomly-chosen, anonymous Netflix customers over 17 thousand movie titles. The | |
| data were collected between October, 1998 and December, 2005 and reflect the | |
| distribution of all ratings received during this period. The ratings are on a |
| SUMMARY | |
| ================================================================================ | |
| This dataset was constructed to support participants in the Netflix Prize. See | |
| http://www.netflixprize.com for details about the prize. | |
| The movie rating files contain over 100 million ratings from 480 thousand | |
| randomly-chosen, anonymous Netflix customers over 17 thousand movie titles. The | |
| data were collected between October, 1998 and December, 2005 and reflect the | |
| distribution of all ratings received during this period. The ratings are on a |
| /** | |
| * Node or Browser Console Logger | |
| * @author: Loreto Parisi (loretoparisi gmail dot com) | |
| */ | |
| var LP Logger = { | |
| /** True if browser console, False if is node */ | |
| isConsole : ((typeof process === 'object' && process + '' === '[object process]')?false:true), | |
| level:0, |
| %{ | |
| Matlab Kmean example | |
| @author Loreto Parisi (loretoparisi at musixmatch dot com) | |
| @2015-2016 Musixmatch Spa. | |
| %} | |
| %{ clean all figures and dock new figure } | |
| close all; | |
| figure | |
| try |
| /** | |
| * Simple Crawler with Node Phantom | |
| * @author: loretoparisi at gmail dot com | |
| */ | |
| (function() { | |
| var Crawler,phantom,cheerio; | |
| cheerio = require("cheerio"), | |
| phantom = require('phantom'); |
| #!/bin/bash | |
| PHANTOM_JS="phantomjs-2.1.1-linux-x86_64" | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "You must be a root user" 2>&1 | |
| exit 1 | |
| else | |
| apt-get update | |
| apt-get install -y build-essential chrpath libssl-dev libxft-dev | |
| apt-get install -y libfreetype6 libfreetype6-dev | |
| apt-get install -y libfontconfig1 libfontconfig1-dev |
| // `promise` is some operation that may succeed (fulfill) or fail (reject) | |
| var newPromise = promise.then( | |
| function () { | |
| return delay(1000); | |
| }, | |
| writeError | |
| ); | |
| // If `promise` fulfills, `newPromise` will fulfill in 1000 ms. | |
| // If `promise` rejects and writing to the error log succeeds, |
| var console = { | |
| log: function(s) { | |
| document.getElementById("console").innerHTML += s + "<br/>" | |
| } | |
| } | |
| // Simple XMLHttpRequest | |
| // based on https://davidwalsh.name/xmlhttprequest | |
| SimpleRequest = { | |
| call: function(what, response) { | |
| var request; |