wordpress macos High Sierra

sudo vim /etc/apache2/httpd.conf ServerName localhost:80 DocumentRoot “/Users/bhr/Sites” <Directory “/Users/bhr/Sites”> Options FollowSymLinks Multiviews MultiviewsMatch Any AllowOverride None Require all granted </Directory> LoadModule php7_module libexec/apache2/libphp7.so LoadModule perl_module libexec/apache2/mod_perl.so LoadModule userdir_module libexec/apache2/mod_userdir.so LoadModule include_module libexec/apache2/mod_include.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so LoadModule socache_shmcb_module libexec/apache2/mod_socache_shmcb.so LoadModule ssl_module libexec/apache2/mod_ssl.so Include /private/etc/apache2/extra/httpd-userdir.conf Include /private/etc/apache2/extra/httpd-vhosts.conf Include /private/etc/apache2/extra/httpd-ssl.conf sudo vim /private/etc/apache2/extra/httpd-userdir.conf Include /private/etc/apache2/users/*.conf […]

Read More

midnight commander

Midnight Commander for Mac OS X vim .bash_profile alias ll=’ls -alp’ alias mc=’. /usr/local/libexec/mc/mc-wrapper.sh’

Read More

VMware Fusion keyboard mapping: macOS <> Windows

VMware Fusion default keyboard profile maps (Swiss German keyboard configured on both macOS and Windows): Numpad Enter = Alt Gr Numpad Enter + < = \ Numpad Enter + 2 = @ Now, if you want to map a network drive using a password with e.g. special case you will fail to ever create a […]

Read More

Clipboard between Mac OS, Centos

Clipboard between Mac OS, Centos 64 7 CentOS yum install epel-release yum install xclip cat somefile.txt | xclip -selection clipboard In Mac OS use preinstalled pbcopy/pbpaste cat /etc/passwd | pbcopy   http://tedhagos.com/linux/clipboard-copy-paste-terminal.html

Read More

mount nfs volumes (OSXFUSE) at startup using launchAgent

sudo vim /Users/bhr/Library/LaunchAgents/com.mmac.useragent.plist <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”> <plist version=”1.0″> <dict>         <key>KeepAlive</key>         <true/>         <key>Label</key>         <string>com.mmac.useragent</string>         <key>Program</key>         <string>/Users/bhr/startUp/bindfs.sh</string>         <key>RunAtLoad</key>         <true/>         <key>StandardErrorPath</key>         <string>/tmp/com.mmac.startup.stderr</string>         <key>StandardOutPath</key>         <string>/tmp/com.mmac.startup.stdout</string> </dict> </plist> sudo vim /Users/bhr/startUp/bindfs.sh #!/bin/bash sudo /usr/local/bin/bindfs -r -g SFTPGroup /Volumes/DATACUBE/Media/Movies/ /chroot/sftp/movies sudo /usr/local/bin/bindfs […]

Read More