Swift调用AppleScript脚本和Shell脚本
当想让自己的app支持播放,但有没有足够的时间来开发自己的播放器,可以先考虑用mpv播放器来实现相关功能,这是AppleScript作为互通的桥梁。
当想让自己的app支持播放,但有没有足够的时间来开发自己的播放器,可以先考虑用mpv播放器来实现相关功能,这是AppleScript作为互通的桥梁。
{% github it-boyer width = 30% %}
使用pngquant批量压缩png
vi compresspng.py
|
|
用法
{% github rickytan RTImageAssets cf0a641 width = 30% %}
https://github.com/rickytan/RTImageAssets iOS开发工具:自动生成@2x,@3x图片
{% gist 816b7ef296219d14edac %} 通过原始1024X1024图片来生成各种iphone ios icon,包含Content.json
This plugin supports working with GitHub from the command line. It provides a few things:
hub
wrapper and completions for the git
command if you have hub
installed.github
Ruby gem.empty_gh
- Creates a new empty repo (with a README.md
) and pushes it to GitHubnew_gh
- Initializes an existing directory as a repo and pushes it to GitHubexist_gh
- Takes an existing repo and pushes it to GitHubgit.io
- Shortens a URL using git.io大家是否有过这样的经历,在命令行里输入adb shell,然后使用命令操作你的手机或模拟器,但是那些命令都是常见Linux命令的阉割缩水版,用起来很不爽。是否想过在Android上使用较完整的shell呢?用BusyBox吧。不论使用adb连接设备使用命令行还是在手机上直接用terminal emulator都可以。
Arm处理器,因为其低功耗和小尺寸而闻名,几乎所有的手机处理器都基于arm,其在嵌入式系统中的应用非常广泛,它的性能在同等功耗产品中也很出色。
npm 与 package.json 快速入门教程 每个项目的根目录下一般都有一个package.json文件,定义项目所需要的各种模块,以及项目的配置信息。npm install则是根据这个配置文件,自动下载所需要的模块,也就是配置项目所需的运行和开发环境。 package.json文件可以手工编写,也可以用npm init命令自动生成,除了项目名称和项目版本是必填的,其他都是选填的。
{% github openwrt openwrt 759f111 width = 30% %} openwrt.io 小米路由器固件信息
路由器read-only file system怎么改权限
|
|
|
|
vim /etc/opkg.conf
|
|
|
|
注:如果下载失败,请确认是否是http而非https。另外如果链接失效可能是更新了包,可以到https://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/base/搜索libc_找到最新下载地址。