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
diff --git a/cmd/daprd/main.go b/cmd/daprd/main.go | |
index c295a1a0..599abb87 100644 | |
--- a/cmd/daprd/main.go | |
+++ b/cmd/daprd/main.go | |
@@ -47,11 +47,13 @@ import ( | |
// Pub/Sub | |
pubs "github.com/dapr/components-contrib/pubsub" | |
+ pubsub_snssqs "github.com/dapr/components-contrib/pubsub/aws/snssqs" | |
pubsub_eventhubs "github.com/dapr/components-contrib/pubsub/azure/eventhubs" |
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
// TODO extract swoosh to constant | |
package kafka_pubsub | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/Shopify/sarama" | |
pubsub "github.com/dapr/components-contrib/pubsub" | |
kafka_pubsub "github.com/dapr/components-contrib/pubsub/kafka" |
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
// TODO extract swoosh to constant | |
package kafka_pubsub | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/Shopify/sarama" | |
pubsub "github.com/dapr/components-contrib/pubsub" | |
kafka_pubsub "github.com/dapr/components-contrib/pubsub/kafka" |
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/env bash | |
echo "Searching for image where name begins with $1" | |
regions=$(aws ec2 describe-regions --output text --query 'Regions[*].RegionName') | |
for region in $regions; do | |
( | |
echo "$region $( aws ec2 describe-images --region $region --filters Name=is-public,Values=true Name=name,Values="$1*" | grep ImageId )" | |
) | |
done |
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/env python3 | |
# So far lab events and output events are fucked up | |
import argparse | |
import os | |
import sys | |
# Take input file | |
# stream correct output | |
def parse_args (): | |
parser = argparse.ArgumentParser() |
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
- name: Be-dug | |
debug: msg={{ssg_result|json_query("json.items[?name=='SSG_NAME'].id")}} | |
vars: | |
dang: "json.items[?name=='{{SSG_NAME}}'].id" |
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
- name: "Loop test {{item}}" | |
debug: "{{ item }} bee dugging" | |
loop: | |
- "oney and a" | |
- "twoey and a" | |
- "threeey" |
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
for (int j = 0; j < i - 1; j++) { | |
link_list_node temp = *cur_command; | |
//Just overwrite the original list, TODO, worry about leaking old data lata | |
duct* muct = malloc(sizeof(duct)); | |
char** farts = execlp_tokenize_command(temp.data); | |
(*muct).args = farts; | |
temp.data = muct; | |
cur_command = temp.next; | |
} |
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
private void loadTable(Spreadsheet sheet) { | |
String fileName = "text.txt"; | |
try { | |
Scanner scanner = new Scanner(new File(fileName)); | |
int row = 0; | |
int column = 0; | |
while (scanner.hasNext()) { | |
String str = scanner.next(); | |
System.out.print(str); |