I recommend this only be done on homelab/segmented hardware. This will make your host vulnerable to these exploits.
Depending on your CPU generation, you can regain 20-30% performance.
I recommend this only be done on homelab/segmented hardware. This will make your host vulnerable to these exploits.
Depending on your CPU generation, you can regain 20-30% performance.
| # Visualise a latex document git history | |
| # loop through commits, create a PDF from your main file for each | |
| # translate the pages of that PDF to a single image | |
| # create GIF/mp4 from the folder of images created | |
| # run within your local repository | |
| # prerequisites: ImageMagick and FFmpeg | |
| # create output folder |
| docker run --rm -it -v $PWD:/tmp debian:10-slim /bin/bash | |
| # --rm : remove after exit | |
| # -it : interactive TTY | |
| # -v : mount folder : current folder to /tmp folder of the container | |
| # debian:10-slim : docker image https://git.io/JJzfy | |
| # /bin/bash : run bash in this container |
| #!/usr/bin/env python3 | |
| # Extracts a subset of TLS secrets and injects them in an existing capture file. | |
| # | |
| # Author: Peter Wu <peter@lekensteyn.nl> | |
| import argparse | |
| import os | |
| import shlex | |
| import subprocess | |
| import sys |
| -- LR imports | |
| local LrApplication = import("LrApplication") | |
| local LrApplicationView = import("LrApplicationView") | |
| local LrBinding = import("LrBinding") | |
| local LrDevelopController = import("LrDevelopController") | |
| local LrDialogs = import("LrDialogs") | |
| local LrExportSession = import("LrExportSession") | |
| local LrFileUtils = import("LrFileUtils") | |
| local LrFunctionContext = import("LrFunctionContext") | |
| local LrLogger = import("LrLogger") |
Allows you to use tables with the dashing framework.
| Function Convert-ToUnixDate ($PSdate) { | |
| $epoch = [timezone]::CurrentTimeZone.ToLocalTime([datetime]'1/1/1970') | |
| (New-TimeSpan -Start $epoch -End $PSdate).TotalSeconds | |
| } |