Simpler Puppet Manifests – Resource Defaults and Manifest Ordering

Tips to make your Puppet manifests shorter and easier to read. Resource defaults: If I say ‘package’, of course I want it installed. Services are usually running and enabled at boot. Manifest ordering: Top-down, so I don’t have to ‘require’ … Continue reading

Posted in Uncategorized | Tagged , , , , , | 1 Comment

Git trick: Colored Web Page with Changes Highlighted

With git, you can create a web page with changed words highlighted. Red==removed, green==added. When you have found a colleague, friend or a supervisor who can provide useful feedback, great! When you make the changes and ask for more feedback, … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Comments Off on Git trick: Colored Web Page with Changes Highlighted

Disable touchpad when typing – syndaemon

Does your palm hit your touchpad when you type? Syndaemon momentarily disables touchpad when typing, with many extra features.

Posted in Uncategorized | Tagged , , , , , , , , , | Comments Off on Disable touchpad when typing – syndaemon

Two Common MySQL Tricks: LAST_INSERT_ID() and Trash

Create a new database item, then open it for editing: LAST_INSERT_ID(). Undo is better than “are you sure”. Mark items deleted, then empty trash when sure. Read the basics first: MySQL Install and One Table Database – SQL CRUD tutorial … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Comments Off on Two Common MySQL Tricks: LAST_INSERT_ID() and Trash