From: http://thecodeplayer.com/walkthrough/css3-family-tree
A Pen by Emil Devantie Brockdorff on CodePen.
| using Microsoft.EntityFrameworkCore.Infrastructure; | |
| using Microsoft.EntityFrameworkCore.Migrations; | |
| using Oqtane.Databases.Interfaces; | |
| using Oqtane.Migrations.EntityBuilders; | |
| using Oqtane.Repository; | |
| using Oqtane.Shared; | |
| namespace Oqtane.Migrations.Tenant | |
| { | |
| [DbContext(typeof(TenantDBContext))] |
| using Microsoft.EntityFrameworkCore.Infrastructure; | |
| using Microsoft.EntityFrameworkCore.Migrations; | |
| using Oqtane.Databases.Interfaces; | |
| using Oqtane.Migrations.EntityBuilders; | |
| using Oqtane.Repository; | |
| using Oqtane.Shared; | |
| namespace Oqtane.Migrations.Tenant | |
| { | |
| [DbContext(typeof(TenantDBContext))] |
| public static class ExceptionExtensions | |
| { | |
| public static List<Exception> FlattenInnerExceptions(this Exception exception) | |
| { | |
| return exception | |
| .DepthFirstSearchInnerExceptions() | |
| .Distinct() | |
| .Reverse() | |
| .ToList(); | |
| } |
| // see original doco here - https://github.com/AddressFinder/addressfinder-gravity-forms | |
| // change field ids to suit your form fields.. | |
| // this not processing the country field... | |
| <script> | |
| (function() { | |
| var widget, initAddressFinder = function() { | |
| widget = new AddressFinder.Widget( | |
| document.getElementById('input_1_3_1'), | |
| 'YOUR_KEY', |
| <?php // do not copy this line | |
| /** | |
| * This function/filter will add ics files from bookings created with WooCommerce Bookings to | |
| * the Processing and Completed emails sent from WooCommerce itself. | |
| * @param arr $attachments Current array of attachments being filtered. | |
| * @param str $email_id The id of the email being sent. | |
| * @param obj $order The order for which the email is being sent. | |
| * @return arr The filtered list of attachments. | |
| */ |
| <?php | |
| /** | |
| * Plugin Name: WC Redirect to checkout | |
| * Plugin URI: http://stackoverflow.com/q/32962653/383847 | |
| * Description: Redirect to checkout for certain products | |
| * Version: 1.0.1 | |
| * Author: Kathy Darling | |
| * Author URI: http://kathyisawesome.com | |
| * Requires at least: 3.8 | |
| * Tested up to: 3.9 |
A collection of 100 tongue-in-cheek (yet oddly accurate) equations that model the beautiful chaos of software development.
This is your unofficial developer physics engine — balancing caffeine, meetings, deadlines, and dreams.
From productivity and debugging, to cognitive load, burnout, and system resilience — it's all math now.
💡 All equations are in LaTeX-style math, rendered in Markdown using
$$...$$.