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
Number.MAX_SAFE_INTEGER
Number.MAX_SAFE_INTEGER + 1
Number.MAX_SAFE_INTEGER + 2
Number.MAX_SAFE_INTEGER + 4
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
(use 'clojure.set)
(def data
{:Hailey {"Broken Bells" 4,
"Deadmau5" 1,
"Norah Jones" 4,
"The Strokes" 4,
"Vampire Weekend" 1}
:Veronica {"Blues Traveler" 3,

Test

asdfsadf asdfasdfsaf

(defn sup [lol] 'a)

Got asdf

-
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
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);
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 {
}
}
var a = function () { return 1 }
var b = function () { return 1 }
console.log(a == b);
var objectsAreNotMaps = {};
objectsAreNotMaps[a] = 1;
console.log(objectsAreNotMaps[b]);