无标题
Hexo文章属性说明Front-matter 是文件开头的 YAML 或 JSON 代码块,用于配置写作设置。 以 YAML 格式书写时,Front-matter 以三个破折号结束;以 JSON 格式书写时,Front-matter 以三个分号结束。 设置 描述 默认值 layout 布局 config.default_layout title 标题 文章的文件名 date 建立日期 文件建立日期 updated 更新日期 文件更新日期 comments 开启文章的评论功能 true tags 标签(不适用于分页) categories 分类(不适用于分页) permalink 覆盖文章的永久链接. 永久链接应该以 / 或 .html 结尾 null excerpt 纯文本的页面摘要。 使用 该插件 来格式化文本 disableNunjucks 启用时禁用 Nunjucks 标签 {{ }}/{% %} 和 标签插件 的渲染功能 false lang 设...
PG数据库忘记了管理员账号和密码
一、核心原理(无需原密码)PostgreSQL 支持系统 postgres 用户免密本地登录,这是超级管理员级别的兜底权限,完全绕过数据库层面的账号密码校验,是重置管理员账号密码的核心依据,也是官方推荐的安全重置方式。 二、完整重置步骤(按顺序执行,必成功)步骤 1:切换系统 postgres 用户,免密进入 PG 18 终端(核心)直接执行以下命令,无需输入任何密码,即可登录 PG 18 数据库超级管理员终端(解决「忘记账号密码」核心问题): 12# 核心命令:指定18版本端口(默认5432),免密登录sudo -u postgres psql -p 5432 ✅ 执行成功后,终端会进入 PG 专属命令行,提示符变为:postgres=# → 表示已获取最高权限。 步骤 2:重置「默认管理员 postgres」密码(最常用)PG 默认的超级管理员账号就是 postgres,99% 的场景重置这个账号即可,在上述 postgres=# 终端中执行以下 SQL(直接复制): 123-- 重置postgres管理员密码,替换【你的新密码】为自定义密码(必填)ALTER USER p...
测试mermaid和mathjax插件
数学公式 流程图graph TD; A-->B; A-->C; B-->D; C-->D; gantt dateFormat YYYY-MM-DD title Test GANTT diagram section A section Completed work :done, des1, 2014-01-06,2014-01-08 Active work :active, des2, 2014-01-09, 3d Future work : des3, after des2, 5d sequenceDiagram participant Alice participant John Alice->>John: Hello John, how are you? John->>Alice: Fine, thanks, and you? Alice->>John: I'm fine, too.
关于butterfly主题配置文件的说明
以下是themes/butterfly/_config.yml文件的翻译版本,可以复制进去替换原文件 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811...
任总说的小改进 大奖励 大建议 只鼓励
华为一新员工,刚到华为时,就公司的经营战略问题,写了一封“万言书”给任正非,任正非批复:“此人如果有精神病,建议送医院治疗;如果没病,建议辞退。”注解:“小改进,大奖励;大建议,只鼓励”。员工最重要的还是要做好本职工作,不要把主要精力放在构思“宏伟蓝图”、做“天下大事”上面。作为一名新员工,对企业没有任何的理解,怎么可能提出合乎实际的建议。——任正非 任正非此语在常人看来有不尊重员工之嫌,但员工最重要的还是要做好本职工作,不要把主要精力放在构思“宏伟蓝图”、做“天下大事”上面。作为一名新员工,对企业没有任何的了解,怎么可能提出合乎实际的建议? “公司实行小改进大奖励,大建议只鼓励的制度”,这是华为七条核心价值观中的第四条。“能提大建议的人已不是一般的员工了,也不用奖励,一般员工提大建议,我们不提倡,因为每个员工要做好本职工作。大的经营决策要有阶段的稳定性,不能每个阶段大家都不停地提意见。我们鼓励员工做小改进,将每个缺憾都弥补起来,公司也就有了进步。所以我们提出小改进、大奖励的制度,就是提倡大家做实。不断做实会不会使公司产生沉淀呢?我们有务虚和务实两套领导班子,只有少数高层才是务虚...
What is m3u8?
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
Study Note
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment


