$ man launchd
$ man launchctl
$ man launchd.plist
$ man plutil
-- ことえり単語登録(== "WordRegister") | |
tell application "WordRegister" | |
activate | |
end tell | |
tell application "System Events" | |
-- 単語の欄にペースト |
-- source url | |
-- http://d.hatena.ne.jp/zariganitosh/20140129/mavericks_kotoeri_mechanism | |
tell application "System Preferences" | |
reveal anchor "Text" of pane id "com.apple.preference.keyboard" | |
activate | |
end tell |
#!/bin/bash | |
while [ ! -d /Volumes ] | |
do | |
echo "waiting..." | |
sleep 0.5 | |
done | |
if [ ! -d /Volumes/RamDisk ]; then | |
echo "creating ramdisk..." | |
sleep 0.5 | |
diskutil partitionDisk $(hdiutil attach -nomount ram://$((2048*16000))) 1 GPTFormat APFS 'RamDisk' '100%' |
csrutil disable | |
sudo nvram boot-args="intcoproc_unrestricted=1 kext-dev-mode=1 amfi_allow_any_signature=1 amfi_unrestrict_task_for_pid=1 PE_i_can_has_debugger=1 cs_enforcement_disable=1 amfi_get_out_of_my_way=0x1 amfi=0xff" | |
sudo spctl --master-disable | |
sudo defaults write /Library/Preferences/com.apple.security.coderequirements Entitlements -string always | |
sudo defaults write /Library/Preferences/com.apple.security.coderequirements AllowUnsafeDynamicLinking -bool YES | |
sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool YES |
Automator のシェルスクリプトアクションで使えるサンプル集です。「アプリケーション」や「サービス」を作成するときにどうぞ。
{ | |
"title": "for Kensington Trackball", | |
"rules": [ | |
{ | |
"description": "L_btn + R_btn to Button 2", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"simultaneous": [ |
# /etc/nsmb.conf - macOS 11.3 - 2021-04-29 | |
#------------------------------------------------------------------------------ | |
# SMB configuration for macOS 11.3 <-> Synology | |
#------------------------------------------------------------------------------ | |
# Additional information: | |
# ----------------------- | |
# https://support.apple.com/de-de/HT211927 | |
# https://support.apple.com/en-us/HT208209 | |
# https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra | |
# https://photographylife.com/afp-vs-nfs-vs-smb-performance |