当前位置: 首页 > news >正文

php网站栏目 添加和删除电子网站建设实训

php网站栏目 添加和删除,电子网站建设实训,推荐一些做网站网络公司,3000行业关键词之前安装过一次,没问题,这次按照之前教程装了就不管上传下载都会卡住; step1: brew install lrzsz step2:在/usr/local/bin 路径下配置两个sh,之前从网上找到的直接用都不对,下面这个是调试过的正式可用的 iterm2…

之前安装过一次,没问题,这次按照之前教程装了就不管上传下载都会卡住;

step1: 

brew install lrzsz

step2:在/usr/local/bin  路径下配置两个sh,之前从网上找到的直接用都不对,下面这个是调试过的正式可用的

iterm2-recv-zmodem.sh

#!/bin/bash
# Author: Matt Mastracci (matthew@mastracci.com)
# AppleScript from http://stackoverflow.com/questions/4309087/cancel-button-on-osascript-in-a-bash-script
# licensed under cc-wiki with attribution required
# Remainder of script public domainosascript -e 'tell application "iTerm2" to version' > /dev/null 2>&1 && NAME=iTerm2 || NAME=iTerm
if [[ $NAME = "iTerm" ]]; thenFILE=`osascript -e 'tell application "iTerm" to activate' -e 'tell application "iTerm" to set thefile to choose folder with prompt "Choose a folder to place received files in"' -e "do shell script (\"echo \"&(quoted form of POSIX path of thefile as Unicode text)&\"\")"`
elseFILE=`osascript -e 'tell application "iTerm2" to activate' -e 'tell application "iTerm2" to set thefile to choose folder with prompt "Choose a folder to place received files in"' -e "do shell script (\"echo \"&(quoted form of POSIX path of thefile as Unicode text)&\"\")"`
fiif [[ $FILE = "" ]]; thenecho Cancelled.# Send ZModem cancelecho -e \\x18\\x18\\x18\\x18\\x18sleep 1echoecho \# Cancelled transfer
elsecd "$FILE"/usr/local/bin/rz -E -e -bsleep 1echoechoecho \# Sent \-\> $FILE
fi

iterm2-send-zmodem.sh

#!/bin/bash
# Author: Matt Mastracci (matthew@mastracci.com)
# AppleScript from http://stackoverflow.com/questions/4309087/cancel-button-on-osascript-in-a-bash-script
# licensed under cc-wiki with attribution required
# Remainder of script public domainosascript -e 'tell application "iTerm2" to version' > /dev/null 2>&1 && NAME=iTerm2 || NAME=iTerm
if [[ $NAME = "iTerm" ]]; thenFILE=`osascript -e 'tell application "iTerm" to activate' -e 'tell application "iTerm" to set thefile to choose file with prompt "Choose a file to send"' -e "do shell script (\"echo \"&(quoted form of POSIX path of thefile as Unicode text)&\"\")"`
elseFILE=`osascript -e 'tell application "iTerm2" to activate' -e 'tell application "iTerm2" to set thefile to choose file with prompt "Choose a file to send"' -e "do shell script (\"echo \"&(quoted form of POSIX path of thefile as Unicode text)&\"\")"`
fi
if [[ $FILE = "" ]]; thenecho Cancelled.# Send ZModem cancelecho -e \\x18\\x18\\x18\\x18\\x18sleep 1echoecho \# Cancelled transfer
else/usr/local/bin/sz "$FILE" -e -bsleep 1echoecho \# Received $FILE
fi

step3: 建立软连接

sudo ln -s /opt/homebrew/bin/sz /usr/local/bin/sz
sudo ln -s /opt/homebrew/bin/rz /usr/local/bin/rz

step4: 配置

item2-preferences-profiles-advanced-triggers

配置信息:

rz配置参数
rz waiting to receive.\*\*B0100
Run Silent Coprocess
/usr/local/bin/iterm2-send-zmodem.sh
✅
✅sz配置参数\*\*B00000000000000
Run Silent Coprocess
/usr/local/bin/iterm2-recv-zmodem.sh
✅
✅

http://www.yayakq.cn/news/322285/

相关文章:

  • oj网站开发网站模板样式
  • 专业企业网站建设报价asp.net微信网站
  • 郑州网站建设出名吗?公众号开发工具有哪几种
  • 网站建设实战李静wordpress 报表图形
  • 如何创建百度网站wordpress 正在例行维护
  • 网站设计制作的公司青海省网站建设公司
  • 做导购网站用什么样的主机泸州小程序定制开发
  • 网站系统维护一般要多久怎样做淘宝联盟网站
  • 嘉兴网站建设公司电话linux虚机 wordpress
  • 织梦网站 伪静态怎么推广自己的店铺
  • 怎么形容网站做的很好银川哪家网站建设专业
  • 网站及备案用c 做的网站怎么打开吗
  • 如何让百度搜索到自己的网站新闻发布网站模板
  • 企业网站备案容易吗php WordPress开发
  • 建立网站需要哪些步骤网站建设与维护就业前景
  • 石家庄企业建站新人跑业务怎么找客户
  • 美食类网站开发说明书微琅 网站建设
  • 彩票类网站怎么做推广环球网站建设
  • 做网站用什么系统网站底部导航设置
  • 开发高端网站建设价格免费做网站怎么做网站吗2
  • 微站开发网站设计seo
  • 青海小学网站建设专业装饰企业展厅设计公司
  • 湖北智能建站系统价格网站代运营
  • 专门做投标书的网站公司经营范围 网站开发
  • 修邦建设网站wordpress超级编辑器
  • 网站建设好销售吗做个外贸网站多少费用
  • 深圳网站小程序设计开发百度搜不干净的东西
  • 惠州建站平台wordpress外网地址
  • 微信的微网站模板下载创建微信公众号要钱吗
  • 包头市网站建设网址大全123