I hereby claim:
- I am lrosa007 on github.
- I am lrosa007 (https://keybase.io/lrosa007) on keybase.
- I have a public key ASD8ETOT11FkkNGhHRhHGktGepuTgW1CiXfLhZJ1QjjX2go
To claim this, I am signing this object:
defmodule FizzBuzz do | |
def fizzer(n), do: buzzer(rem(n, 3), rem(n, 5), n) | |
defp buzzer(0, 0, _), do: "Fizz Buzz" | |
defp buzzer(0, _, _), do: "Fizz" | |
defp buzzer(_, 0, _), do: "Buzz" | |
defp buzzer(_, _, n), do: n | |
end |
defmodule MyList do | |
def reverse([]), do: [] | |
def reverse([h | t]), do: do_reverse(t, [h]) | |
defp do_reverse([], acc), do: acc | |
defp do_reverse([h | t], acc), do: do_reverse(t, [h | acc]) | |
end |
module Main exposing (..) | |
import Html | |
type Maybe a | |
= Just a | |
| Nothing | |
#!/usr/local/bin/elixir | |
import IO.ANSI, only: [yellow: 0, light_magenta: 0, light_cyan: 0] | |
defmodule Counter do | |
use GenServer | |
@cmd "rg" | |
def start do | |
GenServer.start(__MODULE__, []) |
const apiUrl = 'http://localhost:5000/api'; | |
class Overview extends Component { | |
constructor(props) { | |
super(props); | |
// it's nice to do it here because then | |
// you can init some state with passed props if needed | |
this.state = { | |
users: {}, |
I hereby claim:
To claim this, I am signing this object: