OSX Change Roaming Preference

On my macbook pro, default values are:

修改 JoinMode 为 Preferred

OSX Change Roaming Preference by @sskaje: https://sskaje.me/2016/10/osx-change-roaming-preference/

Build GnuTLS 3.4.x on OS X

Mac OS X El Captain
MacPorts: gsed, gawk
GMP: 6.1.0 from https://gmplib.org/
libidn: 1.32 from http://www.gnu.org/software/libidn/
nettle: 3.1 from http://www.lysator.liu.se/~nisse/nettle/
libtasn1: 4.7 https://www.gnu.org/software/libtasn1/
p11-kit: 0.23.2 from http://p11-glue.freedesktop.org/p11-kit.html
GnuTLS: 3.4.7 from http://www.gnutls.org/
libunbound: 1.5.7 from https://unbound.net
Install path: /opt/gnutls

Build GMP

Build libidn

Build libtasn1

Build nettle

Build p11-kit

Build libunbound

Build GnuTLS

If your GnuTLS is cloned from git, install libtool and autogen, autoconf, automake,
and configure with –disable-doc

Trouble Shooting


Build GnuTLS 3.4.x on OS X by @sskaje: https://sskaje.me/2015/12/build-gnutls-3-4-x-os/

Incoming search terms:

OS X 下采集程序调用:sample


sample — Profile a process during a time interval

sample is a command-line tool for gathering data about the running behavior of a process. It suspends
the process at specified intervals (by default, every 1 millisecond), records the call stacks of all
threads in the process at that time, then resumes the process. The analysis done by sample is called
sampling” because it only checks the state of the program at the sampling points. The analysis may
miss execution of some functions that are not executing during one of the samples, but sample still
provides useful data about commonly executing functions.


OS X 下采集程序调用:sample by @sskaje: https://sskaje.me/2015/04/os-%e4%b8%8b%e9%87%87%e9%9b%86%e7%a8%8b%e5%ba%8f%e8%b0%83%e7%94%a8%ef%bc%9asample/

Incoming search terms:

OSX Server 4.0 Redeem Code

Free for developers.

Click here

Apple Developer Redeem Codes
Free OS X Yosemite(10.10) Developer Preview Redeem Code for Developers
Apple gives free OS X Server 3.0 redeem codes to developers

OSX Server 4.0 Redeem Code by @sskaje: https://sskaje.me/2014/10/osx-server-4-0-redeem-code/

Incoming search terms:

Macbook Pro Boot Failure


I’m using MacBook Pro with Retina Display, Mid 2012. Partition is not changed, Volume label is ‘Macintosh HD‘.

I was trying to wake my macbook pro up in airport, the monitor was not lightened. Then I forced shutdown and reboot, monitor was still dark. I tried a lot, not work.
I thought I should reset PRAM, after that I saw the apple logo with gray progress bar, running to 20% at most, then computer shutdown.

UPDATE[2014-10-11]: One of my friends met the same progress bar, but resetting PRAM works for him.

Continue reading “Macbook Pro Boot Failure” »

Macbook Pro Boot Failure by @sskaje: https://sskaje.me/2014/10/macbook-pro-boot-failure/

Incoming search terms: