Skip to content

Instantly share code, notes, and snippets.

View bltavares's full-sized avatar
💭
I may be slow to respond.

Bruno Tavares bltavares

💭
I may be slow to respond.
View GitHub Profile
struct Authentication<'a> {
email: &'a str,
token: &'a str,
domain: Option<&'a str>
}
impl<'a, I> Into<I> for Authentication<'a> where I: Iterator<Item=(&'a str, &'a str)> {
fn into(self) -> I {
}
}
import java.util.HashMap;
import java.util.List;
import static java.util.Arrays.asList;
import static java.util.stream.Collectors.toList;
public class Main {
public static void main(String[] args) {
HashMap<String, Integer> info = new HashMap<>();
info.put("C", 3);
-
hosts: all
tasks:
- shell: brew tap caskroom/homebrew-cask
- homebrew: name=brew-cask
- homebrew_cask: name=alfred
- homebrew_cask: name=firefox
- homebrew_cask: name=google-chrome
- homebrew_cask: name=iterm2

Test

asdfsadf asdfasdfsaf

(defn sup [lol] 'a)

Got asdf

(use 'clojure.set)
(def data
{:Hailey {"Broken Bells" 4,
"Deadmau5" 1,
"Norah Jones" 4,
"The Strokes" 4,
"Vampire Weekend" 1}
:Veronica {"Blues Traveler" 3,
defmodule Challenge do
def printer("", acc) do
acc
end
def printer("%%d" <> rest, acc) do
fn int ->
next = acc <> to_string(int)
printer(rest, next)
end
Number.MAX_SAFE_INTEGER
Number.MAX_SAFE_INTEGER + 1
Number.MAX_SAFE_INTEGER + 2
Number.MAX_SAFE_INTEGER + 4
@bltavares
bltavares / ratio.go
Created October 17, 2014 14:28
Contributor stats
package main
import (
"code.google.com/p/goauth2/oauth"
"fmt"
"github.com/google/go-github/github"
"os"
"strconv"
)