Skip to content

Instantly share code, notes, and snippets.

Avatar
🈵
Stackoverflowed

Tanimodori Tanimodori

🈵
Stackoverflowed
View GitHub Profile
@Tanimodori
Tanimodori / openpgp.txt
Created Sep 18, 2017
OpenKeychain 关联用户标识
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:2c6de7b17fe731ca1e3e9fc00f0b2aae1637c972]
@Tanimodori
Tanimodori / RobustXMLParser.py
Last active Nov 9, 2019
Robust XML parser for duplicated attributes.
View RobustXMLParser.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Exmaple Robust XML parser which is capable of parsing duplicated attributes using html.parser.HTMLParser
Author: Tanimodori
License: Public Domain
Reference: https://stackoverflow.com/questions/31909929/webscraping-with-python3-ignoring-duplicate-attribute-errors
"""
import re