Random knowledge X.

How to set up a crossover ethernet connection between two Sun Solaris machines:

  • Connect both machines using a crossover ethernet cable.

  • root@solaris-machine-1# ifconfig plumb

  • root@solaris-machine-1# ifconfig netmask

  • root@solaris-machine-1# ifconfig up

  • On each machine, ping the other. If both are reported as being alive, you're golden.

It would look something like this on a live setup:

root@igg# ifconfig ce1 plumb

root@ook# ifconfig ce1 plumb

root@igg# ifconfig ce1 netmask

root@ook# ifconfig ce1 netmask

root@igg# ifconfig ce1 up

root …


Random knowledge V.

GNU Screen makes coding so much easier: Run screen to multiplex your shell, then run a text editor in one, a debugger in another, have another shell open to compile.. no more mousing between windows. There isn't much of a learning curve, if you feel comfortable coding under Unix (or using the Cygwin tools for Windows) you'll pick it up in no time.

Sleeping just enough to recoup your strength so you can go out again isn't a good thing. Sleep enough to get all your energy back. Don't pull two or three all-nighters in a row, either. It'll crush …