Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
""" | |
This is a template for creating custom ColumnPairMapExpectations. | |
For detailed instructions on how to use it, please see: | |
https://docs.greatexpectations.io/docs/guides/expectations/creating_custom_expectations/how_to_create_custom_column_pair_map_expectations | |
""" | |
from typing import Optional | |
from great_expectations.compatibility import pyspark | |
from great_expectations.compatibility.pyspark import functions as F |
This file contains hidden or 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
from marvin import ai_fn | |
@ai_fn | |
def generate_data() -> list[str]: | |
""" | |
Generates a valid csv as a list of strings, with the columns 'foo', 'bar', 'baz'. | |
Where foo contains integers between 0 and 100 | |
bar contains floats between -200 and 50 | |
baz is randomized bollean values |
This file contains hidden or 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
--- | |
- name: Create SSL Certificate Generation Directory | |
file: | |
path: /var/ssl/private/generation/trustCAs | |
state: directory | |
mode: 0755 | |
- name: Split CA Certificate Bundle into Cert Files | |
shell: | | |
cat {{ssl_ca_cert_filepath}} | awk 'split_after==1{n++;split_after=0} /-----END CERTIFICATE-----/ {split_after=1} {print > ("/var/ssl/private/generation/trustCAs/ca" n ".pem")}' |
This file contains hidden or 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
- set_fact: | |
extra_args: "" | |
when: not fips_enabled|bool | |
- set_fact: | |
extra_args: "-providerpath {{fips_jar_path}} -providerclass {{fips_provider_class}}" | |
when: fips_enabled|bool | |
- name: Create Truststore and Import the CA Cert | |
shell: | |
This file contains hidden or 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
# | |
# This docker-compose file starts and runs: | |
# * A 3-node kafka cluster | |
# * A 1-zookeeper ensemble | |
# * Schema Registry | |
# * Kafka REST Proxy | |
# * Kafka Connect | |
# | |
version: '3.7' |
This file contains hidden or 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
<ProjectItem ReplaceParameters="true" TargetFileName="$projectname$Module.cs">TemplateModule.cs</ProjectItem> |
This file contains hidden or 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
<ItemGroup> | |
... | |
<Compile Include="$safeprojectname$Module.cs" /> | |
... | |
</ItemGroup> |
This file contains hidden or 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
/* | |
* classList.js: Cross-browser full element.classList implementation. | |
* 2014-07-23 | |
* | |
* By Eli Grey, http://eligrey.com | |
* Public Domain. | |
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
*/ | |
/*global self, document, DOMException */ |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<title>LivePlayer example</title> | |
<!--[if lte IE 9]> | |
<script type="text/javascript" | |
src="https://rawgit.com/es-shims/es5-shim/master/es5-shim.js"></script> | |
<script type="text/javascript" | |
src="https://rawgit.com/aFarkas/html5shiv/master/dist/html5shiv.js"></script> | |
<script type="text/javascript" |
NewerOlder