makandra Operations
baeldung.com

vsz virtual memory size Total amount of memory a process may hypothetically access. Includes swapped memory, memory from external libraries and allocated memory that’s not used. rss

Total amount of non-swapped used physical memory. Includes memory from external shared libraries. pss proportional share size Total amount of non-swapped physical memory with shared memory...

...users, relations, extensions,...

...in form of a script (text) file. Delete statements will be included to remove existing databases when sourcing this dump. This is useful for moving the content...

...single database A dump of the given database will be created. This does not include the user. When restoring this dump you must create the user and the database before...

When changing the glibc version, it's possible that the upgrade also includes changes to how locales work. This is especially relevant when using PostgreSQL databases (of any version), since...

...Ubuntu LTS version 20.04 ships with 2.31. Upgrading operating systems between those versions will include this change in locales. If there has not been any upgrade to the OS hosting...

...took from the start until the file transfer was just about to begin. This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved...

...time_redirect The time, in seconds, it took for all redirection steps including name lookup, connect, pretransfer and transfer before the final transaction was started. time_redirect shows the complete...

...not add puppet parameters to nagios config next if ['tag', 'ensure', 'require', 'target', 'mode'].include?(parameter) -%> <%= parameter.ljust(35,' ') %><%= value %> <%- end -%> } <% end %> Conclusion Since there is only one file the overhead...

...Attention: This will replace all existing settings of the template. Make sure to include all default template settings by first checking: curl -XGET 'localhost:9200/_template/instance_foo?pretty" manual Overwrite the template...

...other database objects. Scenario You've got two database dumps: dump_a.pgdump dump_b.pgdump Both dumps include these tables: foobar barfoo foobaz You want to create a dump with: dump_a.foobar dump_b.barfoo

...buffer_size set to determine this limit. The default are two pages. This value includes the header buffers. There are two rules affecting the min and max values of proxy...

uri = URI('https://api.chucknorris.io/jokes/random') res = Net::HTTP.get_response(uri) expect(res.body).to include('Paul') end end rspec spec/chuck_norris_spec.rb . Finished in 0.00759 seconds (files took 0.49565 seconds to load...

Best results in other decks

makandra dev

...from prepended modules (Ruby 2.0+ feature) Methods from the object's class Methods from included modules Methods from the class hierarchy (superclass and its ancestors) Example

...have the following class hierarchy: class Superclass def action puts "Superclass" end end module IncludedModule def action puts "Included module" super end end module PrependedModule def action puts "Prepended module...

api.rubyonrails.org

ActiveSupport (since 4.1) includes test helpers to manipulate time, just like the Timecop gem: To freeze the current time, use freeze_time (ActiveSupport 5.2+): freeze_time To travel to a...

Search in all decks