Skip to content

Instantly share code, notes, and snippets.

View pavelglebov's full-sized avatar
📡

Pavel Glebov pavelglebov

📡
  • Krakow
View GitHub Profile
@pavelglebov
pavelglebov / release_port
Created October 29, 2024 11:58
release_port {port} command for terminal
#!/bin/bash
# Check if port number is provided
if [ -z "$1" ]; then
echo "Usage: release_port <port>"
exit 1
fi
PORT=$1
@pavelglebov
pavelglebov / refresh.sh
Last active July 10, 2024 11:28
React Native refresh packages util script
#!/bin/bash
CYAN='\033[0;36m'
RED='\033[0;31m'
NOCOLOR='\033[0m'
command=$1
shift
clean_locks=false