Skip to content

Instantly share code, notes, and snippets.

View inkel's full-sized avatar
:shipit:
The floating head with a beard

Leandro López inkel

:shipit:
The floating head with a beard
View GitHub Profile
executing: /usr/local/bin/VBoxManage
STDOUT: Oracle VM VirtualBox Command Line Management Interface Version 5.0.0
(C) 2005-2015 Oracle Corporation
All rights reserved.
Usage:
VBoxManage [<general option>] <command>
executing: /Applications/VirtualBox.app/Contents/MacOS//VBoxManage
STDOUT: Oracle VM VirtualBox Command Line Management Interface Version 5.0.0
(C) 2005-2015 Oracle Corporation
All rights reserved.
Usage:
VBoxManage [<general option>] <command>

Using the following Dockerfile:

FROM alpine:3.2

RUN apk update
RUN apk add gcc
RUN apk del --purge gcc

ENTRYPOINT ["sh"]
gem install rabbitmq:1.1.1 typhoeus:0.7.2
ERROR: Error installing rabbitmq:
ERROR: Failed to build gem native extension.
/usr/bin/ruby -r ./siteconf20150724-9-b8aeus.rb extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
@inkel
inkel / Dockerfile
Last active August 20, 2017 14:55
FROM alpine:3.2
MAINTAINER Leandro López <inkel.ar@gmail.com>
# Install base packages
RUN apk update && apk upgrade
# Install ruby and ruby-bundler
RUN apk add curl-dev ruby-dev build-base ruby
# Clean APK cache
@inkel
inkel / __output.log
Last active August 29, 2015 14:17
Elasticsearch::API::Utils#__pathify is slow and probably overly complex. This gist shows the result of my attempts at improving it's performance.
$ PROTEST_REPORT=progress RUBYOPT=-rpry tmp/benchmark.rb
Calculating -------------------------------------
original 11.231k i/100ms
__pathify 14.706k i/100ms
__pathify2 21.360k i/100ms
-------------------------------------------------
original 124.124k (±13.1%) i/s - 617.705k
__pathify 154.361k (±18.9%) i/s - 735.300k
__pathify2 209.829k (± 9.5%) i/s - 1.047M
package main
import (
"fmt"
"github.com/howeyc/crc16"
)
func main() {
data := []byte("inkel")

Programación Web - Club de Programación CMD

Intro

Bienvenida

Bienvenidos a una brevísima historia de qué es la Internet. Me pidieron que trate de contarles en 30 minutos qué es la programación web, y para eso necesitamos saber cómo funciona Internet, o más específicamente la WWW, más conocida como la Web.

Keybase proof

I hereby claim:

  • I am inkel on github.
  • I am inkel (https://keybase.io/inkel) on keybase.
  • I have a public key whose fingerprint is E2AB B6B9 4C2F 65B0 9500 F0EF 76E7 997E 7144 93F5

To claim this, I am signing this object:

Intro

Bienvenida

Bienvenidas a una brevísima historia de qué es la Internet. Me pidieron que trate de contarles en 15 minutos qué es y cómo funciona Internet, o más específicamente la WWW, más conocida como la Web.

La verdad que 15 minutos no es suficiente para tener un sólido entendimiento de todo esto, pero vamos a ver los puntos que más