Skip to content

Instantly share code, notes, and snippets.


AzA ameenaziz

  • UK
Block or report user

Report or block ameenaziz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ameenaziz /
Created Jan 5, 2020
Remove xml node and containing parent node that has a specific string
import xml.etree.ElementTree as ET
tree = ET.parse('testdata.xml')
root = tree.getroot()
for parentNode in root.findall('ParentXMLTag'):
childNode = parentNode.find('ChildXMLTag').text
search_string = "Lorem Ipsum"
if childNode == search_string:
ameenaziz / dabblet.css
Created Oct 31, 2015
The first commented line is your dabblet’s title
View dabblet.css
* The first commented line is your dabblet’s title
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
View environments.js
console.log('consolelog from external source');
You can’t perform that action at this time.