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 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
"apiVersion": |- | |
argoproj.io/v1alpha1 | |
"kind": |- | |
Workflow | |
"metadata": | |
"annotations": | |
"pipelines.kubeflow.org/pipeline_spec": |- | |
{"description": "A pipeline with two sequential steps.", "inputs": [{"default": "gs://kubeflow-ryanbouamara/kc_house_data.csv", "name": "url", "optional": true}, {"default": "/mnt/trained_model", "name": "trained_path", "optional": true}, {"default": "/mnt/dataset.csv", "name": "data_path", "optional": true}], "name": "Sequential pipeline"} | |
"generateName": |- | |
sequential-pipeline- |
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
#!/usr/bin/python3 | |
import sys, socket | |
from multiprocessing.dummy import Pool as ThreadPool | |
import multiprocessing | |
import time | |
def starter(sockets): | |
for sock in sockets: | |
print("Broadcasting") | |
sock.send("Broadcast tutut\n".encode()) |
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
var crypto = require('crypto'); | |
var hash_sha1 = function(password, salt){ | |
password = salt + password; | |
var hash = crypto.createHash('sha1'); | |
hash.update(password); | |
var value = hash.digest('hex'); | |
return value; | |
}; |