Compile with:
webpack --config vendor.webpack.config.js
webpack --config app.webpack.config.js
Use with the following index.html
{"lastUpload":"2020-09-07T09:45:15.721Z","extensionVersion":"v3.4.3"} |
Compile with:
webpack --config vendor.webpack.config.js
webpack --config app.webpack.config.js
Use with the following index.html
{ | |
"states": [ | |
{ | |
"id": "1", | |
"type": "Union Territory", | |
"capital": "Mayabunder", | |
"code": "AN", | |
"name": "Andaman and Nicobar Islands", | |
"districts": [ | |
{ |
/** | |
* This plugin hook for React table provides the ability for percentage | |
* widths to be provided in the column definitions, whilst maintaining the | |
* ability to resize those columns. | |
*/ | |
export const usePercentageColumns = hooks => { | |
hooks.useInstance.push(useInstance) | |
hooks.getRowProps.push(getRowStyles) | |
hooks.getHeaderProps.push(getHeaderProps) | |
hooks.getCellProps.push(getCellProps) |
Registered Name: https://zhile.io | |
License Key: 48891cf209c6d32bf4 |
import { useState, useEffect } from 'react'; | |
function useWebWorker(workerFunction) { | |
const [result, setResult] = useState(null); | |
useEffect(() => { | |
const worker = new Worker('worker.js', { credentials: "same-origin", name: "justCheking", type: "module" }); | |
const handleMessage = (event) => { | |
const { data } = event; |
Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts and experience preferred (super rare at this point).
# This works even with really weird filenames like $'--$`\! *@ \a\b\e\E\f\n\r\t\v\\\"\' ' | |
file_count() | |
{ | |
if [ ! -e "$1" ] | |
then | |
exit 1 | |
fi | |
local -i files=$(find "$(readlink -f -- "$1")" -type f -print0 | grep -cz -- -) | |
echo $files |