方法一: 源码安装 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 YASM_VERSION=1.3.0; pwd=`pwd`; cd $pwd; git clone https://code.videolan.org/videolan/x264.git; cd x264; ./configure --enable-shared --enable-static --disable-asm && make && make install; echo '/usr/local/lib' >> /etc/ld.so.conf; ldconfig; cd $pwd; wget http://www.tortall.net/projects/yasm/releases/yasm-$YASM_VERSION.tar.gz;
Launch Automator Create New Document Create a new Quick Action Select “Quick Action” Add the Action… Workflow receives current files and folders from Finder. Add a new Run Shell Script action to the workflow. (drag the “Run Shell Script” object, highlighted in the screenshot, to the empty window on the right) Configure the Workflow Set the Pass Input to be as arguments Paste the following in the input box: 1
找路由器型号的固件 (newifi d2: MediaTek MT7621AT) 刷breed (https://breed.hackpascal.net/) 刷官方openwrt (https://openwrt.org/toh/hwdata/d-team/d-team_newifi_d2) 为了后面方便使用 , 我直接保存一份我用的文件 (我用的是自定义固件,不是上面那个官
方案1 (直接本地安装) 1 2 3 4 5 6 7 8 9 10 # pip install -U robotframework pip install -U -r https://raw.githubusercontent.com/robotframework/RIDE/master/requirements.txt pip install -U robotframework-ride mkdir project; cd project; pipenv --three pipenv install robotframework-ride robotframework-ride 方案2 (docker方案 , 容器运行ride.py +
每日备份docker部署的gitlab服务的最简单的方案 , 简单直接 gitlab的服务器每日执行下备份 另一台服务器每日从gitlab服务器rs
保留最新n个文件的bash脚本 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 #!/bin/sh usage() { echo "Usage: $0dir" echo "Usage: $0dir save_number" echo "Usage: $0dir save_number keyword" exit 1 } if [ $# -lt 1