Skip to content

Instantly share code, notes, and snippets.

View chepetime's full-sized avatar
🎯
Focusing

José M. Gulias Lugo chepetime

🎯
Focusing
View GitHub Profile
Create a .zip file from the git structure
```
git archive -o whirlpool_blog.zip HEAD
cd /Library/Preferences/SystemConfiguration
sudo mv ./com.apple.airport.preferences.plist _com.apple.airport.preferences.plist
sudo mv ./com.apple.network.identification.plist _com.apple.network.identification.plist
sudo mv ./com.apple.wifi.message-tracer.plist _com.apple.wifi.message-tracer.plist
sudo mv ./NetworkInterfaces.plist _NetworkInterfaces.plist
sudo mv ./preferences.plist _preferences.plist
sudo shutdown -r now
@chepetime
chepetime / update_npm_packages.sh
Created July 5, 2019 14:11
Update npm packages
nvm install
rm -rf node_modules
npm outdated
npm install -g npm-check-updates
ncu -u
npm update
@chepetime
chepetime / osx-for-hackers.sh
Created July 23, 2019 20:11 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/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
@chepetime
chepetime / find_and_kill_process_in_port.sh
Created August 21, 2019 15:28
Find ports and kill the process running in them
# 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
const getUniqueElementsInTwoArrays = (x, y) => {
return String([...x, ...y].filter(el => !(x.includes(el) && y.includes(el))));
}
@chepetime
chepetime / prettier-packagejson.sh
Created September 4, 2019 14:15
Normalize your package.json file
npx prettier-package-json --write ./package.json
rename -f 'y/A-Z/a-z/' *
find . -type f -name "*" -exec rename "s/\s/_/g" {} \;
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.