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
| @import '../../../../vendor/filament/filament/resources/css/theme.css'; | |
| @source '../../../../app/Filament/**/*'; | |
| @source '../../../../resources/views/filament/**/*'; | |
| .fi-body { | |
| @apply bg-white; | |
| } | |
| .fi-sidebar-nav-groups { |
| #!/bin/bash | |
| # Enhanced deployment script with error handling and external templates | |
| # Define color codes for better readability | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| YELLOW='\033[0;33m' | |
| NC='\033[0m' # No Color |
| 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! |