Pages

Google Ads

Tuesday, June 30, 2015

Smallpdf.com

Hi folks,

Do you need to work with PDF files?

You need to use this website called smallpdf.com


Saturday, June 27, 2015

How to install GitBook using NPM

Visit the website: https://github.com/GitbookIO/gitbook

Type on your terminal:

npm install gitbook-cli -g

output:

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: http://blog.teamtreehouse.com/install-node-js-npm-mac

Type on your terminal:

brew install node

output:

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

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


How to Install Homebrew on Mac OS

Read the website http://brew.sh

Type on your terminal:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

output:

Caios-MacBook-Pro:thedatasciencenotebook caiomsouza$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/.
/usr/local/include
/usr/local/lib
/usr/local/lib/pkgconfig
/usr/local/share
/usr/local/share/man
/usr/local/share/man/man1
==> The following directories will have their group set to 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

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
Password:
==> /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.
From https://github.com/Homebrew/homebrew
 * [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
library("adminpackage4r") 
 
# Specify the list of required packages to be installed and load    
Required_Packages=c("ggplot2", "Rcpp", "plyr", "sqldf");

# Call the Function
Install_And_Load(Required_Packages);
 
 
Source:
https://github.com/caiomsouza/adminpackage4r  

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

Friday, June 19, 2015

Kylin integration into Pentahos Business Analytics Platform

Kylin integration into Pentahos Business Analytics Platform

Pre-installation Requirements

  • Pentahos Business Analytics Platform (Community Edition): 5.2.0.0-209
  • Installed Saiku 3.0.9.9 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 https://github.com/KylinOLAP/Kylin/wiki/On-Hadoop-CLI-installation

See the link below to more details:

https://github.com/mustangore/thesis

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) - eBay.com
Naza M-V2 w/ GPS and PMU - eBay.com
Spektrum DX7s 2.4 GHz TX - eBay.com
Spekrtum AR8000 2.4 GHz RX - Came with DX7s TX
Hobby King 30 Amp ESCs - hobbyking.com
Cheetah 2217-08 Motors (1100kV, 200W) - gravesrc.com


http://www.ebay.co.uk/itm/DJI-Flame-Wheel-F450-ARF-Naza-M-Lite-COMBO-w-LED-Module-E300-MOTORS-ESC-Props-l-/281628196583

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: https://pypi.python.org/pypi/python-louvain/0.3

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

3) Run on terminal the command sudo python setup.py 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 setup.py install
Password:
python: can't open file 'setup.py': [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
python-louvain-0.3.tar.gz
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    setup.py
Caios-MacBook-Pro:python-louvain-0.3 caiomsouza$ sudo python setup.py install


Output:

Caios-MacBook-Pro:python-louvain-0.3 caiomsouza$ sudo python setup.py install
running install
/Users/caiomsouza/anaconda/lib/python2.7/site-packages/setuptools-14.3-py2.7.egg/pkg_resources/__init__.py:2512: 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/__init__.py -> 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/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/community
byte-compiling build/bdist.macosx-10.5-x86_64/egg/community/__init__.py 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.

http://openxcplatform.com