Share your tip of the day.

If it doesn't fit don't force it.

${DTC} -@ -O dtb -o $dtb -i $S/dts/${MACHINE} -i $S/gnu/dts/${MACHINE}
(useful source code snippet I found in make_dtbo.sh for an example of using the include directory)
 
I found bat a couple of months ago and love it, I set `bat -pP` as an alias to cat so it acts the same as cat but with colour as I'm not a fan of the paging (-P) and the line numbers(-p) which ruins copy/pasting. I guess this kind of counts as a tip.
 
If you want your "unsafe" development web server (i.e php -S) to run on port 80 or 443 without running it as root. Use in your /etc/inetd.conf

Code:
80 stream tcp nowait nobody /usr/bin/nc nc 127.0.0.1 8080
443 stream tcp nowait nobody /usr/bin/nc nc 127.0.0.1 8443

(or yeah, firewall rules...)
 
Tip. Marry a women. If it's a good women you will be happy. If it's a bad women you will have learned a valuable expensive lesson.
There, FTFY.
Instead of marrying a woman, look for a woman you can't stand and buy her a house. Saves a lot of time. (- Stan Laurel, iirc)
 
"Pants first, then shoes"

In my defense the title never specified that the tip had to do with FreeBSD or computing.
One leg at a time while standing. Both legs at once? Okay, but only when sitting.

Avoid personal injury lawyers, who only cost you more in the long run.
 
  • Like
Reactions: mer
Vull I have to admit that's from a FarSide cartoon. Picture a really nerdy kid sitting on a bed, in his pjs, obviously just woke up. On the wall above his bed is a sign "Pants first, then shoes". I still LOL at it.

Another favorite Farside:
Really nerdy looking kid, at the front door of a school, pushing on the door to try and get in. Sign on the school says "School for the Gifted", sign on the door says "Pull"

:)
 
Back
Top