File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ functions:
5
5
6
6
# Prompt user
7
7
8
- Run figlet on the message ` Hey YOU ` .
8
+ Run figlet on the message ` Docker ` .
9
9
10
10
# Result
11
11
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ functions:
6
6
# Prompt user
7
7
8
8
First run the man page for toilet.
9
- After that, run the toilet command with the font ` future ` and write the message "Hello from Docker"
9
+ After that, run the toilet command with the font ` helvetica ` and write the message "Hello from Docker"
10
10
11
11
# Result
12
12
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ functions:
6
6
7
7
# Prompt user
8
8
9
- Run the man page for qrencode and then use the results to generate a QR code for the
10
- content ` https://github.com/docker/labs-ai-tools-for-devs ` and save it to ` qrcode.png ` .
11
-
9
+ Generate a QR code for the content ` https://github.com/docker/labs-ai-tools-for-dev ` . Save the generated image to ` qrcode.png ` .
10
+ If the command fails, read the man page and try again .
11
+
12
12
# Result
13
13
14
14
This function generates a QR code for a URL. The QR code is saved as a PNG file.
Original file line number Diff line number Diff line change 11
11
12
12
(defn openai-api-key []
13
13
(try
14
- (string/trim (slurp (io/file (System/getenv " HOME" ) " .openai-api-key" )))
14
+ (string/trim (slurp (io/file (or ( System/getenv " OPENAI_API_KEY_LOCATION " ) ( System/getenv " HOME" ) ) " .openai-api-key" )))
15
15
(catch Throwable _ nil )))
16
16
17
17
(defn openai
You can’t perform that action at this time.
0 commit comments