- 博客(3)
- 收藏
- 关注
转载 js检测浏览器支持的字体
通过js检测浏览器支持的字体,从而显示支持的字体,让用户选择轉載出處字体函数:var dataFont = { windows: [{ ch: '宋体', en: 'SimSun' }, { ch: '黑体', en: 'SimHei' }, { ch: '微软雅黑', ...
2018-07-27 10:01:48 5553
原创 JS: 如何计算一个月有多少天
function getCountDays() { var curDate = new Date(); /* 获取当前月份 */ var curMonth = curDate.getMonth(); /* 生成实际的月份: 由于curMonth会比实际月份小1, 故需加1 */ curDate.setMonth(cur...
2018-07-20 14:56:26 3067
转载 配置git push不用每次输入用户名和密码
1.使用ssh协议step 1: 生成公钥ssh-keygen -t rsa -C "[email protected]" # Generating public/private rsa key pair...# 三次回车即可生成 ssh keystep 2: 查看已生成的公钥cat ~/.ssh/id_rsa.pub# ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAA...
2018-07-02 17:00:55 2897
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人