I hereby claim:
- I am odarbelaeze on github.
- I am odarbelaeze (https://keybase.io/odarbelaeze) on keybase.
- I have a public key ASDMkNJlYJ-JPrL9gjat_LG8AK46U_vYLQ6nYOOjRVlqQwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Feature: Fight of flight | |
In order to increase the ninja survival rate | |
As a ninja commander | |
I want my ninjas to decide whether to take on an | |
oponent based on their skill levels | |
Scenario: Weaker opponent | |
Given the ninja has a third level black-belt | |
When attacked by a samurai |
FROM ubuntu:16.04 | |
RUN apt-get update -q -y | |
RUN apt-get install -q -y libhdf5-dev libjsoncpp-dev | |
RUN apt-get install -q -y cmake build-essential | |
ADD . /vegas | |
RUN mkdir /vegas/build | |
WORKDIR /vegas/build | |
RUN cmake ../compilers/linux && make && make install |
import React, { Component } from 'react'; | |
import {BrowserRouter, Route, Link} from 'react-router-dom'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
const Contacto = () => ( | |
<div className="contacto"> | |
Salude no mas | |
</div> |
/// One of the posts of the tower of Hanoi | |
#[derive(Debug, Clone, Copy)] | |
enum Post { | |
Left, Middle, Right, | |
} | |
/// Helper function to recursively resolve a Tower of Hanoi | |
fn recursive_hanoi(n: u64, from: Post, to: Post, auxiliar: Post) { | |
if n > 0 { | |
recursive_hanoi(n - 1, from, auxiliar, tp); |
import functools | |
import contextlib | |
@contextlib.contextmanager | |
def database(): | |
print("creo una conexion") | |
db = {} | |
yield db | |
print ("cierro la conexion") |