Skip to content

Instantly share code, notes, and snippets.

Lucas Fernandez Seivane quevedin

Block or report user

Report or block quevedin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Maprcli Usage Examples

Basic ------------------ maprcli is a command line tool (CLI) used to view and edit MapR system settings.The start of the documention on maprcli can be found here:

This document provides some examples of maprcli usage.

maprcli has a large number of options organized into subcommands. By typing maprcli without any options you will get a usage summary showing all the subcommands. Use that to remind yourself of the subcommands and options.

quevedin /
Created Sep 20, 2018 — forked from Brainiarc7/
How to correctly install nvidia-docker2 on Ubuntu 16.04LTS

How to install NVIDIA Docker 2 package on Ubuntu and Debian:

If you came to this result (from Google or elsewhere) after realizing that Nvidia-docker's entry on this subject does not result in a working installation, here are the basic steps needed to install this package correctly:

For starters, ensure that you've installed the latest Docker Community edition by following the steps below:

curl -fsSL | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"
quevedin /
Created Sep 6, 2018 — forked from rjurney/
How to automagically install Oracle JDK 1.8 on CentOS
# Install Java 1.8 in CentOS/RHEL 6.X
sudo yum remove -y java-1.6.0-openjdk
wget --no-cookies \
--no-check-certificate \
--header "Cookie: oraclelicense=accept-securebackup-cookie" \
"" \
-O jdk-8-linux-x64.rpm
sudo rpm -Uvh jdk-8-linux-x64.rpm
sudo alternatives --install /usr/bin/java java /usr/java/jdk1.8.0/jre/bin/java 20000
sudo alternatives --install /usr/bin/jar jar /usr/java/jdk1.8.0/bin/jar 20000
quevedin /
Created Sep 3, 2018 — forked from glennswest/
Grow Azure RHEL Root Value - Full Auto
echo "Grow Root FS"
rootdev=`findmnt --target / -o SOURCE -n`
rootdrivename=`lsblk -no pkname $rootdev`
majorminor=`lsblk $rootdev -o MAJ:MIN | tail -1`
yum install -y cloud-utils-growpart.noarch
growpart $rootdrive $part_number -u on
xfs_growfs $rootdev
quevedin / odoo_requirements_pypy.txt
Created Apr 21, 2016 — forked from vuamitom/odoo_requirements_pypy.txt
Odoo 8 pip requirements.txt for Pypy
View odoo_requirements_pypy.txt
quevedin /
Created Mar 22, 2016 — forked from dannguyen/
Using Selenium and Python to screenshot a javascript-heavy page

Using Selenium and Python to screenshot a javascript-heavy page

As websites become more JavaScript heavy, it's harder to automate things like screenshotting for archival purposes. I've seen examples and suggestions to use PhantomJS for visual testing/archiving of websites, but have run into issues such as the non-rendering of webfonts. I've never tried out Selenium until today...and while I'm not thinking about performance implications yet, Selenium seems far more accurate than PhantomJS...which makes sense since it actually opens a real browser. And it's not too hard to script to do complex interactions: here's an [example of how to log in to Twitter, write a tweet, upload an image, and send a tweet via Selenium and DOM element selection](

quevedin / server.R
Last active Aug 29, 2015 — forked from withr/server.R
Encrypt password with md5 for Shiny-app.
View server.R
Logged = FALSE;
PASSWORD <- data.frame(Brukernavn = "withr", Passord = "25d55ad283aa400af464c76d713c07ad")
# Define server logic required to summarize and view the selected dataset
shinyServer(function(input, output) {
source("www/Login.R", local = TRUE)
if (USER$Logged == TRUE) {
quevedin / server.R
Last active Aug 29, 2015 — forked from jcheng5/server.R
Adding raw HTML to Shiny apps
View server.R
# Nothing to see here
shinyServer(function(input, output) {
quevedin / downloads.csv
Last active Aug 29, 2015 — forked from d3noob/downloads.csv
Simple Difference Chart
View downloads.csv
date_entered downloaded book_name
2015-04-19 5481 R Programming for Data Science
2015-04-19 23751 The Elements of Data Analytic Style
2015-04-20 5691 R Programming for Data Science
2015-04-20 23782 The Elements of Data Analytic Style
2015-04-21 6379 R Programming for Data Science
2015-04-21 23820 The Elements of Data Analytic Style
2015-04-22 7281 R Programming for Data Science
2015-04-22 23857 The Elements of Data Analytic Style
2015-04-23 7554 R Programming for Data Science
quevedin / boston.json
Last active Aug 29, 2015 — forked from pprett/boston.json
Decision Tree Viewer (D3 and Sklearn)
View boston.json
{"error": 42716.2954, "samples": 506, "value": [22.532806324110698], "label": "RM <= 6.94", "type": "split", "children": [{"error": 17317.3210, "samples": 430, "value": [19.93372093023257], "label": "LSTAT <= 14.40", "type": "split", "children": [{"error": 6632.2175, "samples": 255, "value": [23.349803921568636], "label": "DIS <= 1.38", "type": "split", "children": [{"error": 390.7280, "samples": 5, "value": [45.58], "label": "CRIM <= 10.59", "type": "split", "children": [{"error": 0.0000, "samples": 4, "value": [50.0], "label": "Leaf - 4", "type": "leaf"}, {"error": 0.0000, "samples": 1, "value": [27.9], "label": "Leaf - 5", "type": "leaf"}]}, {"error": 3721.1632, "samples": 250, "value": [22.90520000000001], "label": "RM <= 6.54", "type": "split", "children": [{"error": 1636.0675, "samples": 195, "value": [21.629743589743576], "label": "LSTAT <= 7.57", "type": "split", "children": [{"error": 129.6307, "samples": 43, "value": [23.969767441860473], "label": "TAX <= 222.50", "type": "split", "children": [{"err
You can’t perform that action at this time.