vscode-bookmark
我在地面步行,不在云端跳舞。——维特根斯坦 分享一个vscode插件,可以让我们在vscode中打书签 非常方便好用
Delimiter
青春如初春,如朝日,如百卉之萌动,如利刃之新发于硎,人生最宝贵之时期也。青年之于社会,犹新鲜活泼细胞之在身。——陈独秀 分享一下:org.springframework.boot.convert.Delimiter的用法 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950/* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-...
aspect-ratio
物以稀为贵,情因老更慈。——白居易 分享一个css属性aspect-ratio 大家其实能看出来值2/1就是宽高比 这个属性在width和height只要有任意一个没有配的情况下就会生效,非常方便用于配置一些指定宽高比例的场景
vuepress获取所有页面frontmatter
倘若没有骄傲的思想,人将不成其为人,他自身的弱点会使他蜕化为禽兽。——高尔基 今天实现了vuepress中获取所有页面的frontmatter frontmatter是页面的页头信息,例如: 12345---title: xxxauthor: 作者date: 2023-08-17--- 可以编写一个插件: 12345678910111213module.exports = (options, context) => ({ extendPageData($page) { const { pages } = context; // 获取除首页外的其他所有页面的 frontmatter 数据 const frontmatters = pages .filter(page => page.path !== '/') .map(page => page.frontmatter); // 将 frontmatter 数组传递给首页的 frontmatter ...
vue-demi
事物都是互相妥协的。就是冰山也会时而消融,时而重新凝聚。——爱默生 分享一个vue库 https://github.com/vueuse/vue-demi 用来解决编写的代码在vue2和vue3之间的兼容问题 安装: 1npm i vue-demi 然后修改package.json,将vue 和@vue/composition-api添加到peerDependencies中 1234567891011121314151617{ "dependencies": { "vue-demi": "latest" }, "peerDependencies": { "@vue/composition-api": "^1.0.0-rc.1", "vue": "^2.0.0 || >=3.0.0" }, "peerDependenciesM...
Handraw
人最大的错误莫过于过分地迎合别人。——佚名 Excalidraw-CN 是支持中文手写和多画布的 Excalidraw 白板工具 https://github.com/korbinzhao/excalidraw-cn 访问:https://handraw.top/
java-diff-utils
谁终将声震人间,必长久深自缄默;谁终将点燃闪电,必长久如云漂泊。——尼采 https://github.com/java-diff-utils/java-diff-utils Diff Utils库是一个开源库,用于在文本或某种数据之间执行比较/差异操作:计算差异,应用补丁,生成统一差异或解析它们,生成差异输出以便将来显示(如并排视图)等。 例如: 123456789101112131415//create a configured DiffRowGeneratorDiffRowGenerator generator = DiffRowGenerator.create() .showInlineDiffs(true) .mergeOriginalRevised(true) .inlineDiffByWord(true) .oldTag(f -> "~") //introduce markdown style fo...
idea设置java模块编译版本
宁鸣而死,不默而生。——范仲淹 我们可以在此处配置 以及此处 即可
clipdrop
心事浩茫连广宇,于无声处听惊雷。——鲁迅语录 分享一个ai网站Clipdrop - Relight 这个网站有许多精彩的AI应用 非常的炫酷
midjourney
爱自己是终身浪漫的开始。——奥斯卡·王尔德《理想的丈夫》 分享一个AI绘画的网站 https://www.midjourney.com/ 对应的快速开始 Midjourney Quick Start Guide
