List of useful npx (NPM Package Runner) commands.
Using NPX we can execute/run node binaries without the need to install it locally or globally.
#!/bin/zsh | |
# Define the CSV file path. The CSV should contain two columns: filename and URL. | |
csvFile="images.csv" | |
# Provide your Tinify API Key. Replace with your actual key. | |
apiKey="#############################" | |
# Create directories for original, resized, and compressed images. | |
mkdir -p ./og |
List of useful npx (NPM Package Runner) commands.
Using NPX we can execute/run node binaries without the need to install it locally or globally.
brew install --cask 1password alfred alt-tab appcleaner contraste cyberduck dropbox hyper imageoptim kap keycastr kindle macdown macs-fan-control monitorcontrol numi plug postman responsively runjs sequel-pro skyfonts slack spark spotify telegram the-unarchiver transmission vlc whatsapp zoom | |
brew install --cask visual-studio-code figma slack | |
brew install --cask microsoft-teams microsoft-outlook | |
brew install --cask bartender |
El método que armé para mejorar tu CV se resume en estos puntos: | |
— Estructurar el contenido y narrativa con un objetivo claro (Hacia el trabajo que quieres) | |
— Revisar, adaptar y mejorar el CV con el tiempo (retroalimentación de entrevistas, colegas, amigos, etc.) | |
— Optimizar el contenido para que seas fácil de encontrar (SEO) | |
1) ¿Dónde hago mi CV? | |
Usa una plataforma digital para crear tu CV. Tenerlo en Word/Pages/Photoshop/Figma solo hace que tardes más en actualizarlo, mejorarlo y arreglar errores. El plan es que no te preocupes por el diseño, si no por el contenido. |
find . -type f -name "*" -exec rename "s/\s/_/g" {} \; |
rename -f 'y/A-Z/a-z/' * |
npx prettier-package-json --write ./package.json |
const getUniqueElementsInTwoArrays = (x, y) => { | |
return String([...x, ...y].filter(el => !(x.includes(el) && y.includes(el)))); | |
} |
# Find all ports | |
sudo lsof -i -P -n | grep LISTEN | |
# Find a specific port | |
sudo lsof -i:52698 | |
sudo lsof -i:8080 | |
# Kill the process in a single port | |
fuser -k 52698/tcp | |
fuser -k 8080/tcp |
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |