自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

facing-screen's blog

知识,是一种信仰。(此博客为个人日志,如有帮助点赞是美德;如有谬误,欢迎斧正。)

  • 博客(6)
  • 资源 (1)
  • 问答 (10)
  • 收藏
  • 关注

转载 css给dom插入/追加文字/内容

A.使用选择器来插入内容h2:before{content:"前缀";}h2:after{content:"后缀";}B.指定个别的元素不进行插入h2.sample:before{content:none;}2. 插入图像A.在标题前插入图像文件h2:before{content:url(anwy.jpg);}B.将alt属性的值作为图像的标题来显示(用不了)img:after{content:attr(alt);display:.

2021-04-27 11:16:06 1690

原创 symfony4.4加密密码时报错Libsodium is not available. You should either install the sodium extension, upgrade

报错:"Libsodium is not available. You should either install the sodium extension, upgrade to PHP 7.2+ or use a different encoder."解决:algorithm:sodium 改为 algorithm:sha256 或者其他原因:推测为sodium加密库未的bug...

2021-04-22 17:04:27 220

原创 js获取本地图片文件的原始宽高尺寸

<!-- 关键api:URL.createObjectURL(object) object:File 对象或 Blob 对象 参考:https://developer.mozilla.org/zh-CN/docs/Web/API/URL/createObjectURL --><!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <.

2021-04-16 17:09:23 1948 2

转载 eslint 禁用命令

eslint 禁用命令 1 2 3 4 5 6 /* eslint-disable */ ESLint 在校验的时候就会跳过后面的代码 还可以在注释后加入详细规则,这样就能避开指定的校验规则了 /* eslint-disable no-new */ 常用:'rules': {"comma-dangle": ["error","never"],//是否允...

2021-04-09 14:12:26 605 1

原创 git提示fatal: Authentication failed for但是不进入重新登录的流程,也死活不弹窗的解决办法,不用找证书删

git提交代码输错了密码 fatal: Authentication failed for 提示了这个死活也不提示重新登录,感觉git的这个设计真的很沙雕。网上说删证书,好不容易找到win10的证书管理器,一堆啊,删了好几个都不起作用,索性全删,还是不起作用,fk。。。这时看到某乎的这个办法,当真管用还好用。解决:git config --system --unset credential.helper 使用上面的命令,会提示权限不足,别慌下一步 资源管理器打开,把上面提示没有权限的路径下的

2021-04-05 18:08:59 1008 5

原创 symfony Fatal error: Declaration of App\DataFixtures\AppFixtures::load(Doctrine\Common\Persistence

问题背景:composer update 后解决:删除\src\DataFixtures目录 bin/console cache:clear use Doctrine\Common\Persistence\ManagerRegistry;改为:use Doctrine\Persistence\ManagerRegistry;// 参考:https://stackoverflow.com/questions/63688919/error-argument-1-passed-...

2021-04-02 17:00:47 372

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除