fix remote clipboard, do git clone over https in web_start.

This commit is contained in:
Ivan Malison 2014-10-09 22:44:02 -07:00
parent 5cdb6402a6
commit f35ff45bf6
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
REMOTE_CLIPBOARD_PORT='1234'
alias rc_ssh="ssh -R ${REMOTE_CLIPBOARD_PORT}:localhost:1234"
alias rc_ssh="ssh -R 1234:localhost:1234"
function remote_clipboard_server() {
while [ 1 ]
do
netcat -l -p ${1-$REMOTE_CLIPBOARD_PORT} -e "pbcopy"
ncat -l -p ${1-$REMOTE_CLIPBOARD_PORT} -e "pbcopy"
done
}
@ -18,7 +18,7 @@ function _linux_nc_paste_to_remote_clipboard() {
}
function _osx_nc_paste_to_remote_clipboard() {
nc localhost ${1-$REMOTE_CLIPBOARD_PORT} -D
nc localhost ${1-$REMOTE_CLIPBOARD_PORT}
}
function remote_os_copy() {

View File

@ -26,7 +26,7 @@ function osx() {
}
function go() {
git clone git@github.com:IvanMalison/dotfiles.git
git clone https://github.com/IvanMalison/dotfiles.git
cd dotfiles
./setup.sh -e
}