Better HN
topnewbestaskshowjobs
Log inSign up

ryencoke

6 karma · joined Dec 10, 2010 (15y ago) · 5 submissions

Submissions

comment 1y ago · link · parent

If you want to add in another bash trick called Parameter Expansion[0] you can parse out the filename automatically with the special variable $_. Something like:

  > wget https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/x86_64/alpine-minirootfs-3.18.4-x86_64.tar.gz && tar xzf ${_##*/}
[0] https://www.gnu.org/software/bash/manual/html_node/Shell-Par...

2.

Remote Work the Last Meritocracy(jonwatson.ca ↗)

2 points · by ryencoke · 6y ago · discuss

comment 6y ago · link · parent

Another option since you already have OSSEC running.. Create a script for OSSEC that interacts with the cloudflare api to block the flooding IPs. This way the flood doesn't get to your server.

comment 6y ago · link · parent

You don't have to restart your phone. On Android you can close the app from the recent app list.