asdfsadf asdfasdfsaf
(defn sup [lol] 'a)Got asdf
| var a = function () { return 1 } | |
| var b = function () { return 1 } | |
| console.log(a == b); | |
| var objectsAreNotMaps = {}; | |
| objectsAreNotMaps[a] = 1; | |
| console.log(objectsAreNotMaps[b]); |
| 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 |
| (use 'clojure.set) | |
| (def data | |
| {:Hailey {"Broken Bells" 4, | |
| "Deadmau5" 1, | |
| "Norah Jones" 4, | |
| "The Strokes" 4, | |
| "Vampire Weekend" 1} | |
| :Veronica {"Blues Traveler" 3, |
echo '1\n2'| 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 |
Exemplo que a comunidade do #haskell é linda - https://gist.github.com/quchen/5280339
| Number.MAX_SAFE_INTEGER | |
| Number.MAX_SAFE_INTEGER + 1 | |
| Number.MAX_SAFE_INTEGER + 2 | |
| Number.MAX_SAFE_INTEGER + 4 |