会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
懒懒同学
博客园
首页
新随笔
联系
订阅
管理
2024年7月9日
docker常见命令
摘要: docker images 列出本地 Docker 主机上所有的镜像 输出示例 REPOSITORY TAG IMAGE ID CREATED SIZE nginx latest 4bb46517cac3 2 weeks ago 133MB ubuntu 20.04 1d622ef86b13 3 w
阅读全文
posted @ 2024-07-09 10:39 懒懒同学不懒
阅读(43)
评论(0)
推荐(0)
2024年7月5日
前端0基础搭建服务器
摘要: 购买服务器 选一台linux服务器。操作系统为CentOS或者兼容CentOS的。 使用SSH连接服务器 在本机生成密钥 如果是mac,直接打开终端,按照下面操作即可 cd ~/.ssh 先切换到.ssh目录,一般电脑的私钥密钥文件均存储于这个文件夹下 ssh-keygen -t rsa -C "f
阅读全文
posted @ 2024-07-05 14:31 懒懒同学不懒
阅读(31)
评论(0)
推荐(0)
2021年9月30日
Node.js核心模块-util实用工具
摘要: util.promisify(fun) 返回fun的promise版本 const util = require('util'); const fs = require('fs'); const stat = util.promisify(fs.stat); stat('.').then((stat
阅读全文
posted @ 2021-09-30 17:30 懒懒同学不懒
阅读(37)
评论(0)
推荐(0)
2021年9月23日
input中截断不生效
摘要: focus会导致input 的ellipsis失效
阅读全文
posted @ 2021-09-23 15:52 懒懒同学不懒
阅读(53)
评论(0)
推荐(0)
2021年8月25日
word-break
摘要: 禁止单词中间换行,避免标点符号单独折行 word-wrap: break-word; word-break: normal;
阅读全文
posted @ 2021-08-25 18:26 懒懒同学不懒
阅读(217)
评论(0)
推荐(0)
2021年7月29日
常用linux命令记录
摘要: 参考:https://www.jianshu.com/p/0056d671ea6d cd 切换文件路径 ls 列举当前工作目录的内容(文件或文件夹) mkdir 新建新目录 cp 对文件进行复制 cp 01.html 02.html 对文件夹进行复制 cp -r 01 02 lsof list op
阅读全文
posted @ 2021-07-29 19:16 懒懒同学不懒
阅读(25)
评论(0)
推荐(0)
2021年7月21日
toString()和valueOf()
摘要: 参考:https://segmentfault.com/a/1190000010824347 toString():返回对象的字符串表示 valueOf():返回对象的字符串、数值或者布尔值表示 var a = 3 var b = '3' var c = true var d = { test: 1
阅读全文
posted @ 2021-07-21 11:20 懒懒同学不懒
阅读(43)
评论(0)
推荐(0)
2021年7月20日
数据类型转换
摘要: 强制类型转换 包括Number()、parseInt()、parseFloat()、toString()、String()、Boolean(),这几种方法都比较类似。 Number() 如果是数字,返回自身 如果是布尔值,true为1,false为0 如果是null,返回0 如果是undefined
阅读全文
posted @ 2021-07-20 10:34 懒懒同学不懒
阅读(51)
评论(0)
推荐(0)
2021年7月19日
数据类型的检测
摘要: typeof 最常用的一种 console.log(typeof 1) //'number' console.log(typeof '1') //'string' console.log(typeof undefined) //'undefined' console.log(typeof true)
阅读全文
posted @ 2021-07-19 11:19 懒懒同学不懒
阅读(38)
评论(0)
推荐(0)
2021年7月15日
sass - maps
摘要: 参考:https://jelly.jd.com/article/6006b1025b6c6a01506c8783
阅读全文
posted @ 2021-07-15 11:46 懒懒同学不懒
阅读(44)
评论(0)
推荐(0)
下一页
公告