# submit the parameterized batch job to cluster:
nomad job run ./cadence-setup-schema.nomad
# run this job (but without any param):
nomad job dispatch cadence-setup-schema
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
package body_bytes | |
import ( | |
"fmt" | |
"io" | |
"io/ioutil" | |
"reflect" | |
"github.com/grpc-ecosystem/grpc-gateway/v2/runtime" | |
) |
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
tell application "System Preferences" | |
quit | |
delay 0.3 | |
launch | |
activate | |
reveal pane id "com.apple.preference.displays" | |
tell application "System Events" | |
tell process "System Preferences" | |
delay 0.3 | |
tell window "LG Ultrafine" |
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
version: '3' | |
services: | |
elassandra: | |
image: docker.io/strapdata/elassandra:6.8.4.4 | |
environment: | |
- "JVM_OPTS=-Dcassandra.custom_query_handler_class=org.elassandra.index.ElasticQueryHandler" | |
- "MAX_HEAP_SIZE=1200m" | |
- "HEAP_NEWSIZE=300m" | |
- "CASSANDRA_CGROUP_MEMORY_LIMIT=true" | |
- "DEBUG=true" |
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
job "csi-linode-controllers" { | |
datacenters = ["dc1"] | |
type = "service" | |
group "controllers" { | |
count = 1 | |
# disable deployments | |
update { | |
max_parallel = 0 |
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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
job web { | |
datacenters = ["dc1"] | |
type = "service" | |
priority = 70 | |
group app { | |
count = 1 | |
task env { | |
driver = "exec" |
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
vars: | |
zookeeper_nodes: "\ | |
{% set _zookeeper_servers = [] %}\ | |
{% for host in groups.zookeeper %}\ | |
{% set _zookeeper_client_port_address = hostvars[host]['zookeeper_client_port_address'] | default('0.0.0.0', true) %}\ | |
{% set _zookeeper_client_port = hostvars[host]['zookeeper_client_port'] | default(2181, true) %}\ | |
{% if _zookeeper_servers.append(dict(['host', 'port'] | zip([_zookeeper_client_port_address, _zookeeper_client_port]))) %}{% endif %}\ | |
{% endfor %}\ | |
{{ _zookeeper_servers }}" |
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
// Objective-C version available here: | |
// https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/RequestPayment.html#//apple_ref/doc/uid/TP40008267-CH4-SW6 | |
// Usage: | |
// | |
// let userID = "146001" | |
// print(hashedValueForAccountName(userID)) | |
// | |
// Output: | |
// |
NewerOlder