DART sample file
dart_sample_file_1MB.dart
1.0 MB
application/vnd.dart
SHA256 verified
File details
Filename
dart_sample_file_1MB.dartSize1.0 MB (1048576 bytes)
MIME type
application/vnd.dartExtension
.dartSHA256
6962895da3624dbabf1b8eb5a567b71d52f166efa6d898e9efef49900438de9cDownload commands
Use in scripts and tests
curl -L -o dart_sample_file_1MB.dart \
https://samplefile.com/samples/download/code/dart/dart_sample_file_1MB.dart/
wget -O dart_sample_file_1MB.dart \
https://samplefile.com/samples/download/code/dart/dart_sample_file_1MB.dart/
import requests
url = "https://samplefile.com/samples/download/code/dart/dart_sample_file_1MB.dart/"
resp = requests.get(url)
with open("dart_sample_file_1MB.dart", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/dart/dart_sample_file_1MB.dart/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("dart_sample_file_1MB.dart", buf);
# Download and verify SHA256
curl -L -o dart_sample_file_1MB.dart https://samplefile.com/samples/download/code/dart/dart_sample_file_1MB.dart/
echo "6962895da3624dbabf1b8eb5a567b71d52f166efa6d898e9efef49900438de9c dart_sample_file_1MB.dart" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/dart/dart_sample_file_1MB.dart/").content
assert hashlib.sha256(data).hexdigest() == "6962895da3624dbabf1b8eb5a567b71d52f166efa6d898e9efef49900438de9c"
More DART files
Other DART Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
dart_sample_file_200KB.dart |
200.0 KB | 4d32fbdee91f03a9… |
Download |
dart_sample_file_500KB.dart |
500.0 KB | 9afddf2d75fb0062… |
Download |
dart_sample_file_50KB.dart |
50.0 KB | c0a89bcc6241e230… |
Download |
Learn more