# @param user [User] Description
def method(user)
end
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
# docker rmi 0f8498f13f3a | |
Untagged: nginx:1.22.1 | |
Untagged: nginx@sha256:fc5f5fb7574755c306aaf88456ebfbe0b006420a184d52b923d2f0197108f6b7 | |
Deleted: sha256:0f8498f13f3adef3f3c8b52cdf069ecc880b081159be6349163d144e8aa5fb29 | |
Deleted: sha256:1157a8fe80ce7a83101aa2364ca1758215873a32da11ab707161a4dc5613004e | |
Deleted: sha256:8eaa6e373c644088743d81d89291c01ef6790a21d83139bf7e919b01c070dec6 | |
Deleted: sha256:6871e36d10c3a8334e6bf8af5c799245354a3ccbf0f324478e9894b465db523c | |
Deleted: sha256:91aa4ea35a8a6f0c5f85f0840b612064e2956bdef9c6cdda4cfac33c37010210 | |
Deleted: sha256:061cb4f48d1eaf5424d5d7b4d0c65102f24530b9f1e01ec5e72a06966263c965 | |
Deleted: sha256:3af14c9a24c941c626553628cf1942dcd94d40729777f2fcfbcd3b8a3dfccdd6 |
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
Airbrake.configure do |config| | |
# project specific | |
config.project_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | |
# use git SHA & current commit as app version | |
config.app_version = "Ruby: #{RUBY_VERSION} » Rails: #{Rails::VERSION::STRING} » " << `cd #{Rails.root} && git log -1 --pretty="%h - %B" HEAD` | |
# can always be 1 | |
config.project_id = 1 |
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_worker_boot do | |
ActiveRecord::Base.establish_connection if defined?(ActiveRecord) | |
client = ::Rack::MockRequest.new Rails.application | |
%w[/].each do |url| | |
client.get url | |
end | |
end |
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
# PostgreSQL. Versions 9.3 and up are supported. | |
# | |
# Install the pg driver: | |
# gem install pg | |
# On macOS with Homebrew: | |
# gem install pg -- --with-pg-config=/usr/local/bin/pg_config | |
# On macOS with MacPorts: | |
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config | |
# On Windows: | |
# gem install pg |
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
curl https://ec2.shop/ |
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
rake aborted! | |
Riddle::CommandFailedError: Sphinx command failed to execute | |
/home/prometheusapp/www/shared/bundle/ruby/2.4.0/gems/riddle-2.1.0/lib/riddle/execute_command.rb:23:in `call' | |
/home/prometheusapp/www/shared/bundle/ruby/2.4.0/gems/riddle-2.1.0/lib/riddle/execute_command.rb:5:in `call' | |
/home/prometheusapp/www/shared/bundle/ruby/2.4.0/gems/riddle-2.1.0/lib/riddle/controller.rb:29:in `index' | |
/home/prometheusapp/www/shared/bundle/ruby/2.4.0/gems/thinking-sphinx-3.3.0/lib/thinking_sphinx/controller.rb:8:in `block (2 levels) in index' | |
/home/prometheusapp/www/shared/bundle/ruby/2.4.0/gems/thinking-sphinx-3.3.0/lib/thinking_sphinx/guard/files.rb:14:in `call' | |
/home/prometheusapp/www/shared/bundle/ruby/2.4.0/gems/thinking-sphinx-3.3.0/lib/thinking_sphinx/guard/files.rb:3:in `call' | |
/home/prometheusapp/www/shared/bundle/ruby/2.4.0/gems/thinking-sphinx-3.3.0/lib/thinking_sphinx/controller.rb:7:in `block in index' | |
/home/prometheusapp/www/shared/bundle/ruby/2.4.0/gems/thinking-sphinx-3.3.0/lib/thinking_sphinx/indexi |
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
==> make install | |
/usr/bin/install -c -m 644 ./rpmio/argv.h include/rpm/argv.h | |
/usr/bin/install -c -m 644 ./rpmio/rpmio.h include/rpm/rpmio.h | |
/usr/bin/install -c -m 644 ./rpmio/rpmurl.h include/rpm/rpmurl.h | |
/usr/bin/install -c -m 644 ./rpmio/rpmmacro.h include/rpm/rpmmacro.h | |
/usr/bin/install -c -m 644 ./rpmio/rpmlog.h include/rpm/rpmlog.h | |
/usr/bin/install -c -m 644 ./rpmio/rpmpgp.h include/rpm/rpmpgp.h | |
/usr/bin/install -c -m 644 ./rpmio/rpmsq.h include/rpm/rpmsq.h | |
/usr/bin/install -c -m 644 ./rpmio/rpmstring.h include/rpm/rpmstring.h | |
/usr/bin/install -c -m 644 ./rpmio/rpmstrpool.h include/rpm/rpmstrpool.h |
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
rpmquery --qf '[%{BASENAMES}\t%{FILESIZES}\n]' | |
rpmquery --qf '[%{PATCH}\n]' | |
и join по первому полю. |
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
i | |
me | |
my | |
myself | |
we | |
our | |
ours | |
ourselves | |
you | |
your |
NewerOlder