Homebrew Formula patching old ImageMagick release 6.9.7-8
brew install https://gist.github.com/Zyphrax/0c53e5ffa9d523ff4af37e2fab71c7e6/raw/bad11375742cadcbc3741df652e472bb0419c4dc/imagemagick.rbTo prevent upgrades you can pin this version.
| #!/bin/bash -e | |
| # Ensure we're running in location of script. | |
| cd "`dirname $0`" | |
| for f in *; do | |
| if [[ $f == *@3x* ]]; | |
| then | |
| echo "$f -> ${f//@3x/@2x}, ${f//@3x/}" | |
| convert "$f" -resize 66.66666% "${f//@3x/@2x}" |
| #!/usr/bin/env python | |
| """" | |
| Bulk download records from legacy, usage: `get_marcxml.py [number_of_records] > [output_marcxml]` | |
| To migrate: `inspirehep migrator populate -f [path_to_marcxml]` | |
| """ | |
| from lxml.etree import fromstring, tostring | |
| import requests | |
| import sys |
| sudo killall coreaudiod | |
| sudo killall blued | |
| sudo renice -5 (pid bluetoothaudio) | |
| sudo renice -5 (pid iTunes) | |
| defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80 | |
| defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 80 | |
| defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 80 | |
| defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool Min (editable)" 80 | |
| defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 80 | |
| defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 80 |