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 | |
/* | |
############################## | |
########### Search ########### | |
############################## | |
Included are steps to help make this script easier for other to follow | |
All you have to do is add custom ACF post types into Step 1 and custom taxonomies into Step 10 | |
I also updated this work to include XSS and SQL injection projection | |
[list_searcheable_acf list all the custom fields we want to include in our search 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
<?php | |
declare(strict_types=1); | |
if (!defined('ABSPATH')) { | |
exit(); | |
} | |
add_action('wp_enqueue_scripts', function () { | |
// bail if classic editor setting is set to block or no-replace |
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
5 Adrenalinkick | |
5 Feltolkning | |
5 Gömt Förråd | |
5 Positiv Karma | |
5 Ynkrygg | |
5 Stridsutmattning | |
5 Negativ Karma | |
3 Gravplundring | |
3 Stulna Dokument | |
1 Utökade möjligheter |
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 | |
for f in "$@" | |
do | |
echo "Processing $f file..." | |
ffmpeg -i "$f" -codec:a libmp3lame -q:a 0 -map_metadata 0:s:0 -id3v2_version 3 -write_id3v1 1 "${f%.*}".mp3 | |
#ffmpeg -i "$f" -codec:a libmp3lame -q:a 0 "${f%.*}".mp3 | |
done |
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 | |
for f in "$@" | |
do | |
echo "Processing $f file..." | |
ffmpeg -i "$f" -af aformat=s16:44100 "${f%.*}".flac | |
done |
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 | |
if [ $# -gt 0 ] | |
then | |
for url in "$@" | |
do | |
echo "Processing $url ..." | |
files=$(wget -q -O- $url | grep -o '<enclosure [^>]*url="[^"]*' | grep -o '[^"]*$') | |
while IFS= read -r file; do |