Catfood Weather 2.20

By Robert Ellison. Updated on Wednesday, February 22, 2017.

Catfood Weather 2.20

Catfood Weather 2.20 fixes a problem with the forecast failing to update (the National Weather Service changed the URL of the web service that Catfood Weather uses and while they were kind enough to put a redirect in place it was a form of redirect that didn't play nicely with WebClient so a patch is needed).

In addition this release should fix the ignore alerts feature. It's one of those cases that after not having looked at the code for a couple of years I suddenly realized that the implementation was fatally flawed (bordering on idiotic) and could never have worked. Should be better now.

Download Catfood Weather 2.20.

(previously)

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Catfood Weather 2.20 #code #weather Catfood Weather 2.20 is a critical update that fixes the forecast and also corrects the ignore alerts feature. )

Summer Solstice 2015 in Catfood Earth

By Robert Ellison. Updated on Thursday, November 12, 2015.

Summer Solstice 2015 in Catfood Earth

Summer starts right now in the Northern Hemisphere, Winter in the southern. Rendered in Catfood Earth with the timezone layer (Windows, Android).

(previously, previously)

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Summer Solstice 2015 in Catfood Earth #code #solstice #summer #winter #earth #northern #estival The exact moment of Summer Solstice 2015 as rendered in Catfood Earth )

Catfood Earth 3.40

By Robert Ellison. Updated on Monday, May 31, 2021.

Catfood Earth 3.40

I've just released Catfood Earth 3.40 for Windows and 1.50 for Android.

Both updates fix a problem with the clouds layer not updating. The Android update also adds compatibility for Android 5 / Lollipop.

Also, Catfood Earth for Android is now free. I had been charging $0.99 for the Android version but I've reached the conclusion that I'm never going to retire based on this (or even buy more than a couple of beers) so it's not worth the hassle. Catfood Earth for Windows has been free since 3.20.

Enjoy!

Add your comment...

Related Posts

(All Code Posts)

Vernal Equinox 2015

By Robert Ellison. Updated on Wednesday, February 22, 2017.

Vernal equinox 2015 in Catfood Earth

Spring starts right now, unless you're south of the equator in which case welcome to Autumn. Rendered in Catfood Earth (Windows, Android).

(Previously)

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Vernal Equinox 2015 #code #earth #equinox #spring #autumn #vernal The exact moment of Vernal Equinox 2015 rendered in Catfood Earth. )

Volcanoes Back (Catfood Earth 3.30)

By Robert Ellison. Updated on Monday, May 31, 2021.

Volcanoes Back (Catfood Earth 3.30)

Catfood Earth fans will want to download Catfood Earth 3.30. This update fixes a problem where volcanoes were all plotted in the middle of the screen.

Add your comment...

Related Posts

(All Code Posts)

Winter Solstice 2014

By Robert Ellison. Updated on Thursday, November 12, 2015.

Winter Solstice 2014

Winter starts now in the northern hemisphere, Summer south of the equator. Rendered in Catfood Earth (Windows, Android).​ Now read why mornings will continue to get darker for the next couple of weeks.

(Previously)

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Winter Solstice 2014 #code #earth #solstice #winter #summer #hibernal #southern The exact moment of Winter Solstice 2014 as rendered in Catfood Earth, )

Crushing PNGs in .NET

By Robert Ellison. Updated on Thursday, May 13, 2021.

Crushing PNGs in .NET

I'm working on page speed and Google PageSpeed Insights is telling me that my PNGs are just way too large. Sadly .NET does not provide any way to optimize PNG images so there is no easy fix - just unmanaged libraries and command line tools.

I have an allergy to manual processes so I've lashed up some code to automatically find and optimize PNGs in my App_Data folder using PNGCRUSH. I can call CrushAllImages() to fix up everything or CrushImage() when I need to fix up a specific PNG. Code below:

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Crushing PNGs in .NET #code #png #compression #crush #asp.net #mvc How to automatically reduce the size of PNG images for a .NET website using PNGCRUSH. )

Autumnal Equinox 2014

By Robert Ellison. Updated on Wednesday, February 22, 2017.

Autumnal Equinox 2014

Autumn starts now in the northern hemisphere, Spring in the southern. Rendered in Catfood Earth (Windows, Android).

(Previously)

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Autumnal Equinox 2014 #code #earth #equinox #autumnal The exact moment of Autumnal Equinox 2014 rendered in Catfood Earth. )

Minify and inline CSS for ASP.NET MVC

By Robert Ellison. Updated on Wednesday, April 28, 2021.

Minify and inline CSS for ASP.NET MVC

ASP.NET has a CssMinify class (and a JavaScript variant as well) designed for use in the bundling pipeline. But what if you want to have your CSS minified and inline? Here is an action that is working for me (rendered into a style tag on my _Layout.cshtml using @Html.Action("InlineCss", "Home")).

Note that I'm using this to inline CSS for this blog. The pages are cached so I'm not worried about how well this action performs. My blog is also basically all landing pages so I'm also not worried about caching a non-inline version for later use, I just drop all the CSS on every page.

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Minify and inline CSS for ASP.NET MVC #code #asp.net #mvc #css #inline #minify How to use ASP.NET MVC bundles to inline CSS and JavaScript for high performing landing pages. )

Summer Solstice 2014

By Robert Ellison. Updated on Thursday, November 12, 2015.

Summer Solstice 2014

It's the start of Summer in the Northern Hemisphere, Winter if you live south of the equator or in San Francisco. Rendered in Catfood Earth.

Add your comment...

Related Posts

(All Code Posts)

(Published to the Fediverse as: Summer Solstice 2014 #code #earth #solstice #northern #summer #winter #estival The exact moment of Summer Solstice 2014 rendered in Catfood Earth. )