- Open Automator
- Create a new document
- Select Quick Action
- Set “Service receives selected” to
files or foldersinany application - Add a
Run Shell Scriptaction- your default shell should already be selected, otherwise use
/bin/zshfor macOS 10.15 (”Catalina”) or later - older versions of macOS use
/bin/bash
- your default shell should already be selected, otherwise use
- if you're using something else, you probably know what to do 😉
| # Arch linux samba setup guid | |
| 1. sudo pacman -Sy samba | |
| 2. copy attached file at /etc/samba/smb.conf | |
| 3. Edit config file | |
| a. In global section add following lines | |
| # ios based config | |
| fruit:nfs_aces = no | |
| fruit:aapl = yes |
AptX works on Catalina (10.15.4), tested with the Sony WH-1000XM3.
- Run the following commands in terminal: (Bluetooth Explorer is no longer needed)
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true
sudo defaults write bluetoothaudiod "Enable AAC codec" -bool true
- Reboot both your system and headphones.
| # Feel free to copy anything from this script! | |
| # Run this as an ADMIN! | |
| # Needed for Chocolately install | |
| # If the script gives you any errors, it's likely that you haven't set the ExecutionPolicy to Unrestricted. Run the code below to do this. | |
| # Set-ExecutionPolicy Unrestricted | |
| # Please note that this is not secure, this will result in the possibility that malicious programs can freely execute PowerShell scripts on the computer. Set this flag to: Set-ExecutionPolicy Restricted, after running this script! | |
| # Install Chocolately |
If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.
youtube-dl is an opensource command line tool to download video or audio from online video streaming services.
Videos downloaded in mkv or webm extensions can be played by VLC Media player in all major devices and operating systems including iPhone, Android devices.
Tool website: https://youtube-dl.org/
This gist shows the example commands to use the tool and doesn't support or encourage piracy or violation of copyrights of the online streaming service or the author of the content
All config data loader shell functions are implemented in smartos-live:overlay/generic/lib/sdc/config.sh
- Sources (one of the following):
- /mnt/usbkey/config
- /opt/smartdc/config/node.config
- /var/tmp/node.config/node.config
- /usbkey/config
- Loader: load_sdc_config()
- ([rui] this seems to do nothing on a CN boot as it never finds one of the files above)
Preamble:
In this post I will explore how to stream a video and audio capture from one computer to another using ffmpeg and netcat, with a latency below 100ms, which is good enough for presentations and general purpose remote display tasks on a local network.
The problem:
