SlideShare a Scribd company logo
H f
Rede: __________
Senha: __________
hosted by supported by
● 19:30 Terminal
● 20:00 Coding
● 20:45 Debugging
● 21:00 Sharing
● 21:30 Happy hour
A
T
● Shell basics (Jônatas)
● Tmux (Weverton)T
T ● What is a
multiplexer?
● First steps
● Plugins via TPM
● Tips and tricks
@wevtimoteo
@jonatasdp
● Readline shortcuts
● Aliases
● Functions
● Special variables !!,!$
B
● (CTRL - a) Begin of line
● (CTRL - e) End of line
● (ESC + b) Backward one word
● (ESC + L) Forward one word
● (CTRL - s) Search
● (CTRL - r) Reverse search
● (CTRL - p) Previous line history
R
Floripa on Rails - dev workflow
● alias vim=nvim
● alias be='bundle exec'
● alias bi='bundle install'
● alias g!="git commit -am"
● alias g+="git add"
● alias g-="git rm"
M
kill $(ps aux | grep 'rails' | awk '{print $2}')
function k9(){
kill $(ps aux | grep $1 | awk '{print $2}')
}
k9 rails
B f
!! -> last line
!$ -> last parameter
$! -> first function argument
$* -> all function arguments
B
vim my/file/with/a/deep/path.rb
git add !$
git commit !$ -m “Add deep path file”
!! -> last line
!$ -> last parameter
B
C
● Vim (Weverton e Lucas)
● Guard (Weverton)
● TDD (Mats)
● Benchmarking (Karla)
C
V ● Vi, Vim or Neovim?
● Vimtutor
● VimL
● Plugins management?
Pathogen, Vundle,
Plugged
● Tips and tricks
G
● What is guard?
● guard/listen gem
● Guardfile DSL
● Tips and tricks
@wevtimoteo
TDD
● What is TDD?
● Why TDD?
● When not to use TDD
● Tips and tricks
@g8M guih /guih
Floripa on Rails - dev workflow
TDD
● What is TDD?
● Why TDD?
● When not to use TDD
● Tips and tricks
@g8M guih /guih
Floripa on Rails - dev workflow
TDD
● What is TDD?
● Why TDD?
● When not to use TDD
● Tips and tricks
@g8M guih /guih
B
● New Relic
● Benchmark (Ruby)
karlamaria@gmail.com
require 'new_relic/agent/method_tracer'
class Transformer
include ::NewRelic::Agent::MethodTracer
…
def select_events
…
end
def process_events
…
end
def update_events
…
end
add_method_tracer :select_events, 'Custom/select_events'
add_method_tracer :process_events, 'Custom/process_events'
add_method_tracer :update_events, 'Custom/update_events'
end
require 'benchmark'
class Updater
...
def update
...
end
...
end
class NewUpdater
def update
...
end
...
end
...
Benchmark.bm do |x|
x.report("New Updater") { NewUpdater.new.load(events);nil }
x.report("Actual Updater") { Updater.new.load(events);nil }
end
$ ruby bench_update_events.rb
user system total real
Actual Updater: 1.533333 0.016667 1.550000 ( 1.503462)
New Updater: 1.050000 0.000000 1.050000 ( 0.735473)
● IRB and Pry (Jônatas)
● Code search (Parazito)
with `ag` and `grep`
● Basic usage
● Search in a specific file
● Search the current directory for
all files
● Recursively search directories
● Insensitive case
● Highlight match with color
● Number of occurrences in a file
● grep and regex
● curl and grep
@parazito
● REPL
● binding.pry
● cd object
● ls
● show-method
● exit-program
P
@jonatasdp
S
● Linters (Jônatas, Rafael)
● Better commit messages (Henrich)
● Gitlab workflow (Brodock )
● Code Review (Jaison)
● Docker (Pery)
S
● What is this?
● Why use?
● Ruby Style Guide
R C
● gem pronto
● Add runners
● Repository integration
● formatters
● Running
P
rafael.besen@geekhunter.com.br
● Setup docker &
docker-compose for
rails
● Using Docker with
Rails
● Tips and tricks
● Useful Aliases
D
@perylemke
github.com/perylemke

More Related Content

PDF
Clojure - LDC
PDF
GDB tutorial
PPTX
Case Study
PDF
2014-06-26 - A guide to undefined behavior in c and c++
PDF
KEY
Ruby performance
TXT
Snake.c
PPT
Introduction to gdb
Clojure - LDC
GDB tutorial
Case Study
2014-06-26 - A guide to undefined behavior in c and c++
Ruby performance
Snake.c
Introduction to gdb

Similar to Floripa on Rails - dev workflow (20)

PDF
Introduction to Griffon
PDF
Specializing the Data Path - Hooking into the Linux Network Stack
PDF
Creating a Mature Puppet System
PDF
Creating a mature puppet system
ODP
Devel::hdb debugger talk
PDF
Sacándole jugo a git
PDF
Introduction of unit test on android kernel
PDF
SECON'2017, Цаль-Цалко Иван, Go на практике
PPTX
Robust C++ Task Systems Through Compile-time Checks
PDF
Trace kernel code tips
PDF
PDF
Kick my mouse away
PDF
Create your own PHP extension, step by step - phpDay 2012 Verona
PDF
BKK16-302: Android Optimizing Compiler: New Member Assimilation Guide
PDF
如何透過 Go-kit 快速搭建微服務架構應用程式實戰
PPT
Debugging Applications with GNU Debugger
PPTX
Troubleshooting .net core on linux
PDF
Performance Profiling Tools & Tricks
PDF
Performance Profiling Tools and Tricks
PDF
Go_ Get iT! .pdf
Introduction to Griffon
Specializing the Data Path - Hooking into the Linux Network Stack
Creating a Mature Puppet System
Creating a mature puppet system
Devel::hdb debugger talk
Sacándole jugo a git
Introduction of unit test on android kernel
SECON'2017, Цаль-Цалко Иван, Go на практике
Robust C++ Task Systems Through Compile-time Checks
Trace kernel code tips
Kick my mouse away
Create your own PHP extension, step by step - phpDay 2012 Verona
BKK16-302: Android Optimizing Compiler: New Member Assimilation Guide
如何透過 Go-kit 快速搭建微服務架構應用程式實戰
Debugging Applications with GNU Debugger
Troubleshooting .net core on linux
Performance Profiling Tools & Tricks
Performance Profiling Tools and Tricks
Go_ Get iT! .pdf
Ad

More from Jônatas Paganini (19)

PDF
Extracting a Rails Engine to a separated application
PDF
Onboarding developers on a ful remote environment
PDF
TDC Floripa 2018 Dev Tests - weak specs
PDF
Ensinando e aprendendo com desafios
PDF
Go Lang migrating billions of documents
PDF
Otimizando tempo de build: performance da suíte de testes
PDF
XP - eXtreme Programming - 2010
PDF
Apresentação sobre Rails - 2010
PDF
Tech for non techs
PDF
Otimizando tempo de build: performance da suíte de testes
PDF
4 ferramentas para acompanhar seu app em produção pelo slack
PDF
Concurrency in Ruby
PDF
Quando descobri que era programador
PDF
Life hacks for productivity
PDF
ø Downtime migrations - Ruby Conf 2015
PDF
Tdc cloud computing - RDStation experiences
PDF
Life hacks for productivity
PDF
Dicas para uma boa impressão 3D
PDF
ø Downtime migrations
Extracting a Rails Engine to a separated application
Onboarding developers on a ful remote environment
TDC Floripa 2018 Dev Tests - weak specs
Ensinando e aprendendo com desafios
Go Lang migrating billions of documents
Otimizando tempo de build: performance da suíte de testes
XP - eXtreme Programming - 2010
Apresentação sobre Rails - 2010
Tech for non techs
Otimizando tempo de build: performance da suíte de testes
4 ferramentas para acompanhar seu app em produção pelo slack
Concurrency in Ruby
Quando descobri que era programador
Life hacks for productivity
ø Downtime migrations - Ruby Conf 2015
Tdc cloud computing - RDStation experiences
Life hacks for productivity
Dicas para uma boa impressão 3D
ø Downtime migrations
Ad

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
cuic standard and advanced reporting.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
MIND Revenue Release Quarter 2 2025 Press Release
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Network Security Unit 5.pdf for BCA BBA.
Machine learning based COVID-19 study performance prediction
Digital-Transformation-Roadmap-for-Companies.pptx
Review of recent advances in non-invasive hemoglobin estimation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Approach and Philosophy of On baking technology
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
The Rise and Fall of 3GPP – Time for a Sabbatical?
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
NewMind AI Weekly Chronicles - August'25 Week I
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
cuic standard and advanced reporting.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Per capita expenditure prediction using model stacking based on satellite ima...

Floripa on Rails - dev workflow

  • 1. H f Rede: __________ Senha: __________ hosted by supported by
  • 2. ● 19:30 Terminal ● 20:00 Coding ● 20:45 Debugging ● 21:00 Sharing ● 21:30 Happy hour A
  • 3. T
  • 4. ● Shell basics (Jônatas) ● Tmux (Weverton)T
  • 5. T ● What is a multiplexer? ● First steps ● Plugins via TPM ● Tips and tricks @wevtimoteo
  • 6. @jonatasdp ● Readline shortcuts ● Aliases ● Functions ● Special variables !!,!$ B
  • 7. ● (CTRL - a) Begin of line ● (CTRL - e) End of line ● (ESC + b) Backward one word ● (ESC + L) Forward one word ● (CTRL - s) Search ● (CTRL - r) Reverse search ● (CTRL - p) Previous line history R
  • 9. ● alias vim=nvim ● alias be='bundle exec' ● alias bi='bundle install' ● alias g!="git commit -am" ● alias g+="git add" ● alias g-="git rm" M
  • 10. kill $(ps aux | grep 'rails' | awk '{print $2}') function k9(){ kill $(ps aux | grep $1 | awk '{print $2}') } k9 rails B f
  • 11. !! -> last line !$ -> last parameter $! -> first function argument $* -> all function arguments B
  • 12. vim my/file/with/a/deep/path.rb git add !$ git commit !$ -m “Add deep path file” !! -> last line !$ -> last parameter B
  • 13. C
  • 14. ● Vim (Weverton e Lucas) ● Guard (Weverton) ● TDD (Mats) ● Benchmarking (Karla) C
  • 15. V ● Vi, Vim or Neovim? ● Vimtutor ● VimL ● Plugins management? Pathogen, Vundle, Plugged ● Tips and tricks
  • 16. G ● What is guard? ● guard/listen gem ● Guardfile DSL ● Tips and tricks @wevtimoteo
  • 17. TDD ● What is TDD? ● Why TDD? ● When not to use TDD ● Tips and tricks @g8M guih /guih
  • 19. TDD ● What is TDD? ● Why TDD? ● When not to use TDD ● Tips and tricks @g8M guih /guih
  • 21. TDD ● What is TDD? ● Why TDD? ● When not to use TDD ● Tips and tricks @g8M guih /guih
  • 22. B ● New Relic ● Benchmark (Ruby) karlamaria@gmail.com
  • 23. require 'new_relic/agent/method_tracer' class Transformer include ::NewRelic::Agent::MethodTracer … def select_events … end def process_events … end def update_events … end add_method_tracer :select_events, 'Custom/select_events' add_method_tracer :process_events, 'Custom/process_events' add_method_tracer :update_events, 'Custom/update_events' end
  • 24. require 'benchmark' class Updater ... def update ... end ... end class NewUpdater def update ... end ... end ... Benchmark.bm do |x| x.report("New Updater") { NewUpdater.new.load(events);nil } x.report("Actual Updater") { Updater.new.load(events);nil } end
  • 25. $ ruby bench_update_events.rb user system total real Actual Updater: 1.533333 0.016667 1.550000 ( 1.503462) New Updater: 1.050000 0.000000 1.050000 ( 0.735473)
  • 26. ● IRB and Pry (Jônatas) ● Code search (Parazito)
  • 27. with `ag` and `grep` ● Basic usage ● Search in a specific file ● Search the current directory for all files ● Recursively search directories ● Insensitive case ● Highlight match with color ● Number of occurrences in a file ● grep and regex ● curl and grep @parazito
  • 28. ● REPL ● binding.pry ● cd object ● ls ● show-method ● exit-program P @jonatasdp
  • 29. S
  • 30. ● Linters (Jônatas, Rafael) ● Better commit messages (Henrich) ● Gitlab workflow (Brodock ) ● Code Review (Jaison) ● Docker (Pery) S
  • 31. ● What is this? ● Why use? ● Ruby Style Guide R C
  • 32. ● gem pronto ● Add runners ● Repository integration ● formatters ● Running P rafael.besen@geekhunter.com.br
  • 33. ● Setup docker & docker-compose for rails ● Using Docker with Rails ● Tips and tricks ● Useful Aliases D @perylemke github.com/perylemke