:tabnew
- new blank tab:tabedit [file]
- open file in tab
gt
(:tabn
) - next tab
#!/usr/bin/env perl | |
#============================================================================= | |
# | |
# FILE: dmarc-report-display.pl | |
# | |
# USAGE: ./dmarc-report-display.pl REPORT | |
# | |
# DESCRIPTION: Parse and display a DMARC report | |
# | |
# REQUIREMENTS: Perl 5.10; File::LibMagic, Term::ANSIColor; XML::LibXML |
/* set default namespace to XUL */ | |
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
.tabbrowser-tab[selected] { margin-top: -1px !important; } | |
.tab-background-middle { | |
border-left: none !important; | |
border-right: none !important; | |
margin: 0 -0.5px !important; | |
} |
# http://mail.python.org/pipermail/pythonmac-sig/2009-September/021649.html | |
# On Mac OSX Python may run in 32 or 64 bit mode so platform.architecture() is not reliable. | |
# Example: use 32bit Python: export VERSIONER_PYTHON_PREFER_32_BIT=yes | |
def arch(): | |
import ctypes | |
return {4: "i386", 8: "x86_64"}[ctypes.sizeof(ctypes.c_size_t)] |