Which episode? Curitiba needed.
Season 1 episode 13, "Hot Zone".
There was another one where they kerploded a nuclear bomb above the city (with the shields active) followed by dropping them and cloaking in order to trick the Wraith into thinking they had self-destructed. But I don't think that really follows the same line of thought.
And it of course has nothing to do with BIOS...