brew install qemu
qemu-img convert -O vdi one-img-147-2559-0-dsnap.qcow2 disk0.vdi
(if you have more disks, you need to convert them too and increase the disk number)
dig mx -f wl-domains.txt +noall +question +answer | sed -e '/;/s/^.//' | awk '{print $1" "$6"NOMX"}' | sed -e 's/\.NOMX//g' | tac | awk '!seen[$1]++' | tac | awk '{print $2}' |
## | |
## Bundle of CA Root Certificates | |
## | |
## Certificate data from Mozilla as of: Wed Oct 16 03:12:09 2019 GMT | |
## | |
## This is a bundle of X.509 certificates of public Certificate Authorities | |
## (CA). These were automatically extracted from Mozilla's root certificates | |
## file (certdata.txt). This file can be found in the mozilla source tree: | |
## https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt | |
## |
#!/bin/bash | |
PLAYLIST=$1 | |
if ! [ -d "$PLAYLIST" ]; then | |
echo "Please enter a valid path" | |
exit | |
fi | |
echo "#EXTM3U" > "$PLAYLIST.m3u" |
<?php | |
$max_distance_km = 5; | |
$max_locations = 10; | |
$base_location = array( | |
'longitude' => "-31.959138", | |
'latitude' => "115.858072" | |
); | |
$locations = []; |
/** | |
* Polyfill for ml-*, mr-*, pl-* and pr-* classes for bootstrap 5. | |
* Who tf can remember me-*, ms-*, etc?! | |
* Also removed the !important BS. | |
* Most of the source code comes from Bootstrap 4. | |
*/ | |
@each $breakpoint in map-keys($grid-breakpoints) { | |
@include media-breakpoint-up($breakpoint) { | |
$infix: breakpoint-infix($breakpoint, $grid-breakpoints); |
#!/bin/bash | |
INPUT="$1" | |
SIZE=$2 | |
OUTPUT="$3" | |
INKSCAPE="${INKSCAPE:-/Applications/Inkscape.app/Contents/MacOS/inkscape}" | |
if [ -z "$INPUT" ] || [ -z "$SIZE" ] || [ -z "$OUTPUT" ]; then | |
echo "Usage: $0 [input] [size] [output]" |
<?php | |
/** | |
* Filters the link query results. (Link Edit Modal in the editor) | |
* @see https://github.com/WordPress/WordPress/blob/3ba44120d0ffa7ac330a1b7e3f8b363ce78f8060/wp-includes/class-wp-editor.php#L1767 | |
*/ | |
add_filter( | |
'wp_link_query', function( array $results, array $query ) : array { | |
$terms = new WP_Term_Query( | |
[ |
gpxpy==1.5.0 |