TO MY EYES, the first is worse than the second.
View update_outdated_gems.rb
This file contains 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
# Command to run: | |
# bundle outdated --parseable | |
# OR: | |
# bundle outdated --strict --parseable | |
# OR: | |
# bundle outdated --strict --parseable --filter-patch; | |
# bundle outdated --strict --parseable --filter-minor; | |
# bundle outdated --strict --parseable --filter-major; | |
# OR as one line: | |
=begin |
View rails_date_select_bootstrap.html.erb
This file contains 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
<div class='mb-3'> | |
<%= form.label :birthday, class: 'form-label' %> | |
<div> | |
<%= form.date_select :birthday, | |
{ | |
prompt: true, | |
add_month_numbers: true, | |
end_year: Time.now.year - 111, | |
start_year: Time.now.year - 12, |
View license_finder_action.yml
This file contains 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
on: [push] | |
name: License Finder | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout |
View ruby_2_7_1_easter_egg.txt
This file contains 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
-+smJYYN?mm- | |
HB"BBYT TQg NggT | |
9Q+g Nm,T 8g NJW | |
YS+ N2NJ"Sg N? | |
BQg #( gT Nggggk J | |
5j NJ NJ NNge | |
#Q #JJ NgT N( | |
@j bj mT J | |
Bj @/d NJ ( | |
#q #(( NgT #J |
View rails__credentials_edit__error.txt
This file contains 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
activesupport-5.2.2/lib/active_support/message_encryptor.rb:206: | |
in `rescue in _decrypt': | |
ActiveSupport::MessageEncryptor::InvalidMessage (ActiveSupport::MessageEncryptor::InvalidMessage) | |
1: from activesupport-5.2.2/lib/active_support/message_encryptor.rb:183:in `_decrypt' | |
2: from activesupport-5.2.2/lib/active_support/message_encryptor.rb:157:in `decrypt_and_verify' | |
3: from activesupport-5.2.2/lib/active_support/messages/rotator.rb:21:in `decrypt_and_verify' | |
4: from activesupport-5.2.2/lib/active_support/encrypted_file.rb:79:in `decrypt' | |
5: from activesupport-5.2.2/lib/active_support/encrypted_file.rb:42:in `read' | |
6: from activesupport-5.2.2/lib/active_support/encrypted_configuration.rb:21:in `read' |
View middleman4_with_sassc.err
This file contains 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
WARN: Unresolved specs during Gem::Specification.reset: | |
rack (< 3, >= 1.4.5) | |
parallel (>= 0) | |
activesupport (< 5.1, >= 3.1, >= 4.2) | |
addressable (~> 2.3) | |
rb-inotify (>= 0.9.7, ~> 0.9) | |
concurrent-ruby (~> 1.0) | |
fastimage (~> 2.0) | |
rake (>= 0) | |
hashie (~> 3.4) |
View heroku_pg_pull_errror
This file contains 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
[...] | |
pg_restore: creating MATERIALIZED VIEW DATA "public.search_results" | |
pg_restore: [archiver (db)] Error while PROCESSING TOC: | |
pg_restore: [archiver (db)] Error from TOC entry 3476; 0 483995421 MATERIALIZED VIEW DATA search_results uc4reedsrss2pi | |
pg_restore: [archiver (db)] could not execute query: ERROR: lexeme array may not contain nulls | |
Command was: REFRESH MATERIALIZED VIEW public.search_results; | |
View deprecation_warning.txt
This file contains 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
DEPRECATION WARNING: Static attributes will be removed in FactoryBot 5.0. Please use dynamic | |
attributes instead by wrapping the attribute value in a block: | |
alias { "orders" } | |
To automatically update from static attributes to dynamic ones, | |
install rubocop-rspec and run: | |
rubocop --require rubocop-rspec \ | |
--only FactoryBot/AttributeDefinedStatically \ |
View longest_common_subsequence.rb
This file contains 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 | |
if ARGV.length != 2 | |
puts | |
puts 'ERROR! This script needs exactly two strings as input. Example: ' | |
puts | |
puts ' ruby subsequence.rb XMJYAUZ MZJAWXU' | |
puts | |
exit -1 | |
end |
NewerOlder