Skip to content

Instantly share code, notes, and snippets.

View gurgelrenan's full-sized avatar
:octocat:

Renan Gurgel gurgelrenan

:octocat:
View GitHub Profile
@gurgelrenan
gurgelrenan / rubyconf2016.md
Last active September 26, 2016 23:39
Review sobre algumas palestras que vi na Rubyconf 2016

Lições aprendidas sobre qualidade de software

  • Todo mundo gosta muito de trabalhar em projetos novos, mas manter os existentes sempre consideram chato
  • Pressure -> SLOP -> LATE
  • Débitos tecnicos, raiz de todo mal
  • https://en.wikipedia.org/wiki/Iterative_design
  • PR deve conter no máximo 400 Linhas de código para uma boa revisão
  • Não tenha medo de melhorar o código
  • Hope is not a plan
  • AppCLeaner
  • Audacity
  • Caffeine
  • Daisy Disk
  • Chorme
  • Iterm
  • OmmWriter
  • Postico
  • ScreenHero
  • Skype
@gurgelrenan
gurgelrenan / query.rb
Created November 2, 2016 20:33 — forked from r00k/query.rb
Not so hard after all.
def self.popular_this_week
Podcast.
joins(:downloads).
select("podcasts.*, COUNT(podcast_id) as download_count").
where("downloads.created_at >= ?", 1.week.ago.utc).
group("podcasts.id").
order("download_count DESC")
end
@gurgelrenan
gurgelrenan / postmortem.md
Created January 29, 2018 21:06 — forked from mlafeldt/postmortem.md
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)

Date

2015-10-21

Authors

  • jennifer
  • martym