Skip to content

Commit

Permalink
Merge branch 'main' into snort3
Browse files Browse the repository at this point in the history
  • Loading branch information
pareenaverma authored Dec 23, 2024
2 parents c7eb602 + c624720 commit b08e676
Show file tree
Hide file tree
Showing 72 changed files with 2,801 additions and 392 deletions.
94 changes: 92 additions & 2 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ Alibaba
Altra
AmazonRDS
Analytics
Andoid
Anonymized
ArmDeveloperEcosystem
ArmNN
Expand Down Expand Up @@ -3420,4 +3419,95 @@ snortrules
techmahindra
unreferenced
uptime
wC
wC
ApiService
AppHost
ArmPyTorchMNISTInference
Blazor
CameraX
ComputationService
Coroutine
EOF
EVCLI
EVidence
Evcli
GC’s
GenerateMatrix
ImageCapture
InputStream
JWT
JetPack
KBS
MediaPipe's
Mongod
Multimodal
NNAPI
NPUs
NetAspire
OpenTelemetry
PIL
PerformIntensiveCalculations
ReactiveX's
ServiceDefaults
SharedFlow
Skopeo
StateFlow
TestOpenCV
TrustedFirmware
Veraison
WeatherForecast
WebGPU’s
Wiredtiger
androidml
ar
armpytorchmnistinference
codelabs
combinator
cooldown
coroutines
cryptographically
datatracker
debounce
decrypts
diagnosticDataCollectionDirectorySizeMB
eab
eth
evcli
googleblog
hanyin
honorSystemUmask
ietf
jsonviewer
keyFile
livestream
lockCodeSegmentsInMemory
matrixResult
matrixSize
maxIncomingConnections
mongod
mongosh
multimodality
multimodel
oplogSizeMB
optimizable
orchestrator
prebuild
preconfigured
relica
replSetName
rfc
serializable
setParameter
skopeo
subclasses
subproject
subproject's
subrepositories
suppressNoTLSPeerCertificateWarning
systemLog
tlsWithholdClientCertificate
unutilized
vLLM
veraison
verifier
vllm
1 change: 1 addition & 0 deletions assets/contributors.csv
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ Chen Zhang,Zilliz,,,,
Tianyu Li,Arm,,,,
Georgios Mermigkis,VectorCamp,gMerm,georgios-mermigkis,,https://vectorcamp.gr/
Ben Clark,Arm,,,,
Han Yin,Arm,hanyin-arm,nacosiren,,
60 changes: 30 additions & 30 deletions content/install-guides/skopeo.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Skopeo

draft: true
author_primary: Jason Andrews
minutes_to_complete: 10
official_docs: https://github.com/containers/skopeo
Expand All @@ -24,7 +24,7 @@ Skopeo is a command-line utility that performs various operations on container i

This article explains how to install Skopeo for Ubuntu on Arm.

Skopeo is available for Windows, macOS, and Linux and supports the Arm architecture. Refer to [Installing Skopeo](https://github.com/containers/skopeo/blob/main/install.md) for information about other operating systems and architectures.
Skopeo is available for Windows, macOS, and Linux and supports the Arm architecture. See [Installing Skopeo](https://github.com/containers/skopeo/blob/main/install.md) for further information about other operating systems and architectures.

## What should I consider before installing Skopeo on Arm?

Expand Down Expand Up @@ -56,13 +56,13 @@ Confirm the installation by checking the version:
skopeo --version
```

To see the help message:
To see the help message use this command:

```bash
skopeo --help
```

The output is:
The output that you will see should be:

```output
Various operations with container images and container image registries
Expand All @@ -72,44 +72,44 @@ Usage:
skopeo [command]
Available Commands:
copy Copy an IMAGE-NAME from one location to another
delete Delete image IMAGE-NAME
generate-sigstore-key Generate a sigstore public/private key pair
help Help about any command
inspect Inspect image IMAGE-NAME
list-tags List tags in the transport/repository specified by the SOURCE-IMAGE
login Login to a container registry
logout Logout of a container registry
manifest-digest Compute a manifest digest of a file
standalone-sign Create a signature using local files
standalone-verify Verify a signature using local files
sync Synchronize one or more images from one location to another
copy Copy an IMAGE-NAME from one location to another.
delete Delete image IMAGE-NAME.
generate-sigstore-key Generate a sigstore public/private key pair.
help Help about any command.
inspect Inspect image IMAGE-NAME.
list-tags List tags in the transport/repository specified by the SOURCE-IMAGE.
login Log in to a container registry.
logout Log out of a container registry.
manifest-digest Compute a manifest digest of a file.
standalone-sign Create a signature using local files.
standalone-verify Verify a signature using local files.
sync Synchronize one or more images from one location to another.
Flags:
--command-timeout duration timeout for the command execution
--debug enable debug output
-h, --help help for skopeo
--insecure-policy run the tool without any policy check
--override-arch ARCH use ARCH instead of the architecture of the machine for choosing images
--override-os OS use OS instead of the running OS for choosing images
--override-variant VARIANT use VARIANT instead of the running architecture variant for choosing images
--policy string Path to a trust policy file
--registries.d DIR use registry configuration files in DIR (e.g. for container signature storage)
--tmpdir string directory used to store temporary files
-v, --version Version for Skopeo
--command-timeout duration Timeout for the command execution.
--debug Enable debug output.
-h, --help Help for skopeo.
--insecure-policy Run the tool without any policy check.
--override-arch ARCH Use ARCH instead of the architecture of the machine for choosing images.
--override-os OS Use OS instead of the running OS for choosing images.
--override-variant VARIANT Use VARIANT instead of the running architecture variant for choosing images.
--policy string Path to a trust policy file.
--registries.d DIR Use registry configuration files in DIR (for example, for container signature storage).
--tmpdir string Directory used to store temporary files.
-v, --version Version for Skopeo.
Use "skopeo [command] --help" for more information about a command.
```

## How do I get started with Skopeo?

Some commands to get you started with Skopeo are demonstrated below.
You can use the commands listed below to get you started with Skopeo.

### How can I check if a container image supports Arm?

To find out if an image is multi-architecture, including Arm, you can inspect the image's manifest.

For example, to check if the dev container available for creating Arm Learning Paths supports the Arm architecture run:
For example, to check if the dev container available for creating Arm Learning Paths supports the Arm architecture, run:

```bash
skopeo inspect --raw docker://docker.io/armswdev/learn-dev-container:latest | jq '.manifests[] | select(.platform.architecture == "arm64")'
Expand Down Expand Up @@ -166,7 +166,7 @@ The output confirms that both `arm64` and `amd64` are supported architectures as

## What are some other uses for Skopeo?

Copy an image from a registry to a local directory. This command is similar to `docker pull` and will copy the image from the remote registry to your local directory.
Copy an image from a registry to a local directory. This command is similar to `docker pull` and copies the image from the remote registry to your local directory.

```bash
skopeo copy docker://docker.io/armswdev/uname:latest dir:./uname
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ This example computes the dot product of two vectors using Arm C Language Extens

The intention is to enable the compiler to use SVE instructions in the specialized case, while restricting it to use only Armv8 instructions in the default case.

More details on the default implementation can be found in [Implement dot product of two vectors](/learning-paths/smartphones-and-mobile/android_neon/dot_product_neon).

Use a text editor to create a file named `dotprod.c` with the code below:

```c
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ weight: 2
| Desktop | Windows, macOS, and Linux | initiator and target |
| CLI | Windows, macOS, and Linux | initiator and target |
| Device package | Linux, OpenWRT, and many others | target only |
| Mobile | Andoid, iOS | initiator (Android and iOS) and target (Android only) |
| Mobile | Android, iOS | initiator (Android and iOS) and target (Android only) |

Any software package marked as `initiator` can connect to other `target` devices. The target software packages can receive connections from other devices. Packages marked as both initiator and target can do both functions.

Expand Down
12 changes: 6 additions & 6 deletions content/learning-paths/laptops-and-desktops/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ operatingsystems_filter:
- Android: 2
- Baremetal: 1
- ChromeOS: 1
- Linux: 29
- macOS: 7
- Windows: 38
- Linux: 27
- macOS: 5
- Windows: 36
subjects_filter:
- CI-CD: 3
- Containers and Virtualization: 6
Expand All @@ -24,7 +24,7 @@ title: Laptops and Desktops
tools_software_languages_filter:
- .NET: 12
- Alacritty: 1
- Android Studio: 2
- Android Studio: 1
- Arm Development Studio: 2
- Arm64EC: 1
- assembly: 1
Expand All @@ -36,7 +36,7 @@ tools_software_languages_filter:
- CCA: 1
- Clang: 10
- CMake: 2
- Coding: 19
- Coding: 17
- CSS: 1
- Docker: 4
- GCC: 9
Expand Down Expand Up @@ -68,7 +68,7 @@ tools_software_languages_filter:
- Trusted Firmware: 1
- Visual Studio: 10
- Visual Studio Code: 9
- VS Code: 2
- VS Code: 3
- Windows Forms: 1
- Windows Performance Analyzer: 1
- Windows Presentation Foundation: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,73 +8,33 @@ layout: learningpathall

## What is OpenCV?

OpenCV (Open Source Computer Vision Library) is a popular, open-source library that developers use to build computer vision applications. It provides a set of tools and functions that help you handle tasks related to images and videos without needing to write everything from scratch.
Open Source Computer Vision Library (OpenCV) is a popular, Open Source library that developers can use to build computer vision applications. It provides a set of tools and functions that can help you with tasks handling images and videos.

Here’s what developers should know:
Here are some of the benefits of using OpenCV:

* __Ease of Use__: OpenCV comes with pre-built functions for common tasks like reading, displaying, and processing images and videos. This saves time compared to writing algorithms from the ground up.
* __Ease of Use__: OpenCV comes with pre-built functions for common tasks such as reading, displaying, and processing images and videos. This saves time compared to needing to cover absolutely every detail when writing an algorithm.

* __Image Processing__: You can perform operations like changing colors, applying filters, resizing, rotating, and other transformations to images with minimal code.
* __Image Processing__: You can perform operations such as changing colors, applying filters, resizing, rotating, and make other transformations to images with minimal coding effort.

* __Video Handling__: Developers can use OpenCV to capture, modify, and analyze video frames, making it ideal for creating applications like video surveillance or video editing tools.
* __Video Handling__: Developers can use OpenCV to capture, modify, and analyze video frames, making it ideal for creating applications such as video surveillance or video editing tools.

* __Computer Vision Algorithms__: OpenCV includes built-in algorithms for complex tasks like object detection (e.g., face and eye recognition), edge detection, and image segmentation.
* __Computer Vision Algorithms__: OpenCV includes built-in algorithms for complex tasks such as:

* __Machine Learning__: It includes modules for training models using basic machine learning algorithms, which can be applied for pattern recognition and data analysis in visual data.
* Object detection; for example, face and eye recognition.
* Edge detection.
* Image segmentation.

* __Community and Resources__: Being open-source and widely adopted, there is a large community of developers contributing to and supporting OpenCV. This makes it easier to find tutorials, documentation, and answers to questions.
* __Machine Learning__: OpenCV includes modules for training models using basic machine learning algorithms, which can be applied for pattern recognition and data analysis in visual data.

* __Community and Resources__: As OpenCV is Open Source and widely adopted, there is a large community of developers both contributing to, and supporting, OpenCV. This makes it easier to find tutorials, documentation, and answers to questions, as there are many resources available.

## Which compilers are available for Windows on Arm Development?

MSVC (Microsoft Visual C++) and Clang are options for developers building Windows on Arm applications.

* __MSVC__: A compiler developed by Microsoft that’s part of the Visual Studio IDE. It’s designed specifically for Windows and integrates well with the Windows development ecosystem.

* __Clang__: An open-source compiler that is part of the LLVM project. It’s known for its modern design and cross-platform capabilities.

MSVC is ideal for Windows-focused projects needing seamless integration with Visual Studio. Clang is ideal for cross-platform projects or when using modern C++ features.

## Before you begin

Any Windows on Arm machine which has the required tools installed can be used for this Learning Path. You will learn how to build OpenCV using both MSVC and Clang.

Please install the following tools required for both methods.

* [CMake](/install-guides/cmake)

{{% notice Note %}}
The instructions were tested with the version 3.28.1
{{% /notice %}}

* [Git](https://git-scm.com/downloads/win)

{{% notice Note %}}
There is currently no Arm version of Git. Install the 64-bit x86 version.
{{% /notice %}}

Follow the link to install the required tools for a method using MSVC.

* [Visual Studio 2022 or higher](/install-guides/vs-woa).

{{% notice Note %}}
The instructions were tested with Visual Studio 2022.
{{% /notice %}}

To build using Clang, please install the following.

* [LLVM](/install-guides/llvm-woa/)
## Which compilers are available for Windows on Arm Development?

{{% notice Note %}}
The instructions were tested with the version 18.1.8.
{{% /notice %}}
MSVC (Microsoft Visual C++) and Clang are both compilers that are available for developers building Windows on Arm applications.

* [Ninja]( https://github.com/ninja-build/ninja/releases)
* __MSVC__: Developed by Microsoft, MSVC is a compiler that is part of the Visual Studio IDE. It is designed specifically for Windows, and integrates well with the Windows development ecosystem. MSVC is ideal for Windows-focused projects requiring seamless integration with Visual Studio.

{{% notice Note %}}
The instructions were tested with version 1.11.1
{{% /notice %}}
* __Clang__: Part of the LLVM project, Clang is an Open Source compiler that is known for its modern design and cross-platform capabilities. Clang is better suited to cross-platform projects, or when using modern C++ features.

Make sure LLVM Clang and Ninja are in your search path. If they are not, you can use Windows Control Panel to set the PATH environment variable.

You now have the required development tools installed. Please proceed to the page for the compiler you want to build with.
Loading

0 comments on commit b08e676

Please sign in to comment.