Skip to content

Instantly share code, notes, and snippets.

View javier-lopez's full-sized avatar
🏠
Working from home

Javier López javier-lopez

🏠
Working from home
View GitHub Profile
cat<<E=O=F | openssl enc -base64 -d | zcat | tar xvf -
H4sIAAj4R18AA+1ba3cTSZLl69avyBbeNjClkiXLNphjGAaYxWfppqdhh90DTJ9UVUrKcb2oh2QD
/u97I/JREjINs80yvWeVGCxVVWbG48aNyMxC5U2lFrpuZD9Ri6KsB9e+ettDOzo4wO/R/nh4tPLb
t2vD/aPR8Ojw8JCeG47Hh3vXxMHXF2WztVC9EuLaQs4qmTeffO5z9/+PNrXh/71hP66UbFRf57rR
Mu1Pdar6qm6qNm7aSkX1/B+bg/1/9Gn/j0dD8v9wbzwcHu7vXcPt0Qj+3/vfUXm9/T/3//XvBhOd
DyayngdBlYl+NRVCvB1Gia6C7Az/in5pvw/eyyh6dzkIpkUltND5R9fviqQQTdHGc7GjB++HUTQc
7V1G5UVMd3K1MV5RDWZykOvBOzlodJFvTlhU4UyGuQ7fyZCeuNyce+MRI4cfikRx8nXCmStXyPjP
dsg3bpvxf/rji8c///X08cv+X/7j8fMXp89+fB41578F+BTjh+Pxp+J/eHB4YOIff/n6iK5t4/9b
tJdz2QhZKXFRtJWYykVR6UaJsiqgblbfD8VyfnE/ACeIx4luEGziT1WxrBU+PJX5rJUzFYpnz0Oh
mjjg0XK1FI2K53mRFjOtah4eAcszVIVMMlneD57IBU8q1EJVwmScRCC44wKQ1JOWvjaFkPmFKEqV
http://187.191.75.115/gobmx/salud/datos_abiertos/datos_abiertos_covid19.zip
\documentclass[letterpaper,11pt,sans,final]{moderncv}
\usepackage[scale=0.8]{geometry}
\moderncvtheme[black]{casual}
\usepackage[utf8]{inputenc}
%hyperlinks
\usepackage[urlcolor=blue,unicode]{hyperref}
\urlstyle{same}
\firstname{Ninoska}
@javier-lopez
javier-lopez / devops.txt
Last active May 16, 2019 21:06
devops.txt
devops
======
vagrant, https://www.vagrantup.com/
sistemas operativos
===================
linux, http://softlibre.unizar.es/manuales/linux/868.pdf
- redhat
@javier-lopez
javier-lopez / elastix-cli
Created September 2, 2013 22:29
elastix-cli, cli interface for elastix voip solution
#!/bin/bash
set -e #exit as soon as any command fail
default_ssh_passwd="c2VjcmV0Cg=="
default_mysql_passwd="c2VjcmV0Cg=="
exec 9>/tmp/$(basename $0).lock #verify only one instance is running
if ! flock -n 9 ; then #http://mywiki.wooledge.org/BashFAQ/045
echo "$(basename $0): another instance is running";
exit 1
@javier-lopez
javier-lopez / VIM CDMX XV, 25 de Noviembre del 2017
Created November 1, 2017 19:34
VIM CDMX XV, 25 de Noviembre del 2017
https://fortes.com/2017/language-server-neovim/ #integración de autocompletado en neovim con servicios externos
https://github.com/syl20bnr/evil-tutor #tutorial de vim adaptado a emacs + modo evil (vim en emacs)
@javier-lopez
javier-lopez / daemonize_function.sh
Created October 15, 2015 07:00
daemonize sh function
_daemonize()
{ #daemonize an external command
#http://blog.n01se.net/blog-n01se-net-p-145.html
[ -z "${1}" ] && return 1
( # 1. fork, to guarantee the child is not a process
# group leader, necessary for setsid) and have the
# parent exit (to allow control to return to the shell)
# 2. redirect stdin/stdout/stderr before running child
[ -t 0 ] && exec </dev/null
Hacktober 2017, hackaton de colaboracióm con proyectos de software libre
========================================================================
Objetivo: Festejar y compartir experiencias sobre la colaboración con proyectos de software libre.
- Importancia del mantenimiento de proyectos FOSS
- Caso SSL, /dev/random Debian, Heartblead
- Marco Hacktober
- Organizaciones
- Bases
@javier-lopez
javier-lopez / VIM CDMX XIV, 28 de Octubre del 2017
Created October 19, 2017 13:24
VIM CDMX XIV, 28 de Octubre del 2017
Vim after 15 years, url
@javier-lopez
javier-lopez / keepn
Created September 25, 2017 16:57
keep n more recent files in directory
#!/usr/bin/perl
#description: keep n more recent files in directory
#usage: keepn DIR <n>
#exampe: keepn /var/log/apt/ 15 #default to 10
#keep latest 15 files, remove the rest
use strict;
use warnings;
use File::Basename;