Skip to content

Instantly share code, notes, and snippets.

View iagocaldeira's full-sized avatar

Iago Caldeira iagocaldeira

  • Belo Horizonte - MG - Brasil
View GitHub Profile
@iagocaldeira
iagocaldeira / Dockerfile
Created April 18, 2019 18:35
Dockerfile com JDK(+javac), Node, Gradle, Android SDK e Cordova para geração das builds do Android e iOS
# LABEL maintainer="Iago Caldeira <iagocaldeiraa@gmail.com>"
FROM openjdk:8u201-jdk-alpine3.9 as openjdk
# Link javac installation
RUN ln -s /usr/lib/jvm/java-1.8-openjdk/bin/javac /usr/bin/javac
# Node Installation
RUN apk add nodejs-current-npm bash && rm -rf /var/cache/apk/*
# ENV NPM_CONFIG_PREFIX=/home/node/.npm-global \
var _ = require('lodash');
/**
* Instructions:
*
* Write a solution in Node.JS that:
*
* Given an representation of a binary tree deserialized as string and a number, create a binary tree
* and return every path in the tree with sum of the nodes that is equals the given number.
* A path can start from any node and end at any node, i.e. they need not be root node and leaf node.
@iagocaldeira
iagocaldeira / Charlie.markdown
Last active August 29, 2015 14:22
Charlie Game
@iagocaldeira
iagocaldeira / WaterlockAuthExplain.md
Created February 26, 2015 00:02
AutenticacaoWaterlock.md