Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Coding Around 🌳 🌲 📈 📊 🙃

Luis Puerto luispuerto

👨‍💻
Coding Around 🌳 🌲 📈 📊 🙃
Block or report user

Report or block luispuerto

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
View .gitignore_global
# from: https://github.com/github/gitignore ####################################
# macOS ########################################################################
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
@luispuerto
luispuerto / r_ubuntu.sh
Last active Oct 22, 2019 — forked from ElToro1966/r_ubuntu_18_04.sh
Install R and RStudio on Ubuntu 19.10 with essential libraries for data science. Based on pachamaltese/r_ubuntu_17_10.sh (for Ubuntu 17.10). Note: You need to make sure the default library location - /usr/local/lib/R/site-packages - is writable .
View r_ubuntu.sh
# Add repo to install the last R
sudo apt install apt-transport-https software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu disco-cran35/'
# Install R
sudo apt update
sudo apt install gdebi libxml2-dev libssl-dev libcurl4-openssl-dev libopenblas-dev r-base r-base-dev
# Install RStudio
@luispuerto
luispuerto / buttondown.css
Last active Sep 5, 2019 — forked from ryangray/buttondown.css
A clean, minimal CSS stylesheet for Markdown, Pandoc and MultiMarkdown HTML output.
View buttondown.css
/*
Buttondown
A Markdown/MultiMarkdown/Pandoc HTML output CSS stylesheet
Author: Ryan Gray
Date: 15 Feb 2011
Contributor: Luis Puerto (luiss.puerto@gmail.com)
Revised: Mon, 12 Aug 2019
General style is clean, with minimal re-definition of the defaults or
overrides of user font settings. The body text and header styles are
View Makevars
# --------
# RMakevars
# --------
# General note
# - need to repeat options across C++ flavors (e.g., 11, 14)
# Homebrew bin / opt / lib locations
HB=/usr/local/bin
HO=/usr/local/opt
@luispuerto
luispuerto / with armadillo
Created Aug 23, 2019
Building RcppArmadillo with and without Armadillo (homebrew) installed
View with armadillo
Installing package into ‘/Users/lpuerto/Library/R/3.x/library’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/RcppArmadillo_0.9.600.4.0.tar.gz'
Content type 'application/x-gzip' length 1360028 bytes (1.3 MB)
==================================================
downloaded 1.3 MB
* installing *source* package ‘RcppArmadillo’ ...
** package ‘RcppArmadillo’ successfully unpacked and MD5 sums checked
** using staged installation
View keybase.md

Keybase proof

I hereby claim:

  • I am luispuerto on github.
  • I am lpuerto (https://keybase.io/lpuerto) on keybase.
  • I have a public key ASAqQrhZG39TwECuGN9EtGSNANr-5UV-xVWonxIJQxyhNgo

To claim this, I am signing this object:

View MarkdownPreview.sublime-settings
/*
Markdown Preview user settings
*/
{
/*
Sets the default opener for HTML files
default - Use the system default HTML viewer
other - Set a full path to any executable. ex: /Applications/Google Chrome Canary.app or /Applications/Firefox.app
*/
View osgeo-qgis-install-01.log
==> Installing osgeo-qgis from osgeo/osgeo4mac
==> Installing dependencies for osgeo/osgeo4mac/osgeo-qgis: osgeo-gdal-python, qt, osgeo-sip, osgeo-pyqt, osgeo-qscintilla2, qca, libxslt, libjpeg-turbo, osgeo-qt-webkit, osgeo-pyqt-webkit, osgeo-qtkeychain, qwt, spatialindex, qwtpolar, desktop-file-utils, hicolor-icon-theme, qjson, freetds, osgeo-psqlodbc, protobuf, protobuf-c, atk, gdk-pixbuf, gtk+, osgeo-postgis, libssh, exiv2, osgeo-laszip@2, osgeo-liblas, jsoncpp, osgeo-laz-perf, double-conversion, gd, libcerf, lua, gnuplot, glew, pegtl, pugixml, netpbm, gts, graphviz, sdl, libagg, scipy, py3cairo, libepoxy, gtk+3, gobject-introspection, py2cairo, pygobject3, pygobject, pygtk, wxmac, wxpython, libde265, shared-mime-info, libheif, libomp, ilmbase, openexr, imagemagick, osgeo-matplotlib, gl2ps, libharu, mysql-client, openslide, tbb, libidn, inetutils, osgeo-vtk, cminpack, flann, sphinx, libpcap, osgeo-pcl, osgeo-hexer, laszip, osgeo-pdal, nspr, nss, poppler, gnu-sed, lapack, cython, dbus, libsvg, libsvg-cairo,
View rJava-build.log
Installing package into ‘/Users/lpuerto/Library/R/3.x/library’
(as ‘lib’ is unspecified)
trying URL 'http://rforge.net/src/contrib/rJava_0.9-11.tar.gz'
Content type 'application/x-gzip' length 656573 bytes (641 KB)
==================================================
downloaded 641 KB
* installing *source* package ‘rJava’ ...
checking for gcc... /usr/local/opt/llvm/bin/clang
checking whether the C compiler works... yes
View xlsx-build.log
Installing package into ‘/Users/lpuerto/Library/R/3.x/library’
(as ‘lib’ is unspecified)
trying URL 'cloud.r-project.org/src/contrib/xlsx_0.6.1.tar.gz'
Content type 'application/x-gzip' length 315441 bytes (308 KB)
==================================================
downloaded 308 KB
* installing *source* package ‘xlsx’ ...
** package ‘xlsx’ successfully unpacked and MD5 sums checked
** R
You can’t perform that action at this time.