image_pdfimage_print

PowerShell – Splitting large log files

Have you ever found an issue with one of your systems and gone digging for the log file, only to find out that the file is too big to open for reading? There are a number of ways you can use in the *nix world, but for the Windows folks I’ve created a simple script to let you split the …

Nice Flash messages in Rails 2 and Rails 3

I’ve been doing some Rails work recently and one of the things that I’ve found to be a nice aesthetic add-on is putting some nicer flash messages in. Over at dzone.com there is an example which I’ve worked off of – http://snippets.dzone.com/posts/show/3145 The example is as follows. Add this section to your application_helper.rb def show_flash [:notice, :warning, :message].collect do |key| …