<key>ProgramArguments</key>
<array>
<string>/Users/jiangxuan/loveTech/gfw-microservices/src/plist/script.sh</string>
</array>
这里的片段指定了 我们要执行的脚本
read -e IMAGE; | |
defaults write com.apple.desktop Background "{default = {ImageFilePath='$IMAGE'; };}" | |
killall Dock |
#提取壁纸图片URL | |
url=$(expr "$(curl http://cn.bing.com/?mkt=zh-CN |grep g_img)" : ".*g_img={url: \"\(.*\)\",id.*") | |
#去除url中的斜杠“\” | |
url="http://cn.bing.com${url//\\/}" | |
#提取图片名称 | |
filename=$(expr "$url" : ".*/\(.*\)") | |
#本地图片地址-当前用户下缺省图片目录 | |
localpath="/Users/$USER/Pictures/$filename" | |
#下载图片至本地 | |
curl -o $localpath $url |
我的淘宝里面的我的日历的下拉框的箭头作为实例
TODO
https://support.mozilla.org/zh-CN/kb/%E5%9B%9E%E7%AD%94%E6%94%AF%E6%8C%81%E9%97%AE%E9%A2%98#w_gkoagean 页面最下方 这篇文章对您有帮助吗 也是一个箭头实例
https://zh.wikipedia.org/wiki/Wikipedia:%E9%A6%96%E9%A1%B5 内联词条的引导框的箭头
homeButton: { | |
name: '首页', | |
url: 'http://xxxx', | |
icon: 'home', | |
key: 'home', | |
active: false | |
}, | |
helpCenter: { | |
helpCenterUrl: '' // 帮助中心的链接 | |
}, |
# 安装源 | |
yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm | |
# 更新 或者是 install git | |
yum update git |
First, we'll install a program to expose our local host to the Internet. We'll use ngrok to do this. ngrok is a free download available for all major operating systems.
When you're done with that, you can expose your localhost by running ./ngrok http 4567 on the command line. You should see a line that looks something like this:
Forwarding http://7e9ea9dc.ngrok.io -> 127.0.0.1:4567