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 评论 790 浏览
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 评论 804 浏览
linux bash shell:最方便的字符串大小写转换(lowercase/uppercase conversion) 关于字符串大小写转换,是写 linux 脚本经常干的事儿,所以总想找个方便的方法让我少打点字儿,搜索国内的中文资源,网上也能找到很多关于这个帖子,介绍的方法都差不多,用typeset是最简单的方法了,但我觉得还是不够简单,因为需要多定义一个变量。 待整理 2022年06月04日 0 点赞 0 评论 816 浏览
Git提交空文件夹的技巧 原理是在每个空文件夹新建一个.gitignore文件,然后提交。find . -type d -empty -exec touch {}/.gitig 待整理 2022年06月04日 0 点赞 0 评论 836 浏览
Install PHP 5.5 via Homebrew If you're a little annoyed that Homebrew removed homebrew/php and need to run PHP 5.5 for legacy reasons, or whatever, this tap can help you! 待整理 2022年06月04日 0 点赞 0 评论 857 浏览