This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VAST version="3.0"> | |
<Ad id="1"> | |
<InLine> | |
<AdSystem>ExampleAdSystem</AdSystem> | |
<AdTitle>Sample Ad</AdTitle> | |
<Creatives> | |
<Creative> | |
<Linear> | |
<Duration>00:01:00</Duration> <!-- Adjust the duration if necessary --> | |
<MediaFiles> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VAST version="4.2" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns="http://www.iab.com/VAST"> | |
<Ad id="20008" sequence="1"> | |
<InLine> | |
<AdSystem version="1">iabtechlab</AdSystem> | |
<Error><![CDATA[https://example.com/error]]></Error> | |
<Impression id="Impression-ID"><![CDATA[https://example.com/track/impression]]></Impression> | |
<Pricing model="cpm" currency="USD"> | |
<![CDATA[ 25.00 ]]> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<VAST version="3.0"> | |
<Ad id="Test"> | |
<InLine> | |
<AdSystem>Test</AdSystem> | |
<AdTitle>Test</AdTitle> | |
<Error>http://www.example.com/error</Error> | |
<Impression>http://www.example.com/impression</Impression> | |
<Creatives> | |
<Creative sequence="1" AdID="7E7F3BE9-9717-4289-9094-B77EEDC4086A"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# ./badb.sh /dev/sdd 0.9 | |
# starts from 90th% block of the device using 4k blocks. | |
DEV=$(basename $1) | |
BLOCKS=$(cat /proc/partitions| grep $DEV| awk 'NR==1{ print $3 } ') | |
SIZE=1024 | |
NB=4 | |
BSIZE=$(( SIZE * NB )) |