#snippets

Found 2 articles tagged with #snippets

How to filter unique items of an array in Swift

If you don’t care about the order, you can use a Set or Dictionary to remove any duplicates, and then convert it back to an array.

How to download an image from URL in Node.js

Downloading an image from a URL involves sending a request to the server that hosts the image, receiving the response containing the binary data of the file, and then writing that data to a file.

Mar 16, 2023#node#snippets