Cover photo
Kaiyin Zhong
79 followers|237,559 views


Kaiyin Zhong

Shared publicly  - 
wine msiexec /i xyz.msi

install msi files, open
Add a comment...

Kaiyin Zhong

Shared publicly  -

iOS Swift unit test result in unresolved identifier

I hit the same issue today, not sure if this is only available recently - rather than using import TARGET_NAME in your test file and/or declaring your classes/methods as public, you can add your file to your Tests target via XCode's File Inspector.

Cmd + Opt + 1 to show it while in any file, and check the box under Target Membership for your Tests Target.

File Inspector - Target Membership

You may need to rebuild.... Cmd + b.

Should this be specific to my system.... I'm running Xcode 6.3 beta 1, and testing via Quick + Nimble, both installed with the latest cocoapods beta.
Add a comment...

Kaiyin Zhong

Shared publicly  - 
Add a comment...

Kaiyin Zhong

Shared publicly  - 
Add a comment...

Kaiyin Zhong

Shared publicly  - 
You can use Collect Samples/Batch Compress feature (in the Files menu) to convert the entire Kontakt library back to AIFF/WAV, for easy editing.

Add a comment...

Kaiyin Zhong

Shared publicly  - 
for f in *.mp4;
ffmpeg -ss 00:01:10 -i "$f" -c copy "cut/$f"

# cut the beginning/start part of a all the mp4 file video files in the current directory

Add a comment...

Kaiyin Zhong

Shared publicly  - 
generate mac icons

#!/usr/bin/env bash
sizes=(16 32 64 128 256 512)
if [ ! -f "$largfile" ]; then
convert -background none -resize 1024x1024 "$1" "$largfile"
for s in "${sizes[@]}"; do
echo $s
convert -background none -resize ${s}x${s} "$largfile" "icon_${s}x$s.png"

cp 'icon_32x32.png' 'icon_16x16@2x.png'
mv 'icon_64x64.png' 'icon_32x32@2x.png'
cp 'icon_256x256.png' 'icon_128x128@2x.png'
cp 'icon_512x512.png' 'icon_256x256@2x.png'

mkdir icon.iconset
mv icon_x.png icon.iconset
iconutil -c icns icon.iconset

Add a comment...

Kaiyin Zhong

Shared publicly  - 
Add a comment...

Kaiyin Zhong

Shared publicly  - 
Skip to main content
Find People, Jobs, Companies, and MoreSearch for:
Search for people, jobs, companies, and more...
Inbox. You have 0 new messages. Inbox Menu
Notifications. You have 1 unseen notification. 1 Notifications Menu
Grow My Network Grow My Network Menu.
Kaiyin Zhong Account & Settings Menu
Home Profile Profile Menu
My Network My Network Menu
Learning Jobs Interests Interests Menu
Business Services Business Services Menu
Try Premium for free

Turning OS X 10.11 El Capitan into a Speed Deamon
Published on October 6, 2015
LikeTurning OS X 10.11 El Capitan into a Speed Deamon13Comment6ShareShare Turning OS X 10.11 El Capitan into a Speed Deamon1
Patrick Mullins
Patrick MullinsFollowPatrick Mullins
Application Architect at IBM
OS X Defaults System

Buried deep inside the underpinnings of Mac OS X is an extremely powerful command-line program that not many users know about. This program, named defaults, allows users to read, write, and delete "defaults" (Apple's term for user preferences). Mac OS X applications and other third-party programs use defaults to keep track of user preferences and other information that needs to be stored and maintained. A simple example would be when you change the font in TextEdit. In this case the defaults system would record the change and store it inside a file on the disk. Users can, for the most part, directly manipulate settings from an application's preferences panel. However, some settings, like those we're about to talk about, can only be reached via the defaults system.

The recent release of Mac OS X El Capitan goes a long way toward speeding up Apple's BSD-based operating system in general. Indeed, the speed of the new OS is a vast improvement over its sluggish predecessor. With the Defaults system we can speed things up even more using these ten simple tweaks.

Changing Defaults

We're going to change some settings affecting the keyboard, the overall user interface, the Mail application, and Safari. Modifying the defaults system is as easy as copying and pasting text. Really, it's that simple. All you have to do is open a Terminal window, copy the tweaks below, paste them one at a time in the Terminal window and then hit enter.


1. Set a blazingly fast keyboard repeat rate.

defaults write NSGlobalDomain KeyRepeat -int 0

User Interface

2. Disable opening and closing window animations.

defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

3. Disable the animations for opening Quick Look windows.

defaults write -g QLPanelAnimationDuration -float 0

4. Increase window resize speed for Cocoa applications.

defaults write NSGlobalDomain NSWindowResizeTime -float 0.001

5. Disable window animations and Get Info animations in the Finder.

defaults write DisableAllAnimations -bool true

6. Don’t animate opening applications from the Dock.

defaults write launchanim -bool false

7. Speed up Mission Control animations.

defaults write expose-animation-duration -float 0.1

8. Remove the Dock auto-hide delay.

defaults write autohide-delay -float 0

Apple Email

9. Disable send and reply animations in

defaults write DisableReplyAnimations -bool true
defaults write DisableSendAnimations -bool true


10. Reduce the render delay inside the Safari browser.

defaults write WebKitInitialTimedLayoutDelay 0.25

All done? Great! Now all you need to do is close the Terminal app, log off, and then log back in. After that you should notice a noticeably snappier operating system.


Did you find this post useful? Is there something you'd like me to write about? Please feel free to email me, comment here, or look me up on Telegram (@pmullins) and let me know!

ShareShare Turning OS X 10.11 El Capitan into a Speed Deamon
LikeTurning OS X 10.11 El Capitan into a Speed DeamonCommentShareShare Turning OS X 10.11 El Capitan into a Speed Deamon
Report this
Tagged in:os x
FollowPatrick Mullins
Patrick Mullins
Patrick Mullins
Application Architect at IBM
6 posts

Leave your thoughts here…


Vishal Chaudhary
Senior Executive Online Marketing
Hi Patrick Mullins Hope you are well. What other Mac software do you like to review? I myself have Stellar Phoenix Mac data recovery software V7.0 with me. Its immensely useful in recovering deleted data. Let me know if you want to try and review it here… See more

Vishal Chaudhary
Senior Executive Online Marketing
Thanks Patrick Mullins. Let me know you email id so that I can contact you with activation code of the mentioned software. Mine mail id is vishal.chaudhary[AT]stellarinfo[DOT]com. Thanks.....

Patrick Mullins
Application Architect at IBM
Vishal, I would love the opportunity to review the Mac version of Stellar Phoenix v7.0! Please let me know if this offer still stands. Thanks!

Patrick Infante, Sr.
Owner, AAMCO Total Car Care
I tried to the two default settings for apple mail, but they don't seem to have any effect.

Patrick Mullins
Application Architect at IBM
I'll check those two out and see what's going on. Thanks for letting me know!
There are 4 other comments. Show more.
Don't miss more posts by Patrick Mullins

Installing macOS 10.12 via USB
Patrick Mullins on LinkedIn

.NET Projects on Linux and macOS
Patrick Mullins on LinkedIn

Firefox Tweaks: Use Memory for Cache
Patrick Mullins on LinkedIn
Looking for more of the latest headlines on LinkedIn?

Discover more stories
Help Center About
CareersAdvertisingTalent SolutionsSales SolutionsSmall BusinessMobileLanguage
Upgrade Your Account LinkedIn Corporation © 2016
User AgreementPrivacy PolicyAd ChoicesCommunity GuidelinesCookie PolicyCopyright PolicySend Feedback

Add a comment...

Kaiyin Zhong

Shared publicly  - 
# remove, uninstall kontakt 5

sudo rm -rf "/Library/Audio/Plug-Ins/Components/Kontakt\ 5.component"
sudo rm -rf "/Library/Audio/Plug-Ins/VST/Kontakt\ 5"
sudo rm -rf "/Library/Audio/Plug-Ins/VST/Kontakt\ 5*.vst"
sudo rm -rf "/Library/Application\ Support/Digidesign/Plug-Ins/Kontakt\ 5.dpm"
sudo rm -rf "/Library/Application\ Support/avid/Audio/Plug-Ins/Kontakt\ 5.aaxplugin/"
sudo rm -rf "/Library/Application\ Support/Native\ Instruments"
sudo rm -rf "/Applications/Native\ Instruments/"

Sometimes it is necessary to uninstall and reinstall your Native Instruments software as a solution for technical issues. The list below includes all files and folders created on your system after installing any of our products.

However, depending on the product and product version you are using, some of these files / folders will not exist. In order to uninstall your NI application manually, remove the following files and folder from your system:

Macintosh HD > Applications > Native Instruments > Product Name (folder)
Macintosh HD > Library > Preferences > com.native-instruments.Product Name.plist
Macintosh HD > Library > Audio > Plug-ins > Components > Product Name.component
Macintosh HD > Library > Audio > Plug-ins > VST > Product Name.vst
Macintosh HD > Library > Application Support > Digidesign > Plug-ins > Product Name.dpm
Macintosh HD > Library > Application Support > Avid > Audio > Plug-ins > Product Name.aaxplugin
Macintosh HD > Library > Application Support > Native Instruments > Product Name (folder)
Macintosh HD > Library > Application Support > Native Instruments > Service Center > Product Name.xml
Macintosh HD > Users > Your User Name > Library > Preferences > com.native-instruments.Product Name.plist
Macintosh HD > Users > Your User Name > Library > Application Support > Native Instruments > Product Name (folder)
 ·  Translate
Add a comment...

Kaiyin Zhong

Shared publicly  - 
you could install Xamarin Studio without Android SDK. But only if you don't use the universal installer.

You have to go to:

choose "Show all Versions" and then "Xamarin Studio", Klick the "OS X" button and use Product Versions "x.x.x Latest version". This ist an installer that only includes the Xamarin Studio. After installing and starting the Studio, it askes you to installs Mono, what is neccessary for Xamarin Studio, but this is all (no Android SDK). You can then install the SDK's you want if you need them.

If you choose "Universal Installer" "Download (Recommended)", you get the installer with the Android SDK.


Menu. Products · Xamarin Platform C# on iOS, Android, Mac & Windows · Xamarin Test Cloud Find bugs before your users do · Xamarin Insights Improve your apps with real-time monitoring · Xamarin University Unlimited, live mobile development training.
Add a comment...

Kaiyin Zhong

Shared publicly  - 
String/orchestra sound libraries.

Copied this from another forum - But maybe check out session strings from NI

DISCLAIMER : To run all this stuff, you will need a monster computer (or two). DISCLAIMER 2 : Prices are off the top of my head, but are accurate give or take 10% I think.
You will find 4 demos at the end so you can hear what all this stuff is capable of.

- ProjectSAM Symphobia 1 and 2 $2,500 –
Simply the best ‘general’ orchestral library out there. Needs to be complimented with other libraries, but for the ‘phat’ sound, this can’t be beat.

- ProjectSAM Orchestral Brass Classic $400 –
Still after many years, the best brass library on the market.

- Cinesamples Hollywoodwinds $300 –
The best woodwind library on the market – particularly for orchestration purposes.

- Vienna Symphonic Library – $it depends – Solo Woodwinds –
The best for more intimate writing with wind instruments.

Audiobro LA Scoring Strings – $1,100 –
Amazing library for intimate string sounds, but requires a lot of knowledge to get it sounding good.

- Eastwest Orchestra (Percussion only) $999 –
Eastwest’s orchestra sounds are horribly dated. Only the percussion is any good. (Hollywood Strings is a new addition, but it’s too big, and too bloated for my tastes)

- Tonehammer Requiem $500 –
This choir library is incredible. Sounds blockbuster quality.

- Spectrasonics Stylus RMX $300 –
Essential loop-based plugin for percussion. Incredible sound quality and great FX engine.

- Native Instruments Komplete 7 $550 ($250 for upgrade) –
If you haven’t got Komplete before, than Komplete 7 is an essential purchase, so much great content. If you have Komplete 6 and are considering upgrading, it’s not worth the upgrade price.

- Spectrasonics Omnisphere / Trillian $800 together –

Omnisphere is a very powerful but slightly bloated synth with incredibly unique sounds. Trillian is the best bass library on the market.


Tonehammer –
All of Tonehammer’s libraries are phenomenal, particularly the epic percussion set. Well programmed, easy to use. Note: They require Kontakt. I own all of Tonehammer’s libraries (I am a big fanboy…) – I have never ever been disappointed.

Nine Volt Audio –
Great loop libaraies for use in Stylus RMX . They also supply REX files, so can work in any seqeuncer. They have saved me many times on projects with tight deadlines.

Camel Audio –
Makers of the unbelievable synth Alchemy, which comes with a ton of cheap expansions. I love this synth.

Samplelogic –
Makers of Morphestra, Cinematic Guitars, and the amazing Ambience Impacts
Rhythms. Great for people who want cutting edge sounds in their products.

Evolve –
AMAZING sound quality from these guys. If the sounds weren’t so niche, I’d regard them as essential for any composer.

Eastwest –
I own all the Eastwest libraries, here is a quick review.
Silk – amazing. RA – dated. Gypsy – phenomenal solo violin sound, great accordions, great cimbalon, average everything else. The Dark Side – amazing, but very genre-specific. Fab Four – overpriced. Voices Of Passion – overpriced. SD2 – amazing. Pianos – UNBELIEVABLE
Add a comment...
Bragging rights
Freedom is earned, not given. Fight for it!
Basic Information