Question: Why does a neighbor's Apple TV (or other AirPlay device) appear in AirPlay / Sound Output when it is not on your Wi-Fi?
It is AWDL (Apple Wireless Direct Link), not the router. Your Mac discovers the
Question: Why does a neighbor's Apple TV (or other AirPlay device) appear in AirPlay / Sound Output when it is not on your Wi-Fi?
It is AWDL (Apple Wireless Direct Link), not the router. Your Mac discovers the
| function rv() { | |
| new_version=${1}; | |
| sed_command_base="^ruby.*\([[:digit:]]\.\)*[[:digit:]]*"; | |
| if [[ -z "$new_version" ]]; then | |
| if [[ -e Gemfile ]]; then | |
| echo "Gemfile: $(sed -ne /${sed_command_base}/p Gemfile)"; | |
| fi | |
| if [[ -e .ruby-version ]]; then |
| #!/usr/bin/env sh | |
| # This simple bash script ensures that bundle-audit is updated and called before a push to Heroku | |
| # The goal is to ensure that a developer deploying the site is 100% aware of any vulerable gems | |
| # and _must_ intentionally use `--no-verify` if they do not want to update gems. | |
| if [ "$1" = "heroku" ]; then | |
| bundle exec bundle-audit check --update | |
| fi |
| const IMAGE_REGEXP = /\.(?:jpe?g|png)$/; // https://regexper.com/#%2F%5C.%28%3F%3Ajpe%3Fg%7Cpng%29%24%2F | |
| const ImageminWebpWebpackPlugin = require('imagemin-webp-webpack-plugin'); | |
| const { environment } = require('@rails/webpacker'); | |
| environment.plugins.prepend('ImageminWebpWebpackPlugin', new ImageminWebpWebpackPlugin({ | |
| silent: false, | |
| detailedLogs: true, | |
| })); | |
| const manifest = environment.plugins.get('Manifest') |
| function pid_for_name() { | |
| ps -A | grep -m1 $1 | awk '{print $1}' | |
| } | |
| function pause_af { | |
| kill -17 $(pid_for_name afplay) | |
| } | |
| function play_af { | |
| kill -19 $(pid_for_name afplay) | |
| } |