上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页
摘要: 先执行test1(),再执行test2: function test1() { return new Promise(resolve => { setTimeout(() => resolve("test1"), 2000); }); } function test2() { console.log 阅读全文
posted @ 2022-05-31 17:19 船长博客 阅读(1596) 评论(0) 推荐(0) 编辑
摘要: 1. 登陆管理后台-外观-主题选项 2. SEO设置 3. 找到编辑页脚第二行信息-点击a56爆大奖在线娱乐,输入以下信息,备案号改成自己的。 <a href="http://www.beian.miit.gov.cn/" rel="external nofollow" target="_blank">京ICP备1 阅读全文
posted @ 2022-05-23 20:37 船长博客 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1. 通过post方法请求 curl -d 'type=0?enable=1' "http://127.0.0.1/api/test" 传递json: curl -H "Content-Type: application/json" -X POST -d '{"type":0, "enable":" 阅读全文
posted @ 2022-05-02 09:41 船长博客 阅读(8198) 评论(0) 推荐(0) 编辑
摘要: 查找test目录及其子目录下的.ipynb_checkpoints文件或文件夹并删除 find test -name ".ipynb_checkpoints" -exec rm -rf '{}' \; 阅读全文
posted @ 2022-04-27 14:51 船长博客 阅读(1756) 评论(0) 推荐(0) 编辑
摘要: Json字符串: curl -s http://ip-api.com/json/ {"status":"success","country":"Hong Kong","countryCode":"HK","region":"HCW","regionName":"Central and Western 阅读全文
posted @ 2022-04-25 17:34 船长博客 阅读(1904) 评论(0) 推荐(1) 编辑
摘要: #include<stdio.h> int main() { printf("Hello World!\n"); } Ubuntu 环境:sudo apt updatesudo apt install build-essentialgcc hello.c -o hello./helloHello W 阅读全文
posted @ 2022-04-22 14:30 船长博客 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1.说明:<config> 指配置文件名,如dhcp,firewall,fstab等 uci set <config>.<section>=<section-type> 增加一个节点到文件中 uci set <config>.<section>.<option>=<value> 增加一个选项和值到节 阅读全文
posted @ 2022-04-21 19:53 船长博客 阅读(1276) 评论(0) 推荐(0) 编辑
摘要: /etc/nginx/sites-available/default location中添加autoindex_localtime on; server { listen 80 default_server; root /var/www/; # Add index.php to the list i 阅读全文
posted @ 2022-04-01 10:22 船长博客 阅读(2877) 评论(0) 推荐(0) 编辑
摘要: 1. 当前登陆生效: jenkins -> 系统管理 -> 脚本命令行:System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Shanghai') 2. 日程表里这样写 TZ=Asia/Shanghai 0 10 阅读全文
posted @ 2022-03-30 11:02 船长博客 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1. Linux上的Docker CE仍然是免费的 https://forums.docker.com/t/license-to-use-docker-community-edition/114840/3 WSL的情况: 2. a56爆大奖在线娱乐是否需要付费才能继续使用 Docker Desktop? https: 阅读全文
posted @ 2022-03-24 16:35 船长博客 阅读(982) 评论(0) 推荐(0) 编辑
摘要: python -m SimpleHTTPServer 8080 python -m Web服务器模块 [端口号,默认8000] “Web服务器模块”有如下三种:BaseHTTPServer: 提供基本的Web服务和处理器类,分别是HTTPServer和BaseHTTPRequestHandler。S 阅读全文
posted @ 2022-03-23 15:07 船长博客 阅读(2403) 评论(0) 推荐(0) 编辑
摘要: 1. PUTTY 支持SSH, Telnet, Serial串口 https://files.cnblogs.com/files/v5captain/putty.zip https://the.earth.li/~sgtatham/putty/0.77/w64/putty.exe 2. HFS - 阅读全文
posted @ 2022-03-22 10:50 船长博客 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 服务器端监听9995端口: nc -l 9995 客户端连接: 服务器IP是192.168.1.10没有安装的nc命令的可以使用telnet命令: nc 192.168.1.10 9995或telnet 192.168.1.10 9995 #telnet可以验证端口没有开放,不能进行双向通信 nc通 阅读全文
posted @ 2022-03-10 12:05 船长博客 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 循环显示格言,效果见本博客页面拉到最底部。 <!-- 循环展示 --> <div align="center"> <span id="ewan">永远相信美好的事情即将发生!</span> <script type="text/javascript"> const arr = [ '只要人人都能献出 阅读全文
posted @ 2022-03-05 12:49 船长博客 阅读(290) 评论(0) 推荐(0) 编辑
摘要: https://www.test-ipv6.com/ https://ipv6-test.com/ https://ipw.cn/ipv6ping/ IPV6网站:http://ipv6.ustb.edu.cn 阅读全文
posted @ 2022-02-22 16:34 船长博客 阅读(14062) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页
永远相信美好的事情即将发生!