Skip to content

Instantly share code, notes, and snippets.

View unicodedecode.py
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
View jfld.md

djsklfjlkffjf FFFFHHHH

View index.html
<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>
You can’t perform that action at this time.