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
import * as React from "react" | |
const createServicesContext = < | |
Services extends Record<string, any> | |
>(): React.Context<Services> => { | |
return React.createContext<Services>({} as Services) | |
} | |
type ServicesInjector<S extends Record<string, any>> = { | |
ServicesProvider: ({ |
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
//OnPageInit(); //For some reason the OnLoad does not execute with Arcot Cards. | |
//Checks to see if "Chip Password" is in the authentication method list | |
//or is the default authentication method | |
function ChipCardInAuthList() { | |
var retValue = false; | |
var objAuthType = document.forms[0].authSelect; | |
if (objAuthType != null) { | |
var optLength = objAuthType.length; | |
var idx; | |
for (idx = 0; idx < optLength; idx++) { |
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
const fc = require('fast-check'); | |
const _ = require('lodash'); | |
let selectNames = data => { | |
let names = []; | |
data.forEach(element => { | |
names.push(element.name); | |
}); | |
return names; | |
}; |
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
#!/bin/bash | |
if [[ $DEBUG == "true" ]]; then | |
set -x | |
fi | |
# Check if FQDN is given | |
if [ -z "$1" ]; then | |
echo "Usage: $0 rancher.yourdomain.com" | |
exit 1 | |
fi |
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
[mypy] | |
mypy_path=typeshed | |
# Specify the target platform details in config, so your developers are | |
# free to run mypy on Windows, Linux, or macOS and get consistent | |
# results. | |
python_version=3.6 | |
platform=linux |
Raw message sent:
{
"requestId": "56da9f40-d32f-11e5-bea1-0164965f4534",
"processor": "",
"op": "eval",
"args": {
"gremlin": "foo",
"bindings": {
"foo": {
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
gremlin.graph=com.thinkaurelius.titan.core.TitanFactory | |
storage.backend=cassandrathrift | |
storage.hostname=127.0.0.1 | |
storage.cassandra.keyspace=secundus | |
index.secundus.backend=elasticsearch | |
index.secundus.hostname=127.0.0.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
gremlin.graph=com.thinkaurelius.titan.core.TitanFactory | |
storage.backend=cassandrathrift | |
storage.hostname=127.0.0.1 | |
storage.cassandra.keyspace=primus # Defaults to titan | |
index.primus.backend=elasticsearch | |
index.primus.hostname=127.0.0.1 |
NewerOlder