Google Ads

Tuesday, June 30, 2015

Hi folks,

Do you need to work with PDF files?

You need to use this website called

Saturday, June 27, 2015

How to install GitBook using NPM

Visit the website:

Type on your terminal:

npm install gitbook-cli -g


Caios-MacBook-Pro:thedatasciencenotebook caiomsouza$ npm install gitbook-cli -g
/usr/local/bin/gitbook -> /usr/local/lib/node_modules/gitbook-cli/bin/gitbook.js
gitbook-cli@0.3.4 /usr/local/lib/node_modules/gitbook-cli
├── bash-color@0.0.3
├── user-home@1.1.1
├── commander@2.6.0
├── tmp@0.0.23
├── q@1.0.1
├── semver@2.2.1
├── lodash@2.4.1
├── npmi@0.1.1 (semver@4.3.6)
├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
├── npm@2.4.1
└── fs-extra@0.15.0 (jsonfile@2.2.1, graceful-fs@3.0.8, rimraf@2.4.0)

How to Install Node.js and NPM on a Mac

Visit the website:

Type on your terminal:

brew install node


Caios-MacBook-Pro:thedatasciencenotebook caiomsouza$ brew install node
==> Downloading
######################################################################## 100.0%
==> Pouring node-0.12.5.yosemite.bottle.tar.gz
==> Caveats

Bash completion has been installed to:
==> Summary
🍺  /usr/local/Cellar/node/0.12.5: 2681 files, 29M
Caios-MacBook-Pro:thedatasciencenotebook caiomsouza$ node -v
Caios-MacBook-Pro:thedatasciencenotebook caiomsouza$ npm -v

How to Install Homebrew on Mac OS

Read the website

Type on your terminal:

ruby -e "$(curl -fsSL"


Caios-MacBook-Pro:thedatasciencenotebook caiomsouza$ ruby -e "$(curl -fsSL"
==> This script will install:
==> The following directories will be made group writable:
==> The following directories will have their group set to admin:

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/include /usr/local/lib /usr/local/lib/pkgconfig /usr/local/share /usr/local/share/man /usr/local/share/man/man1
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/include /usr/local/lib /usr/local/lib/pkgconfig /usr/local/share /usr/local/share/man /usr/local/share/man/man1
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 3641, done.
remote: Compressing objects: 100% (3474/3474), done.
remote: Total 3641 (delta 36), reused 726 (delta 26), pack-reused 0
Receiving objects: 100% (3641/3641), 2.94 MiB | 0 bytes/s, done.
Resolving deltas: 100% (36/36), done.
 * [new branch]      master     -> origin/master
HEAD is now at a1ad7ee dynamips: update homepage
==> Installation successful!
==> Next steps
Run `brew help` to get started

Friday, June 26, 2015

Atom 1.0 - A hackable text editor for the 21st Century

Atom is a text editor that's modern, approachable, yet hackable to the core—a tool you can customize to do anything but also use productively without ever touching a config file.

Monday, June 22, 2015

adminpackage4r - Admin Package For R is an easy way to manage your packages in R

Hi Folks,

This weekend I created Admin Package for R, it is still version 0.1 but maybe it will help you.

# Load adminpackage4r
# Specify the list of required packages to be installed and load    
Required_Packages=c("ggplot2", "Rcpp", "plyr", "sqldf");

# Call the Function

Big Data ¿Navegar o naufragar en un mar de datos?

Friday, June 19, 2015

São Paulo, Boston e Londres vistos em alta definição da Estação Espacial

Kylin integration into Pentahos Business Analytics Platform

Kylin integration into Pentahos Business Analytics Platform

Pre-installation Requirements

  • Pentahos Business Analytics Platform (Community Edition):
  • Installed Saiku from Marketplace
  • Cloudera 5.3 VM with TCP Port-Forwarding from 7071 (Host) to 7070 (Guest)
  • Kylin 0.6.4 installed on your VM with at least one successfully built Cube. Kylin has to run on Port 7070. For more information see

See the link below to more details:

Sunday, June 14, 2015

Raffaello D'Andrea: The astounding athletic power of quadcopters

Build Your Own Drone

How To: Set Up Your DJI Drone | Phantom - F450 - NAZA - Installing Software

Setting Up Your DJI Drone with Naza Assistant Software | Phantom, Naza Flight Controller

How To: Make A Drone (Quadcopter)

Here are the specs of the build:
HJ450 Frame - Black and White Arms (DJI F450 Look Alike) -
Naza M-V2 w/ GPS and PMU -
Spektrum DX7s 2.4 GHz TX -
Spekrtum AR8000 2.4 GHz RX - Came with DX7s TX
Hobby King 30 Amp ESCs -
Cheetah 2217-08 Motors (1100kV, 200W) -

Saturday, June 13, 2015

How to install python-louvain 0.3 (Louvain algorithm for community detection) on Mac OS

Install community library:

Louvain algorithm for community detection

1) download from:

2) Unzip python-louvain-0.3.tar.gz

3) Run on terminal the command sudo python install in side the unzip folder called python-louvain-0.3

4) Restart ipython notebook

5) Try it.

Last login: Sat Jun 13 10:25:49 on ttys000
Caios-MacBook-Pro:u-tad caiomsouza$ sudo python install
python: can't open file '': [Errno 2] No such file or directory
Caios-MacBook-Pro:u-tad caiomsouza$ ls
Mod1            Mod15            Mod5            contributors.txt
Mod10            Mod16            Mod6            material-internet
Mod11            Mod17            Mod7            planning_EDS_2ED.pdf
Mod12            Mod2            Mod8
Mod13            Mod3            Mod9
Mod14            Mod4            actividades-utad.xlsx
Caios-MacBook-Pro:u-tad caiomsouza$ cd Mod9/
Caios-MacBook-Pro:Mod9 caiomsouza$ ls
GD_M09_Grafos_SNA.pdf    datasets        python-lib        slides
Caios-MacBook-Pro:Mod9 caiomsouza$ cd python-lib/
Caios-MacBook-Pro:python-lib caiomsouza$ ls
Caios-MacBook-Pro:python-lib caiomsouza$ ls
python-louvain-0.3        python-louvain-0.3.tar.gz
Caios-MacBook-Pro:python-lib caiomsouza$ cd python-louvain-0.3
Caios-MacBook-Pro:python-louvain-0.3 caiomsouza$ ls
PKG-INFO        community        setup.cfg
README            python_louvain.egg-info
Caios-MacBook-Pro:python-louvain-0.3 caiomsouza$ sudo python install


Caios-MacBook-Pro:python-louvain-0.3 caiomsouza$ sudo python install
running install
/Users/caiomsouza/anaconda/lib/python2.7/site-packages/setuptools-14.3-py2.7.egg/pkg_resources/ PEP440Warning: 'llvmlite (0.2.2-1-gbcb15be)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
running bdist_egg
running egg_info
writing requirements to python_louvain.egg-info/requires.txt
writing python_louvain.egg-info/PKG-INFO
writing top-level names to python_louvain.egg-info/top_level.txt
writing dependency_links to python_louvain.egg-info/dependency_links.txt
writing entry points to python_louvain.egg-info/entry_points.txt
reading manifest file 'python_louvain.egg-info/SOURCES.txt'
writing manifest file 'python_louvain.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.5-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/community
copying community/ -> build/lib/community
creating build/bdist.macosx-10.5-x86_64
creating build/bdist.macosx-10.5-x86_64/egg
creating build/bdist.macosx-10.5-x86_64/egg/community
copying build/lib/community/ -> build/bdist.macosx-10.5-x86_64/egg/community
byte-compiling build/bdist.macosx-10.5-x86_64/egg/community/ to __init__.pyc
creating build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying python_louvain.egg-info/PKG-INFO -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying python_louvain.egg-info/SOURCES.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying python_louvain.egg-info/dependency_links.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying python_louvain.egg-info/entry_points.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying python_louvain.egg-info/requires.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying python_louvain.egg-info/top_level.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/python_louvain-0.3-py2.7.egg' and adding 'build/bdist.macosx-10.5-x86_64/egg' to it
removing 'build/bdist.macosx-10.5-x86_64/egg' (and everything under it)
Processing python_louvain-0.3-py2.7.egg
Copying python_louvain-0.3-py2.7.egg to /Users/caiomsouza/anaconda/lib/python2.7/site-packages
Adding python-louvain 0.3 to easy-install.pth file
Installing community script to /Users/caiomsouza/anaconda/bin

Installed /Users/caiomsouza/anaconda/lib/python2.7/site-packages/python_louvain-0.3-py2.7.egg
Processing dependencies for python-louvain==0.3
Searching for networkx==1.9.1
Best match: networkx 1.9.1
Adding networkx 1.9.1 to easy-install.pth file

Using /Users/caiomsouza/anaconda/lib/python2.7/site-packages
Finished processing dependencies for python-louvain==0.3

Note for Linux Ubuntu Users:
If you are using Linux Ubuntu you will maybe need to install setuptools.

export PATH=/opt/anaconda/bin/:$PATH;
ipython notebook

Saturday, June 06, 2015

The OpenXC Platform

OpenXC™ is a combination of open source hardware and software that lets you extend your vehicle with custom applications and pluggable modules. It uses standard, well-known tools to open up a wealth of data from the vehicle to developers, even beyond OBD-II.