202501 & before
2023/7/19
CSS filter
can formstacking context
input
‘s’ propertyhidden
does not work in Safari
2024/11/15
- Vertical or horizontal lines with gradient strokes in SVG won’t display.
Keyword objectBoundingBox should not be used when the geometry of the applicable element has no width or no height, such as the case of a horizontal or vertical line, even when the line has actual thickness when viewed due to having a non-zero stroke width since stroke width is ignored for bounding box calculations. When the geometry of the applicable element has no width or height and objectBoundingBox is specified, then the given effect (e.g., a gradient or a filter) will be ignored.
https://stackoverflow.com/questions/21638169/svg-line-with-gradient-stroke-wont-display-if-vertical-or-horizontal- change pattern to “userSpaceOnUse”
- Gradually add a tiny amount to the values, ensuring they are not vertical or horizontal
2024/11/26
- yarn network problem, change mirror is not work and the network is fine with the official mirror url “https://registry.yarnpkg.com"
- delete .lock file can work, but of couse i cannot do it. so instead delete the lock file, i changed all the mirror in the .lock file, this will helps a little.
- increase the network timeout is working, the default value is 30 seconds.
yarn install --network-timeout 1000000
2024/11/27
rn error, can find a package, because jcenter is deprecated
1
2
3
4
5Execution failed for task ':app:checkDevDebugAarMetadata'.
> Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'.
> Could not find updateapputils-2.3.0.aar (com.teprinciple:updateapputils:2.3.0).
Searched in the following locations:
https://jcenter.bintray.com/com/teprinciple/updateapputils/2.3.0/updateapputils-2.3.0.aar
assembleRelease: Builds the release version for the entire project (all modules).
app:assembleRelease: Builds the release version for the app module specifically, which is often the main module in an Android project.
2024/12/23
Barrel files
are files that re-export the APIs of other files in the same directory.vite performance friendly1
export * from './color.js'
- use explicit import paths as much as possible, reduce filesystem checks.
- use incognito mode and don’t check
Disable Cache
if you can. cause “The Vite dev server does hard caching of pre-bundled dependencies and implements fast 304 responses for source code.” server.warmup
.to warm up files that are frequently used to not overload the Vite dev server on startup
2024/12/24
- paths with spaces need to be wrapped by quotation marks in windows command
- use jenv to manage java versions
2024/12/27
json.stringify resigns each value a replacer, but not handle the result after all the replacers have been applied
2024/01/09
- corepack
- gitlab ci/cd
2025/01/16
2025/01/24
- crypto doesn’t work under
http
- vue scoped style