.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { IconBaseProps } from 'react-icons/lib'; | |
import loadable from '@loadable/component'; | |
interface IPropsIcon { | |
nameIcon: string; | |
propsIcon?: IconBaseProps; | |
} | |
export default function LoadableIcon({ nameIcon, propsIcon }: IPropsIcon): JSX.Element { | |
const lib = nameIcon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check if you are in administration mode, if not, ask for authorization | |
If (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) | |
{ | |
$arguments = "& '" + $myinvocation.mycommand.definition + "'" | |
Start-Process powershell -Verb runAs -ArgumentList $arguments | |
Break | |
} | |
# get wsl intern ip | |
$wsl_host = $(wsl hostname -I); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "attach", | |
"protocol": "inspector", | |
"restart": true, | |
"name": "Debug", | |
"skipFiles": ["<node_internals>/**"], |