Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the mythemeshop domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/jshomoek/public_html/jshowers.com/wp-includes/functions.php on line 6131

Notice: Function register_sidebar was called incorrectly. No id was set in the arguments array for the "Header" sidebar. Defaulting to "sidebar-1". Manually set the id to "sidebar-1" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/jshomoek/public_html/jshowers.com/wp-includes/functions.php on line 6131

Notice: Function register_sidebar was called incorrectly. No id was set in the arguments array for the "Sidebar" sidebar. Defaulting to "sidebar-2". Manually set the id to "sidebar-2" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /home/jshomoek/public_html/jshowers.com/wp-includes/functions.php on line 6131

Deprecated: Function create_function() is deprecated in /home/jshomoek/public_html/jshowers.com/wp-content/themes/jshowers/functions.php on line 190

Deprecated: The called constructor method for WP_Widget class in mts_ad_widget is deprecated since version 4.3.0! Use __construct() instead. in /home/jshomoek/public_html/jshowers.com/wp-includes/functions.php on line 6131

Deprecated: The called constructor method for WP_Widget class in mts_ad_300_widget is deprecated since version 4.3.0! Use __construct() instead. in /home/jshomoek/public_html/jshowers.com/wp-includes/functions.php on line 6131

Deprecated: The called constructor method for WP_Widget class in Facebook_Like_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/jshomoek/public_html/jshowers.com/wp-includes/functions.php on line 6131

Deprecated: The called constructor method for WP_Widget class in mts_subscribe_widget is deprecated since version 4.3.0! Use __construct() instead. in /home/jshomoek/public_html/jshowers.com/wp-includes/functions.php on line 6131
Web Development | Jasper Showers - Custom Web Development

Web Development Archive

AI Vibe Coding A Simple Website For Free – Photos of McFlurry

Result: https://mcflurry.jshowers.com/ My new rescue dog McFlurry is popular at cafes and different places around town. I wanted to make a site featuring some photos of her, including photo metadata like: dates and GPS location data. My goals were to develop this quickly, without touching code, and completely for free. I started a new git [&hellip

Read More…

Making an abstract base class for a Django database model to overwrite the save() function

I was recently faced with the challenge of needing to add translations to a hierarchal database setup in Django/Python. We wanted these translations to be stored in the database for multiple languages (for access through a CMS), where not every field on the model needed to be translated. These translations should be auto generated from [&hellip

Read More…

Where is Jasper (v1)? Connecting Google Calendar, Maps, and Places APIs

Where am I? In real time: whereis.jshowers.com When I went full time digital nomad, I started using a public Google calendar to share with family and friends where I was. This also helped me organize my thoughts and travel dates. I wanted to make a simple graphical representation of this calendar, so I decided to [&hellip

Read More…

Alphabetically Sort A List With Special Characters

Recently I was tasked with sorting a list of countries, that were translated to Portuguese, in alphabetical order. Because the list contained special characters, “normal” Python .sort() was not working, putting the accented characters at the end of the list since their mathematical UTF8 representation was technically after the English alphabet. “África do Sul” should [&hellip

Read More…

Creating a simple MiddlewareFilter using .NET Core 2.0 and dependency injection

A MiddlewareFilter is the perfect tool for creating conditional logic on MVC controllers or actions using .NET Core. It receives the Middleware benefits of natural dependency injection, and also can dip into the MVC pipeline. You can use it conditionally, see current MVC routes, and also short-circuit before the MVC action happens. Here is how to [&hellip

Read More…

Dynamic Routing In ASP.NET Web API

What is dynamic routing? The purpose of dynamic routing is to produce pretty, intuitive URLs on your website that help improve SEO and make your application look more professional. For example, if I own the site ferrets.com and have a database of the different breeds of ferrets, I could use dynamic routing to produce URLs [&hellip

Read More…

Implement Soft Deletes With Entity Framework’s Code First Approach

In order to maintain historical accuracy, data should not be truly deleted from a database. A soft delete can be used to signify a record is no longer valid, while persisting the data for any later use. Usually this is done by adding a “disabled” or “deleted” boolean column to each table on the database. [&hellip

Read More…

Yield: Understanding how ‘Yield’ works in the .NET Framework

I first noticed the yield keyword on some shared code at work about a year ago. Befuddled, I read MSDN’s description of the yield keyword a few times, yet I still didn’t completely understand it. In traffic law, the yield sign is defined as follows: A yield sign indicates that each driver must prepare to stop [&hellip

Read More…

Scrape A Facebook Page And Turn It Into WordPress Posts Using PHP

A friend of mine, who runs the facebook page borkborkiamdoggo, approached me a few months ago wanting to set up a WordPress site that would consist of posts from the Facebook page. Each Facebook post with an image, should turn into a post on the WordPress site, helping to engage SEO and visibility to the [&hellip

Read More…

Detecting Motion Using A Raspberry Pi, Adafruit Motion Sensor, And NodeJS

I am working on a side project which involves a Raspberry Pi (model 2B) and an Adafruit PIR motion sensor. I decided early on that I do not want to learn and use Python, the more “native” programming language usually used to interact with the Raspbian OS. Rather, I would use NodeJS, the server-side language that [&hellip

Read More…