This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys, os, argparse, re, glob | |
import xml.etree.ElementTree as ET | |
# interpret CLI arguments | |
parser = argparse.ArgumentParser(description='Strips all positive polarity scans from an mzXML file.') | |
parser.add_argument('INPUT', nargs='+', help='all files to be processed (wildcards allowed, e.g. *.mzXML)') | |
parser.add_argument('-n', '--negative', help='strip negative polarity scans instead', action='store_true') | |
parser.add_argument('-v', '--verbose', help='display more information', action='store_true') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name AliLogin | |
// @version 1 | |
// @include https://login.aliexpress.com/* | |
// @grant none | |
// ==/UserScript== | |
function swapFrame(frameId){ | |
let frameEl = document.getElementById(frameId); | |
if (frameEl!=null ) { |