Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Coding Around 🌳 🌲 📈 📊 🙃

Luis Puerto luispuerto

👨‍💻
Coding Around 🌳 🌲 📈 📊 🙃
View GitHub Profile
@luispuerto
luispuerto / buttondown.css
Last active Apr 27, 2021 — 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 rgl error no-rmakevars no-libpng-brew.txt
installing the source package ‘rgl’
trying URL 'https://cran.rstudio.com/src/contrib/rgl_0.105.22.tar.gz'
Content type 'application/x-gzip' length 2995117 bytes (2.9 MB)
==================================================
downloaded 2.9 MB
* installing *source* package ‘rgl’ ...
** package ‘rgl’ successfully unpacked and MD5 sums checked
** using staged installation
@luispuerto
luispuerto / To Correos.md
Last active Feb 9, 2021
What is going on with my problems to collect the elections money from correos
View To Correos.md

Las liadas de correos / Spanish postal service mess

Correos siempre la tiene que estar liando. Mi mujer y yo votamos en las [elecciones de Noviembre de 2019][1] en la que nos gastamos casi 10 € por cabeza para poder mandar nuestro voto a la embajada por correo certificado ya que vivíamos en ese momento en Joensuu, Finlandia, donde no había embajada o consulado y por lo tanto teníamos que mandar nuestros votos a Helsinki.

En España, el voto es gratuito, por lo que a los que estamos fuera de España nos tienen que reembolsar los gastos de franqueo en los que incurrimos. Lo que pasa que que en vez de reembolsarte el importe en el que incurres, el estado a través de Correos te reembolsa un fijo de 8€ a todo el mundo, ya que es lo que entiendo que estima que le cuesta a todo el mundo realizar el envío.

Los reembolsos son eternos… Nosotros hicimos todo esto antes de nov 2019 y hemos recibido una carta hace un par

@luispuerto
luispuerto / r_ubuntu.sh
Last active Dec 19, 2020 — 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 eoan-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
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
View OpenVPN errors
May 30 20:25:31 ovpn-client1[11506]: TLS: tls_process: killed expiring key
May 30 20:25:31 ovpn-client1[11506]: VERIFY OK: depth=2, C=PA, O=NordVPN, CN=NordVPN Root CA
May 30 20:25:31 ovpn-client1[11506]: VERIFY OK: depth=1, C=PA, O=NordVPN, CN=NordVPN CA4
May 30 20:25:31 ovpn-client1[11506]: VERIFY KU OK
May 30 20:25:31 ovpn-client1[11506]: Validating certificate extended key usage
May 30 20:25:31 ovpn-client1[11506]: ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
May 30 20:25:31 ovpn-client1[11506]: VERIFY EKU OK
May 30 20:25:31 ovpn-client1[11506]: VERIFY OK: depth=0, CN=us4921.nordvpn.com
May 30 20:25:33 ovpn-client1[11506]: Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
May 30 20:25:33 ovpn-client1[11506]: Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
@luispuerto
luispuerto / syslog.txt
Created May 13, 2020
log of my router
View syslog.txt
May 13 06:31:47 syslog: WLCEVENTD wlceventd_proc_event(401): eth2: Disassoc C0:E8:62:D9:B6:17, status: 0, reason: Disassociated because sending station is leaving (or has left) BSS (8)
May 13 06:31:48 syslog: WLCEVENTD wlceventd_proc_event(420): eth2: Auth C0:E8:62:D9:B6:17, status: 0, reason: d11 RC reserved (0)
May 13 06:31:48 syslog: WLCEVENTD wlceventd_proc_event(449): eth2: Assoc C0:E8:62:D9:B6:17, status: 0, reason: d11 RC reserved (0)
May 13 06:31:49 syslog: WLCEVENTD wlceventd_proc_event(420): wl1.2: Auth D0:D2:B0:84:65:F2, status: 0, reason: d11 RC reserved (0)
May 13 06:31:49 syslog: WLCEVENTD wlceventd_proc_event(449): wl1.2: Assoc D0:D2:B0:84:65:F2, status: 0, reason: d11 RC reserved (0)
May 13 06:31:50 syslog: WLCEVENTD wlceventd_proc_event(420): eth2: Auth F0:D1:A9:0F:63:EC, status: 0, reason: d11 RC reserved (0)
May 13 06:31:50 syslog: WLCEVENTD wlceventd_proc_event(449): eth2: Assoc F0:D1:A9:0F:63:EC, status: 0, reason: d11 RC reserved (0)
May 13 06:31:50 syslog: WLCEVENTD wlceventd_proc_event
View RSQLite-error.r
install.packages("RSQLite")
Installing package into/Users/lpuerto/Library/R/3.x/library
(aslibis unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/RSQLite_2.2.0.tar.gz'
Content type 'application/x-gzip' length 2373785 bytes (2.3 MB)
==================================================
downloaded 2.3 MB
* installing *source* packageRSQLite...
** packageRSQLitesuccessfully unpacked and MD5 sums checked
View R CMD javareconf output
$ R CMD javareconf
*** JAVA_HOME is not a valid path, ignoring
Java interpreter : /usr/bin/java
Java version : 13.0.2
Java home path : /Library/Java/JavaVirtualMachines/openjdk-13.0.2.jdk/Contents/Home
Java compiler : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar
trying to compile and link a JNI program
View .gitignore_global
# from: https://github.com/github/gitignore ####################################
# macOS ########################################################################
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r