代码改变世界

npm ERR! Failed at the bufferutil@1.3.0 install script 问题解决方法

2021-06-09 10:17 by Tanwheey, 1214 阅读, 0 推荐, 收藏, 编辑
摘要:报错: npm ERR! Failed at the bufferutil@1.3.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging outpu 阅读全文

git本地仓库和远程仓库关联

2021-06-09 10:01 by Tanwheey, 3374 阅读, 0 推荐, 收藏, 编辑
摘要:1、创建远程仓库 2、初始化本地仓库git init git add . git commit -m "desc" 3、关联远程仓库 git remote add origin https://github.com/fatedier/frp.git 4、第一次先拉取远程库中的README.md和.g 阅读全文

gitbook mermaid不能渲染问题

2021-06-08 15:47 by Tanwheey, 708 阅读, 0 推荐, 收藏, 编辑
摘要:本地搭建了gitbook,但是报错 Error: Cannot find module 'prismjs/components/prism-mermaid.js' 在启动的gitbook文件夹中编写book.js安装mermaid插件, 添加:"plugins": ["mermaid-gb3"] 执 阅读全文

adb命令启动app及查找系统版本号

2021-06-07 13:20 by Tanwheey, 1623 阅读, 0 推荐, 收藏, 编辑
摘要:以查找com.web.app为例。 获取应用的包名/activity名称: 1)打开应用 2)输入命令adb shell dumpsys activity activities affinity=com.web.app intent={act=android.intent.action.MAIN c 阅读全文

git库使用

2021-06-03 16:08 by Tanwheey, 30 阅读, 0 推荐, 收藏, 编辑
摘要:代码提交之后发起merge request 阅读全文

excle转html方法

2021-06-03 16:04 by Tanwheey, 196 阅读, 0 推荐, 收藏, 编辑
摘要:1、excle软件中选择文件,点击文件->另存为...->编写好文件名称后,文件格式选择:网页(.htm)。 2、使用浏览器打开这个网页文件,调出控制台,进入Elements,选择表格html代码,copy即可。 阅读全文

gitbook插入视频

2021-06-03 15:58 by Tanwheey, 874 阅读, 0 推荐, 收藏, 编辑
摘要:Video Player for GitBook要求: gitbook >=2.0.0 安装 在book.json中添加,具体位置:/yourPath/.gitbook/versions/yourVersion/ 添加: { "plugins": ['video-player'] } 然后执行 gi 阅读全文

xcode使用技巧

2021-05-28 11:29 by Tanwheey, 324 阅读, 0 推荐, 收藏, 编辑
摘要:1、低版本xcode支持高版本iphone: 方法:copy高版本xcode支持的iphone版本到低版本xcode对应文件夹中。 打开< Xcode.app>,进入/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platf 阅读全文

在 Mac 上的“自动操作”工作流程中使用 Shell 脚本操作

2021-05-27 10:22 by Tanwheey, 1281 阅读, 0 推荐, 收藏, 编辑
摘要:通过在工作流程内使用 Shell 命令在 Mac 上扩展“自动操作”的功能。例如,同时依次运行多个 bash shell 命令来执行复杂的任务,然后将结果传递到窗口。 操作如下: 程序坞中搜索“自动操作”应用,并双击进入。 在搜索栏中键入“运行 Shell 脚本”,然后选择搜索结果中的“运行 She 阅读全文

centos7 系统启动自动执行shell脚本

2021-05-27 09:58 by Tanwheey, 1451 阅读, 0 推荐, 收藏, 编辑
摘要:一、创建启动脚本 $cd {your path} 内容参考: # cd /root/clouddevice# touch start.sh# vi start.sh start.sh内容参考: #!/bin/bash echo '准备启动 frp...' cd /root/clouddevice/f 阅读全文
上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页