Skip to content

Instantly share code, notes, and snippets.

Nicolas nicolasazrak

Block or report user

Report or block nicolasazrak

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
@nicolasazrak
nicolasazrak / README.md
Last active Sep 18, 2019
Graph process memory
View README.md

Usage ./graph.sh

It requires having gnuplot installed

View concurrent_http_cache.go
package main
import (
"fmt"
"io"
"io/ioutil"
"net/http"
"os"
"strings"
"time"
@nicolasazrak
nicolasazrak / Dockerfile
Last active Aug 17, 2017 — forked from moneytoo/gist:ab3f34e4fddc2110675952f8280f49c5
nginx with OpenSSL 1.0.2 (ALPN) on CentOS 7, also available from https://brouken.com/brouken-centos-7-repo/
View Dockerfile
FROM centos:7
RUN mkdir -p /tmp/nginx /root/rpmbuild/RPMS/x86_64/
ADD build.sh /tmp/nginx/
WORKDIR /tmp/nginx
CMD /tmp/nginx/build.sh
@nicolasazrak
nicolasazrak / Readme.md
Last active Jan 16, 2018
Ejemplo en python de un job map reduce para el TP de SO 1C2015
View Readme.md

Job de map reduce para contar la cantidad de repeticiones de cada palabra en un texto.

Modo de uso: cat texto.txt | ./mapper.py | sort | ./reducer.py

Puede agregarse al final `` cat texto.txt | ./mapper.py | sort | ./reducer.py | sort -r -n -k2 > out.txt

You can’t perform that action at this time.