Skip to content

Instantly share code, notes, and snippets.

View kelvinst's full-sized avatar
👨‍💻
.-. -.- ...

Kelvin Stinghen kelvinst

👨‍💻
.-. -.- ...
  • Curitiba - PR - Brazil
View GitHub Profile
@kelvinst
kelvinst / faq.md
Created September 17, 2015 17:13
My FAQ

Postgres

PG::ConnectionBad

Error message:

PG::ConnectionBad: no such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

@kelvinst
kelvinst / api_doc.md
Last active April 4, 2017 19:35
API do powercash

API do powercash

A url básica para acesso a API é api.power.cash/, todas os requests para a api devem começar com este domínio e subdomínio.

Organização para testes

A organização teste existe com o intuito de facilitar os testes na API. Os dados de acesso para ela são:

@kelvinst
kelvinst / override_kernel.exs
Last active October 26, 2017 12:57
How to override Kernel functionality on Elixir
defmodule MyKernel do
def a + b, do: a * b
end
defmodule UsingIt do
import Kernel, except: [+: 2]
import MyKernel
def foo, do: IO.puts("Result is #{1 + 2}")
end
@kelvinst
kelvinst / resume.md
Last active December 6, 2017 02:49
Kelvin Stinghen Resume - 2018

Kelvin Stinghen

About me

Developer for 9 years (since 16 years old), I'm an enthusiast on Elixir, Ruby, and everything that surrounds it.

I believe that as important as the destination, is the path to it. And if you can't be proud of what you've done to get where you are, you can't be proud of nothing.

I love startups, but I don't believe in unicorns. I mean, I know that three commas can consist the value of a company, but if you can't be happy without money, you're doing it wrong.