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/src/handlers/requests/upsert_keyword_template.rs b/src/handlers/requests/upsert_keyword_template.rs | |
index 33c3861..35c7054 100644 | |
--- a/src/handlers/requests/upsert_keyword_template.rs | |
+++ b/src/handlers/requests/upsert_keyword_template.rs | |
@@ -35,8 +35,8 @@ impl TryFrom<Request<UpsertKeywordTemplateRequest>> for UpsertKeywordTemplate { | |
} = required(keyword_template, "keyword_template")?; | |
let segmented_by_subscribed: SegmentedBySubscribed = SegmentedBySubscribed::new( | |
- unpack_uuid(template_id.clone(),"template_id").unwrap(), | |
- unpack_uuid(unsubscribed_template_id.clone(),"unsubscribed_template_id").unwrap() |
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 ruby | |
puts 'Hello world' |
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 'Hello world' |
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 " foo" | |
echo " foo" | |
echo " foo" | |
echo " foo" | |
echo "bar" |
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 | |
separator="${1:-:}" | |
tr "${separator}" $'\n' |
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 | |
my_var="Hello, World!" | |
variable_name="my_var" | |
echo "${!variable_name}" |
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 "Hello world" |
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 | |
if [ ! -t 0 ]; then | |
echo "Standard input is not a terminal. Reading input from non-interactive source." | |
cat > output.txt | |
else | |
echo "Standard input is a terminal. Waiting for user input interactively." | |
read -p "Enter your input: " user_input | |
echo "You entered: $user_input" | |
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
#!/usr/bin/env bash | |
echo "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
#!/usr/bin/env bash | |
echo "size of PATH: ${#PATH[@]}" | |
IFS=: paths=($PATH) | |
echo "size of PATH: ${#paths[@]}" |
NewerOlder