使用jQuery
Continue reading 表格列筛选 字段隐藏显示手机电脑投屏软件推荐
iPhone 投 windows -> 蓝莓投屏 BlueBerry-Airplay
iPhone 投 macOS -> airserver
android 投 macOS -> airserver
android 投 windows -> 幕享 LetsView
新浪微博图片地址反查博主
微博图片地址逆解析博主UID
以下面这张图片为例
https://wx2.sinaimg.cn/large/67228d10gy1gcmdit1dy6j20wy1c1qq1.jpg
图片名 67228d10gy1gcmdit1dy6j20wy1c1qq1.jpg
取前八位 67228d10
67228d10 进行 16 进制与 10 进制转换 结果为 1730317584
UID 即为 1730317584
博主地址即为 https://weibo.com/u/1730317584
CentOS 安装使用 Syncthing
服务器端配置
下载安装
下载地址:https://syncthing.net/downloads/
cd ~
wget https://github.com/syncthing/syncthing/releases/download/v1.3.4/syncthing-linux-amd64-v1.3.4.tar.gz
tar xzvf syncthing-linux* && rm -rf syncthing-linux*.tar.gz
cd syncthing-linux* && cp syncthing /usr/local/bin
启动一次 syncthing 创建配置文件
syncthing
修改配置
sed -i 's/127.0.0.1/0.0.0.0/g' '/root/.config/syncthing/config.xml'
开机启动
在下载文件夹中找到 etc 目录
cd ~
cd etc/linux-systemd/system/
#-rw-r--r-- 1 1004 1004 201 Feb 3 15:01 syncthing-resume.service
#-rw-r--r-- 1 1004 1004 452 Feb 3 15:01 syncthing@.service
cp syncthing@.service /etc/systemd/system/
编辑启动位置
vim /etc/systemd/system/syncthing@.service
设置开启启动
#开机启动
systemctl enable syncthing@root.service
#启动
systemctl start syncthing@root.service
客户端使用
Windows GUI 客户端: SyncTrayzor
MacOS 客户端: syncthing-macos