Skip to content

Instantly share code, notes, and snippets.

numBads = 0
with open(filename, encoding="utf-8", errors="strict") as f:
while True:
try:
line = f.readline()
if not line:
break
print(line)
except UnicodeDecodeError:
numBads += 1
@flow2k
flow2k / jfld.md
Last active October 26, 2017 18:19

djsklfjlkffjf FFFFHHHH

<b>YES</b>NO
@flow2k
flow2k / index.html
Last active October 26, 2017 17:07
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d56790.47490202523!2d78.042155!3d27.175014999999924!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x39747121d702ff6d%3A0xdd2ae4803f767dde!2sTaj+Mahal!5e0!3m2!1sen!2s!4v1398864446719" width="800" height="600" frameborder="0" style="border:0"></iframe>