Skip to content

Commit 6604937

Browse files
authored
fixes some names in common labs (#469)
* Updated Step by Step - Introduction - fixed typos and outdated details * Patch part - common * Patch 3 Patch 3 * Patch PAR URLs Patch PAR URLs * Patch update Patch update * Fix building blocks how-to Fix building blocks how-to * Fixed typo in create custom image lab Fixed typo in create custom image lab * markdown for OCW workshops (new OCI UI) markdown for OCW workshops (new OCI UI) * New common lab to for LiveLabs SSH key handling New common lab to for LiveLabs SSH key handling * Removed OL7.9 instructions for building LiveLabs Images Removed OL7.9 instructions for building LiveLabs Images * Fixed URL in LiveLabs SSH common lab Fixed URL in LiveLabs SSH common lab * ssh common lab for ocw24: moved keys to OS ssh common lab for ocw24: moved keys to OS * ocw24-ocigenai-infos placeholders * Fix common repo (outdated URLS) Fix common repo (outdated URLS) * Create hol3318.md * common fix urls common fix urls * overhaul sandbox env login labs overhaul sandbox env login labs * JS: fixed lintcheker - created 23.4.1 to fix a URL in lint checker - made 23.4.1 the new main.js in production - migrated lint checker fix to 23.5 (which is currently no used) - removed 23.5.min as it is still in development * fix building blocks fix building blocks * Update generate-documentation.py * generate-documentation.py hot fix generate-documentation.py hot fix * Update generate-documentation.py * fix generate-documentation.py for building blocks fix generate-documentation.py for building blocks * fixed urls in index.html fixed urls in index.html * fixes some names in common labs fixes some names in common labs * script to resize images larger than 1mb script to resize images larger than 1mb * Update resize-recur.sh
1 parent 4dfdf49 commit 6604937

File tree

3 files changed

+28
-5
lines changed

3 files changed

+28
-5
lines changed

labs/sqldevweb-login/sqldevweb-login.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This lab assumes you have:
3434

3535
2. From the available options, click `Oracle AI Database`.
3636

37-
3. The Oracle AI Database sub-menu will appear. Select `Autonomous Database`.
37+
3. The Oracle AI Database sub-menu will appear. Select `Autonomous AI Database`.
3838

3939
![Locate Oracle AI Database from the available options.](../../images/console/database-adb.png " ")
4040

labs/terminate-adb/terminate-adb.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Watch the video below for a quick walk-through of the lab.
1919
### Prerequisites
2020

2121
- Should have an Oracle Autonomous AI Database instance provisioned with Lifecycle Status - Available or Stopped.
22-
- To provision an Oracle Autonomous AI Database, there are detailed instructions in Lab 1 of [Autonomous Database 15 minute quick start](https://livelabs.oracle.com/pls/apex/dbpm/r/livelabs/view-workshop?wid=928) workshop.
22+
- To provision an Oracle Autonomous AI Database, there are detailed instructions in Lab 1 of [Autonomous AI Database 15 minute quick start](https://livelabs.oracle.com/pls/apex/dbpm/r/livelabs/view-workshop?wid=928) workshop.
2323

2424
## Task 1: Terminate a Provisioned Oracle Autonomous AI Database Instance
2525

@@ -54,11 +54,11 @@ Watch the video below for a quick walk-through of the lab.
5454

5555
![Click Terminate](./images/terminate.png " ")
5656

57-
7. Confirm that you wish to terminate your Oracle Autonomous AI Database in the confirmation dialog. Type the database name in the input field and click **Terminate Autonomous Database**.
57+
7. Confirm that you wish to terminate your Oracle Autonomous AI Database in the confirmation dialog. Type the database name in the input field and click **Terminate Autonomous AI Database**.
5858

59-
In this lab, type **DEMOATP** and click **Terminate Autonomous Database**.
59+
In this lab, type **DEMOATP** and click **Terminate Autonomous AI Database**.
6060

61-
![Click Terminate Autonomous Database](./images/demoatp-terminate.png " ")
61+
![Click Terminate Autonomous AI Database](./images/demoatp-terminate.png " ")
6262

6363
8. Your instance will begin to terminate. The Lifecycle State will turn from Available to Terminating.
6464

scripts/img-resize/resize-recur.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
3+
# run this script in the root directopry of a workshop to recursivley resize all larger images to max 1920px
4+
# you need to have ffmpeg installed. Should work on Linux and Mac
5+
6+
find . -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" \) -print0 |
7+
while IFS= read -r -d '' f; do
8+
ext="${f##*.}"
9+
base="${f%.*}"
10+
ext_lc="$(printf '%s' "$ext" | tr '[:upper:]' '[:lower:]')"
11+
tmp="${base}.tmp.${ext_lc}"
12+
13+
echo "Resizing: $f"
14+
ffmpeg -loglevel error -nostdin -i "$f" \
15+
-vf "scale='min(iw,1920)':'min(ih,1920)':force_original_aspect_ratio=decrease" \
16+
-y "$tmp" || {
17+
echo "Failed on: $f" >&2
18+
continue
19+
}
20+
21+
mv -f "$tmp" "$f"
22+
done
23+

0 commit comments

Comments
 (0)