Error while executing .plist file Path had bad ownership/permissions

Try changing the ownership of the .plist file: sudo chown root /Library/LaunchDaemons/myfile.plist sudo chgrp wheel /Library/LaunchDaemons/myfile.plist or more simply, change the user and group in one command: sudo chown root:wheel /Library/LaunchDaemons/myfile.plist It is also worth noting that these root LaunchDaemons can’t be world writable, for security reasons: sudo chmod o-w /Library/LaunchDaemons/*

How to find out where alias (in the bash sense) is defined when running Terminal in Mac OS X

For OSX, this 2-step sequence worked well for me, in locating an alias I’d created long ago and couldn’t locate in expected place (~/.zshrc). cweekly:~ $ which la la: aliased to ls -lAh cweekly:~$ grep -r ‘ ls -lAh’ ~ /Users/cweekly//.oh-my-zsh/lib/aliases.zsh:alias la=”ls -lAh” Aha! “Hiding” in ~/.oh-my-zsh/lib/aliases.zsh. I had poked around a bit in .oh-my-zsh … Read more

Change default terminal app in Visual Studio Code on Mac

Here’s an example of how to make another terminal the default for VSCode, in this example I’ve downloaded iTerm2 and copied iTerm2 to Applications. Code (Menu) > Preferences > User Settings Edit settings.json “terminal.external.osxExec”: “iTerm.app” and “terminal.explorerKind”: “external” Open in Terminal iTerm is now default terminal launched from VSCode

Change the number of lines shown in Visual Studio Code’s built-in Terminal

There is a way to change number of lines for that you have to go: file–>preferences–>configuration Then, it will open file settings.json you should to search Integrated terminal and then you search for terminal.integrated.scrollback copy and paste this sentence on your user configuration so like this: Change numbers of line as you want. That is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)