What about those edgy names with a spelling mistake?
Let's create a dictionary with all the edgy words.
Find a good available .com domain
51–60 of 301 posts
Re: Find a good available .com domain
#52Earlier quoted context omitted.
I don't agree with the whole 'useless use of cat' meme: cat creates an output stream, which in turn allows you to build up the subsequent command bit by bit and allows you to cut and past chunks from useful building blocks you keep in a file. The first command changes all the time so by using 'cat' those blocks remain reusable, everything will use the piped input that cat sends if there is no preceding program, rathe…
It's possible to avoid `cat` and still keep the filename separate from the rest of the command by placing the redirection at the start of the command: It might look a little odd, but it's portable.
cat myfile.txt # check the file because I'm not even sure that's the correct name
cat myfile.txt | awk blablabla # no I didn't forget awk syntax, I swear
I would be afraid of any person that after this, goes back and rewrites the beginning of the line to replace cat with a redirection.Even with "ctrl-a alt-d < alt-f alt-f ctrl-d ctrl-d ctrl-e" that replaces cat with < and removes the pipe, which any emacs user can pull off in it's sleep
Re: Find a good available .com domain
#53Earlier quoted context omitted.
I don't agree with the whole 'useless use of cat' meme: cat creates an output stream, which in turn allows you to build up the subsequent command bit by bit and allows you to cut and past chunks from useful building blocks you keep in a file. The first command changes all the time so by using 'cat' those blocks remain reusable, everything will use the piped input that cat sends if there is no preceding program, rathe…
Totally with you there. "Useless use of cat" is usually good practice, not bad. It's clearer - the structure indicates right at the front what it is going to do, namely read a file and pass it through a pipeline. There is no need to read ahead to find out what the source material is. It's safer - "cat" is a read-only operation, once you've written that command up-front there is no longer a risk of overwriting the ori…
With zsh you can prevent such accidents by "setopt NO_CLOBBER"
The result is that if you "foo > bar" and "bar" exists, zsh will refuse to overwrite "bar" and give you an error: "zsh: file exists: bar"
This makes constructs such "foo baz" perfectly safe, because accidentally typing "foo > bar > baz" will error out when "bar" (or "baz") already exists.
(PS: if you want to force zsh to overwrite the file even when NO_CLOBBER is set you can "foo >| bar")
Re: Find a good available .com domain
#54A tip I discovered - use hyphens, and suddenly very small nice domains become available. No one types domains anyway. Also does anyone know how to get a shady domain parking service to give up on a domain they’ve been holding for decades? I’m actually happy to pay 500 but not thousands and it’s not even a domain that a company or commercial interest would want to purchase.
Bad idea. The owner of the corresponding domain without hyphens might steal your visitors.
Re: Find a good available .com domain
#55A tip I discovered - use hyphens, and suddenly very small nice domains become available. No one types domains anyway. Also does anyone know how to get a shady domain parking service to give up on a domain they’ve been holding for decades? I’m actually happy to pay 500 but not thousands and it’s not even a domain that a company or commercial interest would want to purchase.
You get a good and potentially expensive com domain for easy of use and not landing in spam folders. I prefer *.io domains for non critical things.
Re: Find a good available .com domain
#56> If you’re on Mac, Linux, or BSD, you should have a dictionary of words at /usr/share/dict/words Why do they come with a dictionary of words?
Re: Find a good available .com domain
#57Re: Find a good available .com domain
#58Unfortunately not every domain that has no DNS record is available for purchase: some people configure no records, others are reserved by the registry (many short words for nTLDs). If something isn't in the DNS zone you can do a live DNS and WHOIS check to be more certain. A while back I tied together this DNS zone + live false positive check into a website (for all TLDs and with price info): https://domain.garden AW…
Re: Find a good available .com domain
#59Earlier quoted context omitted.
Totally with you there. "Useless use of cat" is usually good practice, not bad. It's clearer - the structure indicates right at the front what it is going to do, namely read a file and pass it through a pipeline. There is no need to read ahead to find out what the source material is. It's safer - "cat" is a read-only operation, once you've written that command up-front there is no longer a risk of overwriting the ori…
"It's safer - "cat" is a read-only operation, once you've written that command up-front there is no longer a risk of overwriting the original file with a typo in the rest of the pipeline." With zsh you can prevent such accidents by "setopt NO_CLOBBER" The result is that if you "foo > bar" and "bar" exists, zsh will refuse to overwrite "bar" and give you an error: "zsh: file exists: bar" This makes constructs such "fo…
Zsh stops redirection errors, it won't help even if cat is in the front.
Re: Find a good available .com domain
#60I love the comment that someone dropped on the post. One could replace the first Ruby script by a one-liner: "cat /tmp/com.txt | awk '{ print substr($1, 1, length($1) -5) }' | uniq > domains.txt"
Classic useless use of cat?