current status: We have a remote repository and a local project repository with no git configured. We want to push to remote and create new branch. Pr ...
分类:
其他好文 时间:
2021-07-01 16:24:13
阅读次数:
0
最近因为工作需要,仔细研究了一下关于JS下offsetLeft,style.left,以及jquery中的offset().left,css("left")的区别。 JS下的offsetLeft和style.left,以及jquery的css("left"),对定位的理解相似,如果父元素中有定位元素 ...
分类:
Web程序 时间:
2021-06-30 18:44:56
阅读次数:
0
function captureImage () { var scale = 0.25; var txt = document.querySelector('div p .external'); video = document.querySelector("video"); var canvas ...
分类:
其他好文 时间:
2021-06-30 18:39:11
阅读次数:
0
一、配置软件源1.1 运行命令: sudo gedit /etc/apt/sources.list1.2 在文件中加入软件源 清华源: deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe m ...
分类:
系统相关 时间:
2021-06-30 18:36:50
阅读次数:
0
题目 给定一个按照升序排列的整数数组 nums,和一个目标值 target。找出给定目标值在数组中的开始位置和结束位置。 如果数组中不存在目标值 target,返回 [-1, -1]。 进阶:你可以设计并实现时间复杂度为 O(log n) 的算法解决此问题吗? 示例 1: 输入:nums = [5, ...
分类:
编程语言 时间:
2021-06-30 18:20:47
阅读次数:
0
新做uni项目,记录一下常用的方法 官方参考文档:https://uniapp.dcloud.io/api/ui/prompt?id=showtoast 1:成功提示 提交表单的时候,如果提交成功 uni.showToast({ title: '提交成功', duration: 2000 }); 2 ...
分类:
移动开发 时间:
2021-06-30 18:20:12
阅读次数:
0
1 Array.every(x=>x)是每一个都要满足 2 3 Array.some(x=>x)是有一个满足。 4 5 Array.find(findIndex),返回符合条件的第一个值。 6 7 Array.filter(过滤成新的数组) 8 9 数组的方法分为两类 10 11 1)改变原数组 1 ...
分类:
编程语言 时间:
2021-06-30 18:16:34
阅读次数:
0
Description:Here will use pictures and text to report the statistics of the number of subscribers. Total number of subscribers:4243 1.toutiao(今日头条)Dot ...
分类:
其他好文 时间:
2021-06-30 18:09:06
阅读次数:
0
清理git提交记录并不能给“瘦身” 上周发现gitlab同步到线上的主服务器cpu和内存报警。 一查发现是隐藏目录 .git 过大导致的,导致每分钟同步卡死, 我其实有点怀疑是同步脚本中git命令导致的,要不就是下面的同步命令(每1分钟跑一次);要不就是每5分钟去git目录跑一次的git statu ...
分类:
其他好文 时间:
2021-06-30 18:05:44
阅读次数:
0