Note: bash_profile is completely different from configuration profiles. Learn more about Configuration Profiles in my book: ‘Property Lists, Preferences and Profiles for Apple Administrators’ Note:…Source: About bash_profile and bashrc on macOS – Scripting OS X
$ sudo /usr/libexec/repair_packages --verify --standard-pkgs / $ sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /
Install required packages via Homebrew:
$ brew install gpg gpg-agent pinentry-mac
Edit and add the following lines in
Edit and enable
Then add the following line to your shell profile:
eval $(gpg-agent --daemon --sh)
Apple introduces System Integrity Protection (SIP) as a security feature for OS X El Capitan (10.11), which prevent ProxyChains-NG working as before, you have to disable SIP to make it work:
- Reboot your Mac into Recovery Mode by pressing command-R
- Open Terminal and type
csrutil enable --without debug:
$ csrutil enable --without debug $ csrutil: requesting an unsupported configuration. This is likely to break in the future and leave your machine in an unknown state. $ Successfully enabled System Integrity Protection. Please restart the machine for the changes to take effect.
Just ignore the warnings and then restart your Mac.
You can get all proxy bypass domains using:
$ networksetup -getproxybypassdomains "Wi-Fi"
Wi-Fi should be your current interface, you can also update it using:
$ networksetup -setproxybypassdomains "Wi-Fi" \ *.local \ 0.0.0.0/8 \ 188.8.131.52/9 \ 184.108.40.206/11 \ 220.127.116.11/11 \
man networksetup for more information
If you have the environment variable
XDG_DATA_HOME set, the installation is located at
$XDG_DATA_HOME/letsencrypt. Otherwise, it is located at
~/.local/share/letsencrypt. You can simply delete this directory. You can also delete configuration, work, and log directories which by default are stored at
/var/log/letsencrypt respectively. The directory where you cloned our git repo can also be deleted.
Let’s Encrypt also installs some OS dependencies and how you remove these would be very OS specific. To see what dependencies were installed, take a look at the files in the bootstrap folder at the root of our git repo (link). Take a look at the shell script for your OS to see what packages are required. You can uninstall these packages through the normal means of your OS, but make sure they aren’t required by any other programs on your system.
最近重灌了 El Capitan，在找「三星 850 Pro 是否可以用 trimforce 開啟 Trim 支援」時發現了下面的信息：
- Apple warns users on new Trim support in 10.10.4
- Samsung 850 Pro SSD 256 gb slower after firmware update EXM02B6Q. Original firmware EXM01B6Q worked perfect!
- trim does not work with Samsung 840 EVO after firmware update (EXT0DB6Q)
- Samsung SSD 850Pro firmware update queued TRIM problems
Samsung SSD 850 PRO 512GB: Capacity: 512.11 GB (512,110,190,592 bytes) Model: Samsung SSD 850 PRO 512GB Revision: EXM01B6Q Serial Number: S1SXNSAF806527E Native Command Queuing: Yes Queue Depth: 32 Removable Media: No Detachable Drive: No BSD Name: disk0 Medium Type: Solid State TRIM Support: No Bay Name: Lower Partition Map Type: GPT (GUID Partition Table) S.M.A.R.T. status: Verified
Used to tell Sketch to export compact SVG files. We add some metadata to exported SVG files, to make it easier to re-import them in Sketch. However, if you are sure you won’t import them, you can disable the saving of metadata by running this into your Terminal.app:
$ defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool yes
When this is set to YES, Sketch will not use the name of the layer for the id field of the layer in SVG export:
$ defaults write com.bohemiancoding.sketch3 svgExportSkipAssignIdToLayerName -bool yes