As of Ubuntu 19.04, you no longer use /etc/resolv.conf for DNS servers. Instead, edit /etc/systemd/resolved.conf and add DNS=8.8.8.8 8.8.4.4 (for example). Not this list must be space-delimited and not comma-delimited. Then, run systemctl restart systemd-resolved.service to apply your changes.
Category Archives: miscellaneous
Handy WordPress commands
In VIP Go’s mu-plugins, to update everything:git pull && git submodule update –recursive –remote With VVV, after setting up a site, to enable Query Monitor:wp user add-cap wordpress view_query_monitor To flush memcache:echo ‘flush_all’ | nc localhost 11211
Password rotation is dumb
Many organizations have policies requiring you to change your passwords every 90 days. These policies are dumb, and make security worse. The following material should help you fight back against this nonsense. You don’t have to believe Paul Schreiber, but you should believe NIST, the FTC and the UK’s NSCS. NIST In 2016, the National …
FiveThirtyEight podcasts are now embeddable
Sample code: <iframe frameborder=”0″ width=”100%” height=”300″ style=”margin:20px auto 25px;max-width:600px;” scrolling=”no” src=”https://fivethirtyeight.com/player/politics/19439447/”></iframe> Sample embed:
On Feedback
Jobs’s taste for merciless criticism was notorious; Ive recalled that, years ago, after seeing colleagues crushed, he protested. Jobs replied, “Why would you be vague?,” arguing that ambiguity was a form of selfishness: “You don’t care about how they feel! You’re being vain, you want them to like you.” Ive was furious, but came to …
Joe Flacco has a very good day
https://s.yimg.com/re/loop/media/clips/465995473/d091a577-2e13-4251-973a-fb9259741035.mp4
Book publishers, infused with aggrieved privilege
Clay Shirky’s essay on Amazon and the book industry is so full of great lines, it’s hard to pick just one. The fact that any bookseller ever “runs out” of a book is now ridiculous. In the twenty-first century, not being able to correctly stock or distribute a product whose main ingredient is information suggests …
Continue reading “Book publishers, infused with aggrieved privilege ”
Doing creative work
“Nobody tells this to people who are beginners, I wish someone told me. All of us who do creative work, we get into it because we have good taste. But there is this gap. For the first couple years you make stuff, it’s just not that good. It’s trying to be good, it has potential, …
Life hack: buy two belts
Belt shopping is a pain. It’s often difficult to find something you like — in my case, as plain and free of ornamentation as possible — and that’s reasonably priced. The value of the time spent looking is often more than the cost of the belt. Next time you find a belt like this, buy …
Where to eat (and what to do) in New York
Similar to my Where to eat in San Francisco list, here’s a set of recommendations for food an activities in New York, particularly in Brooklyn. Restaurants (general) Aquagrill (seafood) The Soul Spot Inoteca (Italian) Shake Shack (Brooklyn location has no line) Veniero (for dessert) Juliette (French) Atlantic Chip Shop (really good beer selection) Nectar (sandwiches …
Continue reading “Where to eat (and what to do) in New York”