Running Local Web Pages in CefSharp.WPF

I needed to create a program which will run a web page from the local file system. Using the WebBrowser control wasn’t really an option since that uses the Trident engine which didn’t support many of the things we were trying to do in the web page. I went with the latest build of CefSharp.Wpf, but that doesn’t natively run local files, so it had to be modified. Fortunately, I found some posts on how to enable that feature (here and here) – however, the first link was for an older version of CefSharp, and the second link only works with static resource files. I ended up merging both concepts to get it to work. ...

January 19, 2017 · 3 min · filip

The jQuery Bloodforge Smoke Effect

Adjust the smoke in this post header Color Opacity Speed Particle Size Density ...

June 12, 2015 · 1 min · filip

Thermostat Statistics via Logs for Honeywell Prestige IAQ 2

I created a log viewer for my Honeywell thermostat. In addition to providing a much more friendly way of viewing log files, it aggregates logs over time allowing for some pretty neat analysis. The site is located at http://energy.bloodforge.com (sorry, but this site isn’t active anymore)

November 21, 2014 · 1 min · filip

Updating my BlogEngine.NET blog to use SSL (HTTPS) from HTTP

I’m using this post to document how I upgraded my blog for HTTPS. The first thing I needed to do was to get a SSL certificate. I really didn’t feel like paying for one, so I went with a free certificate from StartSSL. Their free certificates expire after a year (I wish it was longer), so I’ll need to do this again next year.  But they work and… they’re free. After I got my p12 certificate above, I asked my web host (Arvixe) to set everything up. It took them about 2 days (it was the weekend though, so maybe it would have been faster if it was during the week). This was pretty much the easiest part since all I had to do was to provide them with the cert, and they got it installed and set up the correct ports for HTTPS. ...

October 28, 2014 · 1 min · filip

jQuery 1.9 and UI 1.10 tabs with cookies

Seems like jQuery UI got rid of maintaining state with the latest implementation. Before, it pretty simple to keep state across page loads with jQuery tabs. This is one possible way to do it with the new code.  Its still pretty easy, just a little different. $("#tabs").tabs({ activate: function (e, ui) { $.cookie('selected-tab', ui.newTab.index(), { path: '/' }); }, active: $.cookie('selected-tab') });

January 2, 2013 · 1 min · filip

My fix for: Application Descriptor File Cannot be Parsed in CS6

I received the following error when trying to publish to Android and iOS from Flash CS6 (Air 3.2): Application Descriptor File Cannot be Parsed Searching for a fix yielded that my file is probably invalid, but this is not the case as I can run this project just file from another computer. Turns out that this problem came up because I was running my FLA out of a network location (i.e, \\Server\path\). Mapping the network drive to an actual drive letter fixed the problem.

August 18, 2012 · 1 min · filip

fl.text.TCMText and TLFTextField: Why does it appear?

This is a note to self: Flash generates TCMText when a TLFTextField does not have an instance name. Flash Source: http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/

July 5, 2012 · 1 min · filip

Adobe Creative Cloud Subscription for Business Catalyst Website

We recently got the Adobe Creative Cloud subscription at work, and I wanted to check out their web hosting plan – one of the features is hosting for up to five websites. Step 1: Creating a Website I’ve never hosted a website with Adobe (or, more specifically, Business Catalyst), so I wasn’t sure where to start.  I looked around the website, and eventually found that there are three ways to create a website: ...

June 21, 2012 · 4 min · filip

Improving Google Page Speed Score for BlogEngine

I was getting a 72/100 score from Google Page Speed, so I attempted to improve that a bit. I added caching to static resources via the web config, which raised my score by about 10: <staticContent> <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" /> <remove fileExtension=".mp4" /> <remove fileExtension=".gif" /> <remove fileExtension=".htm" /> <remove fileExtension=".html" /> <remove fileExtension=".jpeg" /> <remove fileExtension=".jpg" /> <remove fileExtension=".js" /> <remove fileExtension=".png" /> <remove fileExtension=".txt" /> <mimeMap fileExtension=".mp4" mimeType="video/mp4" /> <mimeMap fileExtension=".gif" mimeType="image/gif" /> <mimeMap fileExtension=".htm" mimeType="text/html" /> <mimeMap fileExtension=".html" mimeType="text/html" /> <mimeMap fileExtension=".jpeg" mimeType="image/jpeg" /> <mimeMap fileExtension=".jpg" mimeType="image/jpeg" /> <mimeMap fileExtension=".js" mimeType="application/x-javascript" /> <mimeMap fileExtension=".png" mimeType="image/png" /> <mimeMap fileExtension=".txt" mimeType="text/plain" /> </staticContent> New page score: 82/100 ...

February 22, 2012 · 1 min · filip

Disqus Recent Comments, Top Commenters, and Most Discussed Widget for BlogEngine.NET

After I switched to Disqus comments, I noticed that my recent comments widget no longer worked. So I wrote a new widget that adds some JavaScript to the web page which includes the recent comments (and a few other options, if desired) when using Disqus. The widget is is available on the blogengine.net gallery website. Known issues -The character limit when using the combination look doesn’t seem to be working. I need to look into this more, but right now it seems Disqus is ignoring the character count.

February 21, 2012 · 1 min · filip