- Each column should be prepended with a HTML block: no content, CSS-classes "col-12 col-lg-6 ...". col-12 is mandatory. (but by adjusting the script below you can make it optional)
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
gpxpy==1.5.0 |
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
<?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( | |
[ |
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
#!/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]" |
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
/** | |
* 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); |
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
<?php | |
$max_distance_km = 5; | |
$max_locations = 10; | |
$base_location = array( | |
'longitude' => "-31.959138", | |
'latitude' => "115.858072" | |
); | |
$locations = []; |
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
#!/bin/bash | |
PLAYLIST=$1 | |
if ! [ -d "$PLAYLIST" ]; then | |
echo "Please enter a valid path" | |
exit | |
fi | |
echo "#EXTM3U" > "$PLAYLIST.m3u" |
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
## | |
## 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 | |
## |
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
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}' |
NewerOlder