COMING SOON...
- Культура разработки performance-first: https://tonsky.me/blog/performance-first/
- Бюджет скорости: https://wp-rocket.me/blog/performance-budgets/
- Performance mantra: http://www.brendangregg.com/blog/2018-06-30/benchmarking-checklist.html
- Rosetta Code - реализации задач на разных языках: http://rosettacode.org/wiki/Collections
- Статьи по основным структурам данных:
One way to do this is to use bundler to scaffold our gem:
bundler gem my_gem
I prefer to put tasks meant to manage the gem itself in lib/tasks
, and tasks the gem is meant to provide to gem users in lib/my_gem/tasks
.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubocop' | |
require 'english' | |
ADDED_OR_MODIFIED = /A|AM|^M/ | |
# to prevent code injection: system is a dangerous call | |
def raise_single_quote_error | |
raise ArgumentError, 'Single quotes are not allowed in filenames here.' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
joyyawsensitivity "-1.0" | |
joypitchsensitivity "1.0" | |
joysidesensitivity "1.0" | |
joyforwardsensitivity "-1.0" | |
joyyawthreshold "0.15" | |
joypitchthreshold "0.15" | |
joysidethreshold "0.15" | |
joyforwardthreshold "0.15" | |
joyadvaxisv "4" | |
joyadvaxisu "0" |
# env.rb or spec_helper.rb
Capybara.register_driver :poltergeist do |app|
opts = {
extensions: ["#{Rails.root}/features/support/phantomjs/disable_animations.js"] # or wherever
}
Capybara::Poltergeist::Driver.new(app, opts)
end
People
![]() :bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |