Software developer at MakingDevs
I wrote some memories at The Software Apprentice.
I transform coffee ☕ into code, look at this!
Time ago I recorded 📷 a podcast at ViveCodigo.org
def programming(me) do
me
|> add_coffee()
|> take(the: "computer")
|> write_your_thoughs(in: "requirements")
|> learn
|> drink(:beer)
end
RSpec.describe AutoResponse do
[
["some 111 some","Thank you for contacting SMS Care. Our team will contact you soon for a free care referral."],
#["some some","Please write us and include some code: 111 for contact, 222 for meet you better, 333 for mor info"],
["another response with 222","Thank you for contacting SMS Care. What is the name and age of your child? end with 221 code"]
].each do | sms, response |
it "SMS is #{sms} and response is #{response}" do
current_response = AutoResponse.instance.respond_to(sms)
expect(current_response).to eq(response)
end
end
end
Me.metaClass.code { -> }
qsort [] = []
qsort(x:xs) = qsort smaller ++ [x] ++ qsort larger
where
smaller = [ a | a <- xs, a <= x]
larger = [ b | b <- xs, b > x]
improveProgrammer : Model -> Me -> Model
improveProgrammer model programmer =
let
skillProgrammer =
{ programmer
| username = user.username
, currentSkill = "Functional programming"
}
in
{ model
| programmer = skillProgrammer }
(me
(as
(a coder)))
FROM alpine:3.7
RUN apk add --no-cache all-the-tools
ENTRYPOINT ["all-the-tools"]
tail -f application.log | awk '
/info/ {print "\033[32m" $0 "\033[39m"}
/debug/ {print "\033[34m" $0 "\033[39m"}
/warn/ {print "\033[33m" $0 "\033[39m"}
/error/ {print "\033[31m" $0 "\033[39m"}'
I'm not a robot 🤖