After a server crash a wanted to compare all actual files with the backuped data. An easy way is to compare the md5 hashes like that: First create recursively md5 hashes from all files in that directory: find ./backup -type f -print0 | xargs -0 md5sum > /checksums_backup.md5find ./backup -type f -print0 | xargs -0 […]
…yeah, this thing happened only once, but its a great example: I heavily use email on my mobile phone. Actually, i’m using ssl for sending emails. Suddenly out of nothing it stopped working. Receiving via imaps wasn’t a problem, but outgoing mail stuck with “unrecognized command”. Yeah, great. Checked configs in my phone, on my […]
Thinks i keep forgetting. Today: Enabling a JTree in J2SE to show different tooltips on his nodes: 1. Create a custom tree renderer like so: import java.awt.Component; import javax.swing.JTree; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultTreeCellRenderer; public class TooltipTreeRenderer extends DefaultTreeCellRenderer { @Override public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int […]
Behold, here comes the iPhone app all retards have been waiting for: I Am Rich. Actually, i think it’s kinda funny, although i guess some people won’t get the joke. Edit: Oh and by the way, it seems, you’re never alone as the iPhone keeps iphoning ihome. ipuke, iguess.