会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
晴云孤魂's Blog
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
2021年10月19日
Linux Bash/Shell调用ffmpeg转换wmv视频文件为mp4文件,Cygwin测试可用
摘要: 首先确保你的电脑系统(PC或Linux服务器均可,Windows下用Cygwin测试通过)正确安装和配置ffmpeg ffmpeg默认使用的参数为:-c:v libx264 -crf 23 -c:a aac -q:a 100 简单用法:wmv2mp4 1.wmv 2.mp4 参考资料:https:/
阅读全文
posted @ 2021-10-19 02:45 晴云孤魂
阅读(482)
评论(0)
推荐(0)
2021年8月2日
Shell脚本:debian-speedtest-install,Cygwin自动为Debian/Ubuntu系统安装ookla speedtest测速程序
摘要: #!/bin/bash # Source From: blog.hackkey.net/archives/shell-for-speedtest-install SCRIPTPATH=$(realpath $0) #SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/
阅读全文
posted @ 2021-08-02 02:56 晴云孤魂
阅读(394)
评论(0)
推荐(0)
Linux bash/Shell获取CCTV6电影频道节目单
摘要: #!/bin/bash #查询CCTV6节目表 <<'COMMENT' API: https://api.cntv.cn/epg/epginfo?serviceId=tvcctv&c=cctv6&d=20210707&cb=abccctv5&t=jsonp https://api.cntv.cn/e
阅读全文
posted @ 2021-08-02 02:48 晴云孤魂
阅读(280)
评论(0)
推荐(0)
2021年7月16日
VBS检查Cygwin安装器setup-x86_64.exe是否有更新
摘要: 'CreateObject("Shell.Application").ShellExecute "http://www.cygwin.com/setup-x86_64.exe" Dim Etag,ExeUrl ExeUrl="http://www.cygwin.com/setup-x86_64.ex
阅读全文
posted @ 2021-07-16 13:23 晴云孤魂
阅读(86)
评论(0)
推荐(0)
2021年7月10日
Cygwin安装器交互式bat自动调用脚本
摘要: @echo off set "PATH=%~dp0bin;%path%" echo. echo 当前配置 echo. bash --login -c "echo mirror=`apt-cyg mirror`;echo cache=`apt-cyg cache`;echo;apt-cyg proxy
阅读全文
posted @ 2021-07-10 20:45 晴云孤魂
阅读(239)
评论(0)
推荐(0)
Bash/Shell查询光猫运行状态(光纤光衰,运行温度等...)
摘要: #!/bin/bash #查询光猫状态:光纤光衰值等... #匹配型号:友华 PT926G modemType="友华 PT926G" trap "rm -f $cookieFile" 0 curl -s 'http://192.168.1.1:8080/boaform/admin/formLogi
阅读全文
posted @ 2021-07-10 20:24 晴云孤魂
阅读(1505)
评论(0)
推荐(0)
Linux Bash/Shell获取MongoDB官网软件包下载链接
摘要: #!/bin/bash # 获取 MongoDB 官网各平台软件下载地址: # Require cURL command and jq command installed # 可携带参数: $1 目标版本号,$2 目标平台名称 (二者均可省略,默认获取最新版本Windows下载链接) jsonDat
阅读全文
posted @ 2021-07-10 16:19 晴云孤魂
阅读(108)
评论(0)
推荐(0)
2021年6月19日
Linux Bash/Shell查询多个时区的世界时
摘要: #!/bin/sh # Code From:https://stackoverflow.com/questions/370075/command-line-world-clock # More Clock:https://www.timeanddate.com/worldclock/ # # 使用举
阅读全文
posted @ 2021-06-19 17:27 晴云孤魂
阅读(263)
评论(0)
推荐(0)
Linux查询SSH到期主机Shell/Bash版
摘要: #!/bin/bash #查看所有主机的到期时间,按到期时间顺序排列 echo -e " 查询所有主机到期时间,按日期顺序排列" echo -e " 参数一可附加参数 (month/m) 查看当月到期主机详情;" echo -e " 参数一可附加参数 (next/n) 查看下月到期主机详情;" ec
阅读全文
posted @ 2021-06-19 17:21 晴云孤魂
阅读(144)
评论(0)
推荐(0)
2021年6月18日
Linux Bash/Shell获取爱快路由器WAN拨号时间和在线时长
摘要: 家用宽带每隔一段时间会自动重播更换IP,对于经常需要确认外网IP变动或宽带重拨时间来进行一些自动化任务的朋友来说,确认宽带拨号时间很有用,以下Bash脚本实现不用登陆爱快路由器后台即可查看宽带在线时长和下次重拨时间: #!/bin/bash #查询爱快路由器WAN接口拨号联网时间 #1.替换IP地址
阅读全文
posted @ 2021-06-18 03:58 晴云孤魂
阅读(964)
评论(0)
推荐(0)
Linux Shell获取CCTV5节目单
摘要: #!/bin/bash #查询CCTV5节目表 <<'COMMENT' API: https://api.cntv.cn/epg/epginfo?serviceId=tvcctv&c=cctv5&d=20210617&cb=abccctv5&t=jsonp https://api.cntv.cn/e
阅读全文
posted @ 2021-06-18 03:51 晴云孤魂
阅读(321)
评论(0)
推荐(0)
2021年5月29日
Cygwin自用脚本programs,列出自己定义的函数(主要用于快速运行Windows程序)和alias别名,并实现简单查找
摘要: #!/bin/bash #查询在/v/bin/aliaswinapp中已经定义的Win程序快捷方式 . /v/bin/aliaswinapp programs=$(declare -F|awk "{print \$NF}"|grep -vE "^_") #echo "programs: $progr
阅读全文
posted @ 2021-05-29 13:45 晴云孤魂
阅读(69)
评论(0)
推荐(0)
sshfindip Python版本,通过IP查找~/.ssh/config 主机配置项
摘要: #!/usr/bin/env python3 # -*- coding: utf-8 -*- #根据主机ip查找openSSH配置文件~/.ssh/config对应主机配置项 #自用sshfindip命令python实现版本 #原始sshfindip为shell脚本实现,参看:/v/bin/sshf
阅读全文
posted @ 2021-05-29 13:43 晴云孤魂
阅读(120)
评论(0)
推荐(0)
ssh-expire-time.py:查找~/.ssh/config配置文件,排列主机过期信息Python实现
摘要: #!/usr/bin/env python3 # -*- coding: utf-8 -*- #列出~/.ssh/config主机到期时间 #自用ssh-expire-time命令python实现版本 #原始ssh-expire-time为shell脚本实现,参看:/v/bin/ssh-expire
阅读全文
posted @ 2021-05-29 13:40 晴云孤魂
阅读(69)
评论(0)
推荐(0)
CiteSpace国内镜像下载
摘要: http://repo.waibc.com/CiteSpace/5.7.R5W.7z 官方来源: https://sourceforge.net/projects/citespace/
阅读全文
posted @ 2021-05-29 13:35 晴云孤魂
阅读(1037)
评论(0)
推荐(0)
上一页
1
2
3
4
公告