Category: Uncategorized

No wired (LAN) connection in Linux, although everything looks right

Today I experienced a strange problem with my notebook (Dell Precision M4800) and LAN card (IntelĀ I217-LM, driver e1000e). I connected a LAN cable, but it just would not get a connection. Not via DHCP and network-manager, not via DHCP/dhclient, and not via static ip. On the same notebook, everything worked fine under Windows 8. Symptoms: Read More

Android DialogFragment that gives the user some list options to choose from

  • DialogFragment that creates an AlertDialog with the title and options specified in the constructor
  • Can store some a data object (useful if you want the user to select an action on a specific item)
  • Is retained in case of an orientation change
  • Works great with ActionBarSherlock
  • FIXME: do not use custom constructor, but add data with .setArguments and a Bundle

Read More

Using a TI LM35 temperature sensor with Arduino Mega

This is some code I wrote for fun to read the temperature from a TI LM35 temperature sensor and output the result with a speaker as morse code.

Note: Fig. 7 from the LM35 datasheet seems so have a different number in the current version of the datasheet

Read More

1 2 3