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
{ | |
"bools": [true, false], | |
"ints": [42, 32768, -1], | |
"floats": [3.141592654, 2.7182818285, -0.000001], | |
"strs": ["a", "b", "foo", "bar"], | |
"none": null, | |
"dict": { | |
"1": [".", "one", "One", "ONE"], | |
"2": ["..", "two", "Two", "TWO"] | |
} |
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
$ wsl --list --online | |
The following is a list of valid distributions that can be installed. | |
Install using 'wsl.exe --install <Distro>'. | |
NAME FRIENDLY NAME | |
Ubuntu Ubuntu | |
Debian Debian GNU/Linux | |
kali-linux Kali Linux Rolling | |
Ubuntu-18.04 Ubuntu 18.04 LTS | |
Ubuntu-20.04 Ubuntu 20.04 LTS |
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
Copyright (c) Microsoft Corporation. All rights reserved. | |
For privacy information about this product please visit https://aka.ms/privacy. | |
Usage: wsl.exe [Argument] [Options...] [CommandLine] | |
Arguments for running Linux binaries: | |
If no command line is provided, wsl.exe launches the default shell. | |
--exec, -e <CommandLine> |
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 | |
import argparse | |
import pandas | |
parser = argparse.ArgumentParser(description=sys.argv[0]) | |
parser.add_argument('path', help='Path to excel file') | |
args = parser.parse_args() |
This file has been truncated, but you can view the full file.
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
<!DOCTYPE html | |
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:cce="http://benchmarks.cisecurity.org/cce/1.0" xmlns:controls="http://cisecurity.org/controls" xmlns:cc6="http://cisecurity.org/20-cc/v6.1" xmlns:c7="http://cisecurity.org/20-cc/v7.0" xmlns:c8="http://cisecurity.org/20-cc/v8.0" xmlns:cc7="http://cisecurity.org/20-cc/v7.0" xmlns:cve="http://benchmarks.cisecurity.org/cve/1.1" xmlns:check="local:check" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2" xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1" xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2" xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1" xmlns:scap-core="http://scap.nist.gov/schema/scap-core/0.3" xmlns:cis="http://benchmarks.cisecurity.org/evidence/1.0" xmlns:fn="stylesheet-function" xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2" xmln |
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
- block: | |
- name: message 1 | |
debug: msg=operation1 | |
- name: message 2 | |
debug: msg=operation2 | |
- name: message 3 | |
debug: msg=operation3 |
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
It is Sat 2019-04-27 23:34:17.053346 UTC | |
I am /home/John Pfuntner/bin/whatami: 2019-04-27 08:55:21, github.com:pfuntner/toys, master, 8d78c9, d0fc9c11b3abb42fa0ac7e1119221692 | |
['uname', '-a']: 'CYGWIN_NT-6.3 BrunosSatellite 2.11.2(0.329/5/3) 2018-11-08 14:34 x86_64 Cygwin' | |
['uname', '-n']: 'BrunosSatellite' | |
['uname', '-s']: 'CYGWIN_NT-6.3' | |
['uname', '-v']: '2018-11-08 14:34' | |
['uname', '-r']: '2.11.2(0.329/5/3)' | |
['uname', '-m']: 'x86_64' | |
['uname', '-p']: 'unknown' |
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 python | |
import os | |
import logging | |
from unittest import TestCase | |
import random | |
logging.basicConfig(format='%(asctime)s %(levelname)s %(pathname)s:%(lineno)d %(msg)s') | |
log = logging.getLogger() |
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 python | |
import os | |
import re | |
import sys | |
import logging | |
import argparse | |
import datetime | |
import subprocess |
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 python | |
import logging | |
import argparse | |
parser = argparse.ArgumentParser() | |
group = parser.add_mutually_exclusive_group() | |
group.add_argument('-v', '--verbose', dest='verbose', action='count', help='Enable debugging - multiple uses prints more messages') | |
group.add_argument('--loglevel', dest='loglevel', action='store', help='Set log level: DEBUG, INFO, WARNING, ERROR, CRITICAL') |
NewerOlder