Git提交空文件夹的技巧 原理是在每个空文件夹新建一个.gitignore文件,然后提交。find . -type d -empty -exec touch {}/.gitig 待整理 2022年06月04日 0 点赞 0 评论 835 浏览
linux bash shell:最方便的字符串大小写转换(lowercase/uppercase conversion) 关于字符串大小写转换,是写 linux 脚本经常干的事儿,所以总想找个方便的方法让我少打点字儿,搜索国内的中文资源,网上也能找到很多关于这个帖子,介绍的方法都差不多,用typeset是最简单的方法了,但我觉得还是不够简单,因为需要多定义一个变量。 待整理 2022年06月04日 0 点赞 0 评论 811 浏览
requirejs Clipboard not defined In case if anyone's still struggling to make it work with requirejs, here's how it's done: 待整理 2022年06月04日 0 点赞 0 评论 802 浏览
dcloud 基于 web 封装APP window.location="http://www.baidu.com"; document.addEventListener('plusready', function(){ //console.log("所有plus api都应该在此事件发生后调用,否则会出现plus is undefined。" 待整理 2022年06月04日 0 点赞 0 评论 787 浏览
could not find gradle wrapper within android sdk Error: spawn EACCES ionic weex cordova 将 `Android Studio.app/Contents/plugins/android/lib/templates` 复制到 `~/Library/Android/sdk/tools` 并赋予 `~/Library/Android/sdk/tools/templates/gradle/wrapper/gradlew` 可执行权限。 待整理 2022年06月04日 1 点赞 0 评论 782 浏览
ffmpeg单个转换 基于目录抽取所有视频音频 转换所有视频 无损 ffmpeg-convert.sh ```bash#!/usr/bin/env bash url=$1 name=$2 if [ -n "$url" ]; then ffmpeg -i "$url" -c:v copy -c:a copy -bsf:a aac_adtstoasc "${name}.mp4" fi``` 待整理 2022年06月04日 0 点赞 0 评论 779 浏览
GKUI19 工程模式代码获取方法 通过wifi adb 查找查找工程模式代码。 已经可以wifi adb 再找工程模式代码并没有什么意义。谁叫程序员有好奇心呢 待整理 2022年06月04日 0 点赞 0 评论 779 浏览