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 .bash_profile
################################################################################
############################# bash configuration ###############################
################################################################################
# Language and localization variables
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# Settings $PATH
@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 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 / 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 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 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
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 otb error.txt
Couldn't load plugin 'otb' due to an error when calling its classFactory() method
ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. Here is how to proceed: - If you're working with a numpy git repository, try `git clean -xdf` (removes all files not under version control) and rebuild numpy. - If you are simply trying to use the numpy version that you have installed: your installation is broken - please reinstall numpy. - If you have already reinstalled and that did not fix the problem, then: 1. Check that you are using the Python you expect (you're using /usr/local/Cellar/qgis/3.6.0_2/QGIS.app/Contents/MacOS/QGIS), and that you have no directories in your PATH or PYTHONPATH that can interfere with the Python and numpy versions you're trying to use. 2. If (1) looks fine, you can open a new issue at https://github.com/numpy/numpy/issues. Pleas
You can’t perform that action at this time.