...a complete restore, first create a dump with only the tables you want to merge: pg_dump -Fc -t barfoo -f dump_b-barfoo.pgdump database pg_dump will also dump all depended...

...database objects. Now you can create merge the two dumps with: pg_restore --clean --if-exists --no-owner --no-privileges -d restore dump_a.pgdump pg_restore --clean --if-exists --no-owner...

...a Variadic Function. You can use this behavior for example if you want to merge a list of maps into one map: locals { list_of_maps = [ { "key1" = "value1" "key2" = "value2...

...key2" = "new_value2" "key3" = "value3" }, { "key4" = "value4" } ] merged_map = merge( [for map_item in local.list_of_maps: map_item]... ) } output "merged_map" { value = local.merged_map } Note This only works when...

nginx.org

You can use proxy_hide_header in different contexts: Syntax: proxy_hide_header field; Default: — Context: http, server, location

docs.gitlab.com

...push -o ci.skip This has a few cavates: Skips only branch pipelines and not merge request pipelines. This does not skip pipelines for CI/CD integrations, such as Jenkins...

...regular basis to not get too far behind production. Setup a reminder to either merge the branch or drop it. Inform the colleagues about the different environment...

In Puppet, there are some differences between defined and function types when it comes to code encapsulation. In most cases...

Best results in other decks

...stale branches pile up over time. It's best to remove them right after merge, locally and on the remote, but it is a little tedious: you need to remember...

Enter Git hooks. The folks at Liquid Light have built a little post-merge hook that will delete a feature branch on confirmation. Quick aside: Git hooks location

When trying to intersect conditions of two scopes, be careful with ActiveRecord::Relation#merge: it overwrites existing conditions on the same column. This may cause the relation to select more...

...authorized_users.merge(filtered_users).to_sql # => SELECT * FROM users WHERE id IN (2, 3) The merged relation select the users (2, 3), although we are only allowed to see...

Search in all decks