Simple function to do everything needed to switch easily php version
Add this function in your .zshrc
file:
# Switch PHP version
switch-php() {
readonly port=${1:?"Please specify php version"}
valet use php@$1
playlists=( "list_id" ) | |
for i in "${playlists[@]}" | |
do | |
youtube-dl --audio-format mp3 -i -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' --add-metadata -x --audio-quality 0 --prefer-ffmpeg 'https://www.youtube.com/playlist?list='${i} --format bestaudio --username USERNAME --password PASSWORD --download-archive downloaded.txt --no-post-overwrites -ciwx --geo-bypass --geo-bypass-country BG | |
done | |
find . -name "_notes" -type d -empty -delete |
I found a security breach in Intercom.io – by using only app_id for initiating application you can get all the conversations | |
of every system which is using Intercom! | |
How: Basically you can get the app_id of every application using Intercom by just search in their HTML, check which users are | |
created in Intercom for that application_id and initiate the intercom with this app_id and user_id. Eureka! You have all his | |
conversations! This is what I call a huge problem! |