using Touch ID for sudo
Pro MacBook Pro Tip: have a Touch Bar with Touch ID? If you edit /etc/pam.d/sudo and add the following line to the top…
auth sufficient pam_tid.so
…you can now use your fingerprint to sudo!
Related cards:
Wishing Retrospective
This retrospective was run as part of an employee on boarding experience. It was a small group (3 participants).
Goal: Where are we, what does success look like? (Futurespective)
Time: 1 hr
Structure
- Weather Report (set the stage)
- ...
Improv Card exercises
Links to various exercises to use M3.0 improv cards:
http://noop.nl/2015/05/improv-cards.html
https://www.britta-ollrogge-consulting.de/blog/improv-cards/
Enjoyable, Frustrating Activity retrospective
- Improv Cards - Pick three cards from the pile of cards that best describe the past iteration. Have each participant share their stories
- Enjoyable, Frustrating, Puzzling, Same, More, Less of in the past iteration
- Enjoyable,Frustrating, Puz...
Spot the elephant activity
Great for uncovering psychological safety issues
https://plans-for-retrospectives.com/en/?id=130
Specifying constants in Cucumber Transforms
Usually a cucumber step definition will have some sort of regular expression capture:
Given(/^I have (\d+) dollars in my account$/) do |amount|
#step logic
end
As the Given is specified above the amount argument will still be a st...
What is BDD?
There isn't a single definition for it. Which is good since it allows the practices to evolve. It's also a barrier to people being introduced to it, since there isn't a single definitive example that says: "This is BDD". Different practitioners ha...
nutrella - create a Trello board based on a git branch
Rationale: Working in a git feature branch is convenient, the Trello board acts as a simple todo list specific to that work. Useful for sharing thoughts with other people also working on the branch
How does Cucumber find supporting code?
The directories scanned for steps are determined by the feature file(s)/directories passed to the cucumber command. Cucumber will look in the sub-directories of the feature files
features
billing
credit_card.feature
scoring
multi_...
Ruby meta programming intro
An article on meta-programming in ruby. Source to use as inspiration for screenplay pattern in ruby
Build your own RSpec - introduction to DSL and metaprogramming
Removing the @ Hack in Rails Controllers
Article on rails about not using @vsrisbles in controllers. Really nice approach