Use this:
^((?![INSERT YOUR WORD THAT YOU WANT TO EXCLUDE HERE]).)*$
Don't forget to check the Regex checkbox!
Example:
I'm excluding logs that contains Pusher
words here. So, this is what I put inside the filter box: ^((?!pusher).)*$
/** | |
* Converts an RGB color value to HSL. Conversion formula | |
* adapted from http://en.wikipedia.org/wiki/HSL_color_space. | |
* Assumes r, g, and b are contained in the set [0, 255] and | |
* returns h, s, and l in the set [0, 1]. | |
* | |
* @param Number r The red color value | |
* @param Number g The green color value | |
* @param Number b The blue color value | |
* @return Array The HSL representation |
<div id="container"></div> | |
<div id="menu"> | |
<button id="table">TABLE</button> | |
<button id="sphere">SPHERE</button> | |
<button id="helix">HELIX</button> | |
<button id="grid">GRID</button> | |
</div> |
Use this:
^((?![INSERT YOUR WORD THAT YOU WANT TO EXCLUDE HERE]).)*$
Don't forget to check the Regex checkbox!
Example:
I'm excluding logs that contains Pusher
words here. So, this is what I put inside the filter box: ^((?!pusher).)*$
// connect() is a function that injects Redux-related props into your component. | |
// You can inject data and callbacks that change that data by dispatching actions. | |
function connect(mapStateToProps, mapDispatchToProps) { | |
// It lets us inject component as the last step so people can use it as a decorator. | |
// Generally you don't need to worry about it. | |
return function (WrappedComponent) { | |
// It returns a component | |
return class extends React.Component { | |
render() { | |
return ( |
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.[user] | |
name = wuxh | |
email = wxh1220@gmail.com | |
signingkey = wuxh | |
[core] | |
excludesfile = /Users/wuxh/.gitignore_global | |
ignorecase = true | |
# ref: https://stackoverflow.com/a/36427485/11302760 | |
# ref: https://code.visualstudio.com/docs/editor/versioncontrol#_vs-code-as-git-editor | |
editor = code --disable-extensions --wait |
"use client"; | |
import { cache, unstable_postpone } from "react"; | |
import { preload } from "react-dom"; | |
const loadImage = cache((src: string) => { | |
return new Promise<void>((resolve, reject) => { | |
const img = new Image(); | |
img.src = src; |