Skip to content

Instantly share code, notes, and snippets.

View mcuadros's full-sized avatar

Máximo Cuadros mcuadros

View GitHub Profile
Names: Antonio Santiago, acanimal
Emails: [email protected], [email protected], [email protected]
Metrics
Repositories: 44
Public commits: 848
Total lines: 830416 added / 747410 deleted
Number of lines of code: 380994 added / 4523 deleted
Ratio of lines of tests vs code: 0.01 added / 0.16 deleted
Ratio of lines of comments vs code: 0.29 added / 0.01 deleted
Countries: italy (11.5076), spain (17.7335)

Miercoles, 2 Octobre - Salida

  • 18:00 domir en Tudelo (o cerca) cenar traquilamente

Jueves, 3 Octubre - Pamplona

  • Wayout Pamplona - El Interrogatorio 17:30
  • Wayout Pamplona - El Portal de Testla 18:45
  • Wayout Pamplona - Hotel Hello, 20:00

EXPLODE solutions applied to diff, blame problems

This solutions is based on the behaviour of EXPLODE in SparkSQL and the premise that the UDFs can return complex types like lists, structs and maps (this types are represented on wire as JSON type)

Functions

  • DIFF_TREE(repository_id, from<revision>, [to<revision>] -> something similar to []git.Change
  • DIFF(repository_id, from<revision>, [to<revision>] -> []struct{file_path, marker, line, content}
  • COMMIT_FILES_STATS(repository_id, from<revision>, [to<revision>] -> []struct{file_path, additions, deletions}
  • BLAME(repository_id, from, [file_path]] -> []struct{file_path, line, author_name, when, content}
Date Room Location Name Hours Booked?
26/05/2019 Abduction Barcelona, Spain The Exam 10:15 Booked
26/05/2019 Fear Escape Room Barcelona, Spain Fear Escape Room 14:30 16:45
26/05/2019 Bizzare BCN Barcelona, Spain Toys 16:15 Booked
26/05/2019 Bizzare BCN Barcelona, Spain Circus 17:30 Booked
### Keybase proof
I hereby claim:
* I am mcuadros on github.
* I am mcuadros (https://keybase.io/mcuadros) on keybase.
* I have a public key whose fingerprint is 8648 3012 6C98 2B17 F7E7 0B13 448D 89BB CEAA 39F1
To claim this, I am signing this object:
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
# Default shell
set-option -g default-shell /usr/local/bin/fish
# Automatically set window title
#setw -g automatic-rename
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# split panel

REST-HAL endpoints

Summary

Motivation

The requirement of expose the domain via HTTP to other applications.

Services

@mcuadros
mcuadros / gist:879cf48540ecd5dec6e6
Last active July 12, 2018 06:53
PHP vs PHP-CPP vs HHVM-HNI

#PHP vs PHP-CPP vs HHVM-HNI This is a small benchmark with the objective of compare the performance of PHP-CPP vs HNI.

Code

$a = [
    'key' => 'foo',
    'foo' => null,
    'a' => 2,
 'b' =&gt; 2.2,
@mcuadros
mcuadros / gist:59209e4f47395828c297
Last active August 29, 2015 14:01
The Hitchhiker's Guide to the HHVM - Links