Wénjiàn méi bǎocún, diànnǎo jiù sǐjī le, yí xiàwǔ suànshì báigàn le.
The computer crashed before the file was saved, so the whole afternoon's work was for nothing.
Tips
usage
白 before a verb means 'in vain' or 'for free': 白费 (to waste), 白送 (to give away), 白吃 (to eat without paying). 白干 is working with nothing to show for it: no pay, or no result.
mistakes
干 here is gàn 'to work'. Read with gān 'dry', 白干 is a strong clear liquor, also 白干儿, as in 老白干.