Jaumzera·Mar 21, 2023React useEffect summaryThe following code will print a x to console every time the wrapping component is rendered:
Jaumzera·Mar 1, 2023Sorting an int array in JavaScriptFirst we create a descendant array from 1000 to 1:
Jaumzera·Feb 8, 2023kubectl custom columnsThe following command will retrieve name and type of deployments, network policies, ingresses, config maps and secrets:
Jaumzera·Feb 7, 2023Kubernetes migration validation toolDatree is a Kubernetes validation plugins which allow us to test what is compatible with a target version in a migration scenario.
Jaumzera·Dec 29, 2022Creating a DO NO COMMIT flag as git pre commit hookI was wanting to prevent commiting any file with the text FIXME DNC. So I modified a sh script I've found in StackOverflow to do so:
Jaumzera·Dec 16, 2022Mac useful shortcuts for LinuxersI was forced to start using a Macbook because of a new position I've got in an American company. Since then, I'm struggling with the…
Jaumzera·Dec 7, 2022<<That's going to redirect everything that comes from input to the command cat while the word EOF not be typed.
Jaumzera·Dec 6, 2022Get some extra free space getting rid of your old journal log files on UbuntuTo delete all files generated 7 or more days ago, run:
Jaumzera·Nov 25, 2022sed in 1 minuteSED stands for Stream Editor. So that is what it does: edit a stream.