- macOS/Mac OS X (tested only on El Capitan, but should work on Sierra and older versions)
- Xcode Command Line Tools / Xcode
- Homebrew (http://brew.sh/)
- Tag (via Homebrew)
- ExifTool (via Homebrew)
#!/bin/sh | |
# Quit apps command | |
read -r -d '' OSASCRIPT_COMMAND <<EOD | |
set white_list to {"Finder"} | |
tell application "Finder" | |
set process_list to the name of every process whose visible is true | |
end tell | |
repeat with i from 1 to (number of items in process_list) | |
set this_process to item i of the process_list |
#!/usr/bin/env ruby | |
require 'pinboard' | |
require 'nokogiri' | |
require 'open-uri' | |
# get your Pinboard API token here: https://pinboard.in/settings/password | |
pinboard = Pinboard::Client.new(:token => 'XXXXXXXXXXXXXX') | |
posts = pinboard.posts(:results => 50) |
-- Safari - this copies Title, URL, Date (current tab) and text which you highlighted to the clipboard | |
-- originally from here: https://discussions.apple.com/thread/4561056?tstart=0 | |
-- modified to show tab's Title. | |
-- I recommend assigning it to a shortcut, ctrl + c for example. | |
-- V | |
tell application "Safari" | |
activate | |
set theURL to URL of front document | |
set theTitle to name of front document |
#!/bin/bash | |
# This is a draft but it works | |
# FIRST (I don't even know if it works but we'll assume yes) | |
# sudo launchctl list | |
# sudo launchctl disable system/netbiosd | |
# sudo launchctl disable system/parsecd | |
# sudo launchctl disable system/parentalcontrols.check | |
# sudo launchctl disable system/airportd |
#!/bin/bash | |
# This is a draft but it works | |
# FIRST (I don't even know if it works but we'll assume yes) | |
# sudo launchctl list | |
# sudo launchctl disable system/netbiosd | |
# sudo launchctl disable system/parsecd | |
# sudo launchctl disable system/parentalcontrols.check | |
# sudo launchctl disable system/airportd |
See script
for details of each file.
Apple Support article Fonts included with macOS Sierra is also a good resource, but it is fairly confusing in certain ways, e.g. Songti SC is listed both under fonts that are "installed and enabled automatically by macOS Sierra" and that are "available for download in macOS Sierra" (Update. I checked macOS 10.12 and Songti SC has been there all along).
There is also a seemingly very informative article, Font Management in macOS and OS X by Kurt Lang, which I found via Google Search. This is where I found out about the new directory /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/FontInfo
in macOS Sierra which has replaced Stub Fonts
in Font Book.app
.
# | |
# Reboot into recovery mode (cmd +r ) and in the terminal | |
# | |
nvram boot-args="serverperfmode=1 ncl=262144" | |
#reboot | |
# | |
# In regular mode |