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 of models in prod eagerly sought.
![Screenshot 2023-12-18 at 10 40 27 PM](https://private-user-images.githubusercontent.com/3837836/291468646-4c30ad72-76ee-4939-a5fb-16b570d38cf2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0Mjc0NjMsIm5iZiI6MTcxOTQyNzE2MywicGF0aCI6Ii8zODM3ODM2LzI5MTQ2ODY0Ni00YzMwYWQ3Mi03NmVlLTQ5MzktYTVmYi0xNmI1NzBkMzhjZjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjZUMTgzOTIzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Yjg0MWY2NDZlOWY3MjI2NzI1ODQzY2JlMTc4NDhmMjJhODkzMTMzZTkyZGVkMjljMjFkMmViODEzNDRhN2ZhYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.eRv_r1t9jQuNp5z28fa4TJX0Zdv-WF7vdR6niG-KMw8)
/** | |
* 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 |
# 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 |