This file contains hidden or 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
####### | |
####### | |
_TV_SHOWS = ['fotc', 'btvs', 'NTNOCN', 'KITH', 'ST TOS', 'STV', 'GoT', 'HTGAWM', 'LOTR', 'AVP', 'TLG', 'ET', 'BTVS', 'CSI', 'TBBT', 'AGT', 'SGA', 'SGU', 'SG SG1', 'BSG', 'WLIIA', 'ILL', 'ANTM', 'TAAHM', 'SATC', 'WWE', '1000WTD', 'LnO', 'TFA', 'TPM', 'AOTC', 'TWD', 'LSSC', 'HIMYM', 'ROTS', 'AOTJ', 'DW', 'NCIS LA', 'TDS', 'TLS', 'SNL', 'BBT', 'HNIC', 'TLJ', 'ST DS9', 'ST', 'TMNT', 'ST TNG', 'OUAT', 'OITNB', 'TXF'] | |
_SUPERHEROES = ['Aquaman', 'Ant-Man', 'Asterix', 'The Atom', 'The Avengers', 'Batgirl', 'Batman', 'Batwoman', 'Black Canary', 'Black Panther', 'Captain America', 'Captain Marvel', 'Catwoman', 'Conan the Barbarian', 'Daredevil', 'The Defenders', 'Doc Savage', 'Doctor Strange', 'Elektra', 'Fantastic Four', 'Ghost Rider', 'Green Arrow', | |
'Green Lantern', 'Guardians of the Galaxy', 'Hawkeye', 'Hellboy', 'Incredible Hulk', 'Iron Fist', 'Iron Man', 'Marvelman', 'Robin', 'The Rocketeer', 'The Shadow', 'Spider-Man', 'Sub-Mariner', 'Supergirl', 'Superman', 'Teenage Mutant Ninj |
This file contains hidden or 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
alias k='microk8s.kubectl -n sc4snmp ' | |
alias kl='k logs -f ' | |
alias kga='k get all' | |
alias kda='k describe all' | |
alias kd='k describe ' | |
alias ka='ka -f ' | |
k get pods -o wide --all-namespaces |
This file contains hidden or 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
import logging | |
import logging.handlers | |
import datetime | |
from os.path import expanduser | |
from splunk_hec_handler import SplunkHecHandler | |
def setup_logger(name, host=None, port=8088, token=None, verify=False): |
This file contains hidden or 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
<form version="1.1"> | |
<label>XKCD API Explorer</label> | |
<description>XKCD Dashboard to explore Comic data</description> | |
<fieldset submitButton="false"> | |
<input type="dropdown" token="img"> | |
<label>XKCD Comic</label> | |
<fieldForLabel>safe_title</fieldForLabel> | |
<fieldForValue>img</fieldForValue> | |
<search> | |
<query>index=main img=* | dedup img | table safe_title img month num alt year | sort - safe_title</query> |
This file contains hidden or 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
zxc |
- Open dev tools
- Search for the
<video…
tag. - Copy the source URL
- Right click on the
body
tag and clickEdit as HTML
- Add an a link with the src right inside the body tag like:
<body>
<a href="url-you-copied">download</a>
...