Verify Permissions
diskutil verifyPermissions /
Repair Permissions
diskutil repairPermissions /
| #!/bin/sh | |
| # | |
| # ghost - this script starts the ghost blogging package | |
| # | |
| # chkconfig: - 95 20 | |
| # description: ghost is a blogging platform built using javascript \ | |
| # and running on nodejs | |
| # | |
| # Source function library. |
| 1. `vim /etc/syslog.conf` | |
| 2. Add to end of file: `cron.* /var/log/cron.log` | |
| 3. | |
| ``` | |
| sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist | |
| sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist | |
| ``` | |
| [where-is-the-cron-log-file-in-macosx-lion](http://apple.stackexchange.com/questions/38861/where-is-the-cron-log-file-in-macosx-lion) |
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
| #!/usr/bin/env bash | |
| # SOURCE: https://eligiblestore.com/blog/2017/05/02/how-to-install-mosh-on-centos/ | |
| # ensure running as root | |
| if [[ "$(id -u)" != "0" ]]; then | |
| exec sudo "$0" "$@" | |
| fi | |
| # install mosh | |
| yum install -y epel-release |
Generally, the Git proxy configuration depends on the Git Server Protocol you use. And there're two common protocols: SSH and HTTP/HTTPS. Both require a proxy setup already. In the following, I assume a SOCKS5 proxy set up on localhost:1080. But it can also be a HTTP proxy. I'll talk about how to set up a SOCKS5 proxy later.
When you do git clone ssh://[user@]server/project.git or git clone [user@]server:project.git, you're using the SSH protocol. You need to configurate your SSH client to use a proxy. Add the following to your SSH config file, say ~/.ssh/config:
ProxyCommand nc -x localhost:1080 %h %p