Dealing with Jinja2 whitespaces it’s a nightmare.
Here’s my trick to get rid of that pain.
Let’s say that you have an array like this:
[
{
#!/bin/bash | |
# For this to work you need the following packages installed on your computer: | |
# - protobuf-compiler | |
# - git | |
# - go | |
# - python3 | |
BASEDIR=$(pwd) |
""" | |
Simple CDP message generator. | |
You have to "pip install scapy" to make it work | |
""" | |
import argparse | |
from time import sleep | |
import socket | |
from scapy.all import * |
I hereby claim:
To claim this, I am signing this object: