Some complex but useful Linux commands
Find upgradable bower dependenciesbower list | sed 's/^[├└─┬│ ]*//g'
| sort | uniq | egrep 'available|latest'
Find all bower dependencies
bower list | grep '#' | sed 's/^[├└─┬│ ]*//g' | sed 's/#.*//g' | sort | uniq
Find declared bower dependencies
awk '/dependencies/{f=1;next} /resolutions/{f=0} f' bower.json | grep -v '}' | sed 's/^[ "]*//g' | sed 's/".*//g' | sort | uniq
Find unlisted/undeclared bower dependencies
diff <(bower list | grep '#' | sed 's/^[├└─┬│ ]*//g' | sed 's/#.*//g' | sort | uniq) <(awk '/dependencies/{f=1;next} /resolutions/{f=0} f' bower.json | grep -v '}' | sed 's/^[ "]*//g' | sed 's/".*//g' | sort | uniq)
Check custom elements used vs imports
diff <(grep -hroE --include \*.html "[/\"][a-zA-Z0-9]+(-[a-zA-Z0-9]+)+\.html" . | cut -c2- | rev | cut -c6- | rev | sort | uniq) <(grep -hroE --include \*.html "<[a-zA-Z0-9]+(-[a-zA-Z0-9]+)+[ >]" . | tr -d '< >' | sort | uniq) -y
Search and replace recursively
grep -lrZ --include \*filepattern "searchtext" . | xargs -0 -l sed -i -e 's/searchtext/newtext/g'
SSH Tunnelling from Local to Remote
ssh -f -v -4 user@ssh_server_ip -p <ssh_port> -L <local_machine_bind_ip>:<local_listening_port>:<accessing_ip_from_server>:<accessing_port> -N
Blackjack is a simple card sport with a component of ability to it — and the chances of successful aren't too unhealthy. Several folks can play at one time, but every is simply attempting to beat the supplier, do not appear to be} enjoying in} towards one another. The supplier and the participant compete to see whose 메리트카지노 hand comes closest to 21 without going over (which recognized as} a "bust").
ReplyDeleteEven in the course of the first 1xbet quarter of the 12 months, they recorded nearly double their earnings. Try half in} quantity of} rounds of stay Roulette or stay Blackjack at the prime NetEnt Casinos whereas you’re on the bus house or on a break. There’s no must download something, as NetEnt Casinos recognise your device and modify to any size screen. Rest assured that each one|that every one} the identical features can be found to you through our cellular casinos.
ReplyDelete