Skip to content

Instantly share code, notes, and snippets.

Source/Data/DataProvider/SqlDataProviderBase.cs | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Source/Data/DataProvider/SqlDataProviderBase.cs b/Source/Data/DataProvider/SqlDataProviderBase.cs
index 9384602..2ef192e 100644
--- a/Source/Data/DataProvider/SqlDataProviderBase.cs
+++ b/Source/Data/DataProvider/SqlDataProviderBase.cs
@@ -260,9 +260,11 @@ namespace BLToolkit.Data.DataProvider
DestinationTableName = tbl,
};
Test Cases:
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Canvas>
<Button Content="Button"
Width="75"
Height="23"
Canvas.Left="128"
Canvas.Top="97" />
.namespace ICSharpCode.WpfDesign.Designer.themes
{
.class public auto ansi VersionedAssemblyResourceDictionary
extends [PresentationFramework]System.Windows.ResourceDictionary
implements [System]System.ComponentModel.ISupportInitialize
{
.method private hidebysig specialname rtspecialname static void .cctor() cil managed
{
}
@jogibear9988
jogibear9988 / DependenciesVisualizer.linq
Last active August 17, 2018 10:43 — forked from plaurin/DependenciesVisualizer.linq
LinqPad query to generate a DMGL of projects, libraries and NuGet packages dependencies
<Query Kind="Program" />
private string[] projectExtensionExclusions = new[] { ".vdproj", ".ndproj", ".wdproj", ".shfbproj" };
private string rootFolder = @"F:\csharp\git\mcc5\MCC.V1.0";
private string outputFolder = @"F:\csharp\git\mcc5\";
private string nugetFolder = @"C:\Users\jkuehner\.nuget\packages\";
private int intend = 4;
void Main()
@jogibear9988
jogibear9988 / index.html
Created April 21, 2019 07:28
Electron ES6 Imports
you need to add
<base href="app://./" /> to your head section
import { html } from '@polymer/polymer/lib/utils/html-tag';
import { GestureEventListeners } from '@polymer/polymer/lib/mixins/gesture-event-listeners';
import { PolymerElement } from '@polymer/polymer/polymer-element';
import { dom } from '@fortawesome/fontawesome-svg-core/index.es';
import { ImageDTO } from '../../../api/typescripttypes/MCC.Common.ServiceInterfaces.DTO';
import '../../../helper/stylesheetHelper.js';
import { checkSecurityAnswerCode } from '../../checkAnswerCode';
import { UUID } from '../../../libs/uuid/uuid';
import { cropperScriptName } from '../../../externalScripNames';
import { MccImage } from '../../mcc-image';
@jogibear9988
jogibear9988 / gist:8420264d0911ce6c5aab0ac5cda0744e
Last active July 30, 2026 14:27
CSSOM View geometry utilities explainer

CSSOM View geometry utilities explainer

Problem

Web applications that draw overlays, selections, inspection UI, or designer handles need precise element geometry after layout, scrolling, fragmentation, writing modes, and transforms have been applied.

Today they usually approximate this in JavaScript by walking ancestor chains and composing matrices. This is costly for many elements and can diverge from browser layout and painting behavior.

Proposal

This file has been truncated, but you can view the full file.
<script>
(() => {
const svg = (content) =>
`<svg viewBox="0 0 100 100" preserveAspectRatio="xMidYMid meet">${content}</svg>`;
const text = (value, options = "") =>
`<text x="50" y="50" text-anchor="middle" dominant-baseline="middle" ${options}>${value ?? ""}</text>`;
class UiPlace extends HTMLElement {
static get observedAttributes() {
<script style="position:absolute;left:176px;top:-13px;">
(() => {
const svg = (content) =>
`<svg viewBox="0 0 100 100" preserveAspectRatio="xMidYMid meet">${content}</svg>`;
const text = (value, options = "") =>
`<text x="50" y="50" text-anchor="middle" dominant-baseline="middle" ${options}>${value ?? ""}</text>`;
class UiPlace extends HTMLElement {
static get observedAttributes() {
@jogibear9988
jogibear9988 / getboxquads-optimization-stage-benchmark.html
Last active August 21, 2026 16:40
getboxquads-optimization-stage-benchmark.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>GeometryUtils optimization stage benchmark</title>
<style>
body { font: 14px sans-serif; margin: 20px; }
#results { white-space: pre-wrap; }
#fixture { contain: layout style paint; }
</style>
<div id="fixture"></div>
<pre id="results">ready</pre>