auto eth0 -- sets eth0 to come up on /etc/init.d/networking restart
tip: put auto eth1 before auto eth0 in /etc/network/interfaces in order to make eth0 the default gateway
Replace nested-if's with proper exception-handling
-
" Why handle exceptions separately:
■ Handling exceptions separately enables you to define the main logic of
your
code together.
■ Without the use of sepa...
2 years ago