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

copy your ssh public key using cat

Generate new ssh key ssh-keygen -t rsa -C “bernhard.hensle@timetoact.ch” add private key to keychain ssh-add -K ~/.ssh/bhensler_id_rsa copy ssh key cat ~/.ssh/bhensler_id_rsa.pub | ssh bhr@media.hensler.net “cat >> ~/.ssh/authorized_keys”  

Read More