A Get Shit Done script
github.com
A Get Shit Done script
1–10 of 21 posts
Re: A Get Shit Done script
#2Re: A Get Shit Done script
#3If there's nothing bash-specific you may wish to use "#!/bin/sh" (or "#!/usr/bin/env bash" if bash is required.)
Re: A Get Shit Done script
#4Re: A Get Shit Done script
#5Problem with these is I end up turning it off.
Re: A Get Shit Done script
#6> #!/bin/bash If there's nothing bash-specific you may wish to use "#!/bin/sh" (or "#!/usr/bin/env bash" if bash is required.)
Re: A Get Shit Done script
#7Problem with these is I end up turning it off.
But 30 seconds is also a decent amount of time to convince myself that I don't really need to see that site right now, and often I'll just close the tab a few seconds in and get on with work.
Re: A Get Shit Done script
#8 # Read from the array, and remove files from /etc/hosts
for site in $*; do
sed -i '' "/127.0.0.1 $host/d" $hosts
done
it should be $site instead of $host (the latter is never referenced elsewhere in the file)Re: A Get Shit Done script
#9> #!/bin/bash If there's nothing bash-specific you may wish to use "#!/bin/sh" (or "#!/usr/bin/env bash" if bash is required.)
Re: A Get Shit Done script
#10If you are having trouble staying motivated to work, then you need to fix that. For me, browsing facebook et al is a palette cleanser of sorts. If I lock myself to only being able to view 'work' sites, I'd become too stressed to do my best work.