cwielenb/CNCF-Dataset huggingface dataset:
Project: Podman (App Definition and Development / Application Definition & Image Build)
File: podman-export.1.md

% podman-export 1 podman\-export - Export a container's filesystem contents as a tar archive podman export [options] container podman container export [options] container podman export exports the filesystem of a container and saves it as a tarball on the local machine. podman export writes to STDOUT by default and can be redirected to a file using the `--output` flag. The image of the container exported by podman export can be imported by podman import. To export image(s) with parent layers, use podman save. Note: `:` is a restricted character and cannot be part of the file name. podman [GLOBAL OPTIONS] podman export [GLOBAL OPTIONS] podman export [OPTIONS] CONTAINER Print usage statement Write to a file, default is STDOUT Export container into specified tar ball: ``` $ podman export -o redis-container.tar 883504668ec465463bc0fe7e63d53154ac3b696ea8d7b233748918664ea90e57 ``` Export container to stdout: ``` $ podman export 883504668ec465463bc0fe7e63d53154ac3b696ea8d7b233748918664ea90e57 > redis-container.tar ``` , August 2017, Originally compiled by Urvashi Mohnani <umohnani@redhat.com>
Project: ClickHouse (App Definition and Development / Database)
File: groupuniqarray.md

slug: /en/sql-reference/aggregate-functions/reference/groupuniqarray sidebar_position: 111 Syntax: `groupUniqArray(x)` or `groupUniqArray(max_size)(x)` Creates an array from different argument values. Memory consumption is the same as for the function. The second version (with the `maxsize` parameter) limits the size of the resulting array to `maxsize` elements. For example, `groupUniqArray(1)(x)` is equivalent to `[any(x)]`.
Project: Apache Spark (App Definition and Development / Streaming & Messaging)
File: sql-ref-syntax-qry-select-cte.md

layout: global title: Common Table Expression (CTE) displayTitle: Common Table Expression (CTE) license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. A common table expression (CTE) defines a temporary result set that a user can reference possibly multiple times within the scope of a SQL statement. A CTE is used mainly in a SELECT statement. ```sql WITH commontableexpression [ , ... ] ``` While `commontableexpression` is defined as ```sql expressionname [ ( columnname [ , ... ] ) ] [ AS ] ( query ) ``` expression_name* Specifies a name for the common table expression. query* A . ```sql -- CTE with multiple column aliases WITH t(x, y) AS (SELECT 1, 2) SELECT * FROM t WHERE x = 1 AND y = 2; +++ | x| y| +++ | 1| 2| +++ -- CTE in CTE definition WITH t AS ( WITH t2 AS (SELECT 1) SELECT * FROM t2 ) SELECT * FROM t; ++ | 1| ++ | 1| ++ -- CTE in subquery SELECT max(c) FROM ( WITH t(c) AS (SELECT 1) SELECT * FROM t ); ++ |max(c)| ++ | 1| ++ -- CTE in subquery expression SELECT ( WITH t AS (SELECT 1) SELECT * FROM t ); +-+ |scalarsubquery()| +-+ | 1| +-+ -- CTE in CREATE VIEW statement CREATE VIEW v AS WITH t(a, b, c, d) AS (SELECT 1, 2, 3, 4) SELECT * FROM t; SELECT * FROM v; +++++ | a| b| c| d| +++++ | 1| 2| 3| 4| +++++ WITH t AS (SELECT 1), t2 AS ( WITH t AS (SELECT 2) SELECT * FROM t ) SELECT * FROM t2; ++ | 2| ++ | 2| ++ ```
Project: Meshery (Provisioning / Automation & Configuration)
File: solr-operator.md

layout: integration title: Solr Operator subtitle: Collaborative and visual infrastructure as code for Solr Operator image: /assets/img/integrations/solr-operator/icons/color/solr-operator-color.svg permalink: extensibility/integrations/solr-operator docURL: https://docs.meshery.io/extensibility/integrations/solr-operator description: integrations-category: Analytics integrations-subcategory: Query registrant: Artifact Hub components: name: solr-backup colorIcon: assets/img/integrations/solr-operator/components/solr-backup/icons/color/solr-backup-color.svg whiteIcon: assets/img/integrations/solr-operator/components/solr-backup/icons/white/solr-backup-white.svg description: name: solr-cloud colorIcon: assets/img/integrations/solr-operator/components/solr-cloud/icons/color/solr-cloud-color.svg whiteIcon: assets/img/integrations/solr-operator/components/solr-cloud/icons/white/solr-cloud-white.svg description: name: solr-prometheus-exporter colorIcon: assets/img/integrations/solr-operator/components/solr-prometheus-exporter/icons/color/solr-prometheus-exporter-color.svg whiteIcon: assets/img/integrations/solr-operator/components/solr-prometheus-exporter/icons/white/solr-prometheus-exporter-white.svg description: featureList: [ "Drag-n-drop cloud native infrastructure designer to configure, model, and deploy your workloads.", "Invite anyone to review and make changes to your private designs.", "Ongoing synchronization of Kubernetes configuration and changes across any number of clusters." ] howItWorks: "Collaborative Infrastructure as Code" howItWorksDetails: "Collaboratively manage infrastructure with your coworkers synchronously sharing the same designs." language: en list: include type: extensibility category: integrations
Project: YugabyteDB (App Definition and Development / Database)
File: scard.md

title: SCARD linkTitle: SCARD description: SCARD menu: preview: parent: api-yedis weight: 2260 aliases: /preview/api/redis/scard /preview/api/yedis/scard type: docs s This command finds the cardinality of the set that is associated with the given `key`. Cardinality is the number of elements in a set. If the `key` does not exist, 0 is returned. If the `key` is associated with a non-set value, an error is raised. Returns the cardinality of the set. You can do this as shown below. ```sh $ SADD yuga_world "America" ``` ``` 1 ``` ```sh $ SADD yuga_world "Asia" ``` ``` 1 ``` ```sh $ SCARD yuga_world ``` ``` 2 ``` , , ,
Project: FOSSA (Provisioning / Security & Compliance)
File: dpkg.md

The Debian Package Manager, often additionally used debian based distros such as `ubuntu`. This analysis is only ran for Container Scanning. Find file named: `status` or `status.d` in `/var/lib/dpkg/*` Parse and analyze, reporting only package name, package version, and architecture. ```text Package: bash Essential: yes Status: install ok installed Priority: required Section: shells Installed-Size: 6512 Maintainer: Matthias Klose <doko@debian.org> Architecture: arm64 Multi-Arch: foreign Version: 5.1-2+deb11u1 Replaces: bash-completion (<< 20060301-0), bash-doc (<= 2.05-1) Depends: base-files (>= 2.1.12), debianutils (>= 2.15) Pre-Depends: libc6 (>= 2.25), libtinfo6 (>= 6) Recommends: bash-completion (>= 20060301-0) Suggests: bash-doc Conflicts: bash-completion (<< 20060301-0) Conffiles: /etc/bash.bashrc 89269e1298235f1b12b4c16e4065ad0d /etc/skel/.bash_logout 22bfb8c1dd94b5f3813a2b25da67463f /etc/skel/.bashrc ee35a240758f374832e809ae0ea4883a /etc/skel/.profile f4e81ade7d6f9fb342541152d08e7a97 Description: GNU Bourne Again SHell Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash also incorporates useful features from the Korn and C shells (ksh and csh). . Bash is ultimately intended to be a conformant implementation of the IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2). . The Programmable Completion Code, by Ian Macdonald, is now found in the bash-completion package. Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html ``` For the above, the dependency `bash` at version `5.1-2+deb11u1` with architecture `arm64` is discovered. Explicitly specify an analysis target in `.fossa.yml` file. The example below excludes all other analysis targets: ```yaml version: 3 targets: only: type: dpkgdb ```
Project: YugabyteDB (App Definition and Development / Database)
File: type_text.md

title: TEXT data type [YCQL] headerTitle: TEXT type linkTitle: TEXT description: Use the TEXT data type to specify data of a string of Unicode characters. menu: v2.18: parent: api-cassandra weight: 1440 type: docs Use the `TEXT` data type to specify data of a string of Unicode characters. ``` type_specification ::= TEXT | VARCHAR text_literal ::= "'" [ letter ...] "'" ``` Where `TEXT` and `VARCHAR` are aliases. `letter` is any character except for single quote (`[^']`) Columns of type `TEXT` or `VARCHAR` can be part of the `PRIMARY KEY`. Implicitly, value of type `TEXT` data type are neither convertible nor comparable to non-text data types. The length of `TEXT` string is virtually unlimited. ```sql ycqlsh:example> CREATE TABLE users(username TEXT PRIMARY KEY, fullname VARCHAR); ``` ```sql ycqlsh:example> INSERT INTO users(username, fullname) VALUES ('jane', 'Jane Doe'); ``` ```sql ycqlsh:example> INSERT INTO users(username, fullname) VALUES ('john', 'John Doe'); ``` ```sql ycqlsh:example> UPDATE users set fullname = 'Jane Poe' WHERE username = 'jane'; ``` ```sql ycqlsh:example> SELECT * FROM users; ``` ``` username | fullname --+-- jane | Jane Poe john | John Doe ```
Project: Pachyderm (App Definition and Development / Streaming & Messaging)
File: BAZEL.md

Bazel is concerned with (hermetic builds)[https://bazel.build/basics/hermeticity], and this requires a more careful and rigorous handling of dependencies than would normally be required for a python project. Prior to the introduction of bazel, the dependencies for this project were specified within the setup.cfg file, but as this is a somewhat antiquated location there are no Bazel rules that are compatible with this location. These dependencies have been moved to the `requirements.txt` and `requirements-dev.txt` files. However, for bazel to run "hermetic" builds for this project, these third-party dependencies must be "locked" to ensure that all developers and tests are run using the exact same versions of these dependencies. These lock files are `requirements-lock.txt` and `requirements-dev-lock.txt` (ideally these would "lock" to the same file). The following command regenerate these lock files: ``` bazel run :requirements.update bazel run :requirements-dev.update ``` To ensure developers are all using the same packages in their development environment, bazel can also create a virtual environment which contains these locked dependencies: ``` bazel run :venv ``` Note that Python requires different versions of dependencies depending on the host platform, i.e. Linux and Mac require different versions of modules. When you run `:requirements.update`, it only updates for your current platform. So if you run this on a Mac, CI will fail because it's Linux, and you should also run it on your Linux VM and check in those generated changes.
Project: Meshery (Provisioning / Automation & Configuration)
File: v0.6.20.md

layout: release date: 2022-11-03 tag: v0.6.20 language: en deprecate meshery/homebrew-tap @nishantwrp (#6477) [Playground] Allow the limited functionality in Playground Interface @Abhishek-kumar09 (#6460) [Fix] Improve verbiage used in snackbar notifications for content operations @rakshitgondwal (#6453) Bump autoprefixer from 10.4.12 to 10.4.13 in /ui @dependabot (#6475) Bump eslint-plugin-react from 7.31.8 to 7.31.10 in /provider-ui @dependabot (#6474) deprecate meshery/homebrew-tap @nishantwrp (#6477) Bump github.com/layer5io/meshsync from 0.6.5 to 0.6.7 @dependabot (#6470) Bump autoprefixer from 10.4.12 to 10.4.13 in /ui @dependabot (#6475) Bump eslint-plugin-react from 7.31.8 to 7.31.10 in /provider-ui @dependabot (#6474) Thank you to our contributors for making this release possible: @Abhishek-kumar09, @Chadha93, @Revolyssup, @dependabot, @leecalcote, @nishantwrp, @rakshitgondwal and l5io
Project: YugabyteDB (App Definition and Development / Database)
File: rhel.md

<!-- +++ private=true +++ --> Perform the following steps to install yb-voyager using yum for RHEL 7/8 and CentOS 7/8: Update the yum package manager, and all the packages and repositories installed on your machine using the following command: ```sh sudo yum update ``` Install the `yugabyte` yum repository using the following command: ```sh sudo yum install https://s3.us-west-2.amazonaws.com/downloads.yugabyte.com/repos/reporpms/yb-yum-repo-1.1-0.noarch.rpm ``` This repository contains the yb-voyager rpm and other dependencies required to run `yb-voyager`. Install the `epel-release` repository using the following command: ```sh sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm ``` ```sh sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm ``` Install the Oracle instant client repositories using the following command: ```sh sudo yum install oracle-instant-clients-repo ``` Install the PostgreSQL repositories using the following command: ```sh sudo yum --disablerepo=* -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm ``` ```sh sudo yum --disablerepo=* -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm ``` These repositories contain the rest of the dependencies required to run `yb-voyager`. {{< note >}} Note that if you're using RHEL 8 or CentOS 8, perform the following two steps before proceeding to step 6. Disable the default `PostgreSQL` yum module on your machine using the following command: ```sh sudo dnf -qy module disable postgresql ``` Install `perl-open` on your machine using the following command: ```sh sudo yum install perl-open.noarch ``` {{< /note >}} Update the yum package manager and all the packages and repositories installed on your machine using the following command: ```sh sudo yum update ``` Install `yb-voyager` and its dependencies using the following command: ```sh sudo yum install yb-voyager ``` {{< note >}} Install a specific version of `yb-voyager` on your machine using the following command: sudo yum install yb-voyager-<VERSION> {{< /note >}} Check that yb-voyager is installed using the following command: ```sh yb-voyager version ```
Project: KubeDB by AppsCode (App Definition and Development / Database)
File: kubectl-dba_remote-config.md

title: Kubectl-Dba Remote-Config menu: docs_{{ .version }}: identifier: kubectl-dba-remote-config name: Kubectl-Dba Remote-Config parent: reference-cli menuname: docs{{ .version }} sectionmenuid: reference generate appbinding , secrets for remote replica generate appbinding , secrets for remote replica ``` kubectl-dba remote-config [flags] ``` ``` kubectl dba remote-config mysql -n <ns> -u <username> -p$<password> -d<dnsname> <db_name> ``` ``` -h, --help help for remote-config ``` ``` --as string Username to impersonate for the operation. User could be a regular user or a service account in a namespace. --as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups. --as-uid string UID to impersonate for the operation. --cache-dir string Default cache directory (default "/home/runner/.kube/cache") --certificate-authority string Path to a cert file for the certificate authority --client-certificate string Path to a client certificate file for TLS --client-key string Path to a client key file for TLS --cluster string The name of the kubeconfig cluster to use --context string The name of the kubeconfig context to use --default-seccomp-profile-type string Default seccomp profile --disable-compression If true, opt-out of response compression for all requests to the server --insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure --kubeconfig string Path to the kubeconfig file to use for CLI requests. --match-server-version Require server version to match client version -n, --namespace string If present, the namespace scope for this CLI request --password string Password for basic authentication to the API server --request-timeout string The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0") -s, --server string The address and port of the Kubernetes API server --tls-server-name string Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used --token string Bearer token for authentication to the API server --user string The name of the kubeconfig user to use --username string Username for basic authentication to the API server ``` - kubectl plugin for KubeDB - generate appbinding , secrets for remote replica - generate appbinding , secrets for remote replica
Project: Meshery (Provisioning / Automation & Configuration)
File: capsule-proxy.md

layout: integration title: Capsule Proxy subtitle: Collaborative and visual infrastructure as code for Capsule Proxy image: /assets/img/integrations/capsule-proxy/icons/color/capsule-proxy-color.svg permalink: extensibility/integrations/capsule-proxy docURL: https://docs.meshery.io/extensibility/integrations/capsule-proxy description: integrations-category: Provisioning integrations-subcategory: Uncategorized registrant: Artifact Hub components: name: proxy-setting colorIcon: assets/img/integrations/capsule-proxy/components/proxy-setting/icons/color/proxy-setting-color.svg whiteIcon: assets/img/integrations/capsule-proxy/components/proxy-setting/icons/white/proxy-setting-white.svg description: featureList: [ "Allows to overcome the limitations of Kubernetes API Server on listing owned cluster-scoped resources.", "Add-on for Capsule.", "Capsule provides multi-tenancy in Kubernetes." ] howItWorks: "Collaborative Infrastructure as Code" howItWorksDetails: "Collaboratively manage infrastructure with your coworkers synchronously sharing the same designs." language: en list: include type: extensibility category: integrations
Project: KCL (Provisioning / Automation & Configuration)
File: E2F04.md

KCL will report `CannotFindModule` when KCL imports a module that does not exist. The `ewcode` of `CannotFindModule` is `E2F04`. For example: ```python import .some0.pkg1 as some00 # some0 not found in package Name1 = some00.Name # some0.pkg1.name ``` The KCL program will cause the following error message. ```shell error[E2F04]: CannotFindModule --> importabsfail_0/app-main/main.k:1:1 | 1 | import .some0.pkg1 as some00 # some0 not found in package | Cannot find the module .some0.pkg1 | ```
Project: ThreatMapper (Provisioning / Security & Compliance)
File: microsoft-teams.md

title: Microsoft Teams ThreatMapper raises notifications to Microsoft Teams using Microsoft Teams webhooks. Open the channel in which you want to add the webhook and select More options from the top navigation bar. Select Connectors from the dropdown menu: Search for Incoming Webhook and select Add. Select Configure, provide a name, and upload an image for your webhook if necessary: Copy and save the unique webhook URL present in the dialog window. The URL maps to the channel and you can use it to send information to Teams. Select Done: Paste the webhook URL and the corresponding channel name into Deepfence Microsoft Teams integration page.
Project: SeaTunnel (App Definition and Development / Streaming & Messaging)
File: copy.md

Copy transform plugin Copy a field to a new field. | name | type | required | default value | |--|--|-|| | fields | Object | yes | | Specify the field copy relationship between input and output Transform plugin common parameters, please refer to for details The data read from source is a table like this: | name | age | card | |-|--|| | Joy Ding | 20 | 123 | | May Ding | 20 | 123 | | Kin Dom | 20 | 123 | | Joy Dom | 20 | 123 | We want copy fields `name``age` to a new fields `name1``name2``age1`, we can add `Copy` Transform like this ``` transform { Copy { sourcetablename = "fake" resulttablename = "fake1" fields { name1 = name name2 = name age1 = age } } } ``` Then the data in result table `fake1` will like this | name | age | card | name1 | name2 | age1 | |-|--||-|-|| | Joy Ding | 20 | 123 | Joy Ding | Joy Ding | 20 | | May Ding | 20 | 123 | May Ding | May Ding | 20 | | Kin Dom | 20 | 123 | Kin Dom | Kin Dom | 20 | | Joy Dom | 20 | 123 | Joy Dom | Joy Dom | 20 | Add Copy Transform Connector Support copy fields to a new fields
Project: ClickHouse (App Definition and Development / Database)
File: v22.8.17.17-lts.md

sidebar_position: 1 sidebar_label: 2023 Backported in : Fixed `UNKNOWN_TABLE` exception when attaching to a materialized view that has dependent tables that are not available. This might be useful when trying to restore state from a backup. (). Backported in : After the recent update, the `dockerd` requires `--tlsverify=false` together with the http port explicitly. (). Fix explain graph with projection (). Remove a feature (). Fix possible segfault in cache (). Fix bug in Keeper when a node is not created with scheme `auth` in ACL sometimes. ().
Project: Open Policy Agent (OPA) (Provisioning / Security & Compliance)
File: expressing-or.md

title: Express OR in Rego subtitle: Idiomatic Rego Examples labels: category: learning layer: web inventors: styra blogs: http://styra.com/blog/how-to-express-or-in-rego docs_features: learning-rego: note: | This is a great way to learn how to migrate logic from other languages to Rego. This is a great way to learn how to migrate logic from other languages to Rego.
Project: ArangoDB (App Definition and Development / Database)
File: example_polymorphic_constructors.md

<!-- Copyright 2018 Paul Fultz II Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE10.txt) --> Polymorphic constructors ======================== Writing polymorphic constructors(such as `make_tuple`) is a boilerplate that has to be written over and over again for template classes: template <class T> struct unwrap_refwrapper { typedef T type; }; template <class T> struct unwraprefwrapper<std::referencewrapper<T>> { typedef T& type; }; template <class T> struct unwraprefdecay : unwrap_refwrapper<typename std::decay<T>::type> {}; template <class... Types> std::tuple<typename unwraprefdecay<Types>::type...> make_tuple(Types&&... args) { return std::tuple<typename unwraprefdecay<Types>::type...>(std::forward<Types>(args)...); } The function takes care of all this boilerplate, and the above can be simply written like this: BOOSTHOFSTATICFUNCTION(maketuple) = construct<std::tuple>();
Project: YugabyteDB (App Definition and Development / Database)
File: 17-cube.md

title: "CUBE" In this exercise we will query the products table, group the results and then generate multiple grouping sets from the results. ``` SELECT productid, supplierid, product_name, SUM(unitsinstock) FROM products GROUP BY productid, CUBE(supplierid); ``` This query should return 154 rows In this exercise we will query the products table, group the results and then generate a subset of grouping sets from the results. ``` SELECT productid, supplierid, product_name, SUM(unitsinstock) FROM products GROUP BY productid, CUBE(productid, supplier_id); ``` This query should return 200 rows
Project: Apache Hadoop (App Definition and Development / Database)
File: CHANGELOG.0.6.2.md

<! --> | JIRA | Summary | Priority | Component | Reporter | Contributor | |:- |:- | : |:- |:- |:- | | | native support for gzipped text files | Major | . | Yoram Arnon | | | JIRA | Summary | Priority | Component | Reporter | Contributor | |:- |:- | : |:- |:- |:- | | | Writable underrun in sort example | Major | io | Owen O'Malley | Owen O'Malley | | | Jobconf should set the default output value class to be Text | Major | . | Hairong Kuang | Hairong Kuang |