This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```js | |
#onChange(event: InputEvent) { | |
if (event.target && event.target instanceof HTMLElement) { | |
const target = event.target; | |
const firstShadowRoot = target.shadowRoot; | |
if (firstShadowRoot) { | |
const umbInputDocument = firstShadowRoot.querySelector('umb-input-document'); | |
if (umbInputDocument && umbInputDocument.shadowRoot) { | |
const refList = umbInputDocument.shadowRoot.querySelector('uui-ref-list'); | |
if (refList) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text.Json; | |
using Umbraco.Cms.Core.Composing; | |
using Umbraco.Cms.Core.Events; | |
using Umbraco.Cms.Core.Notifications; | |
namespace MySite; | |
public class FilenameHandler : IComposer | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Slimsy.DependencyInjection; | |
using Umbraco.Cms.Core.Composing; | |
namespace MyProject; | |
public class RegisterDependencies : IComposer | |
{ | |
public void Compose(IUmbracoBuilder builder) | |
{ | |
builder.AddSlimsy(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Hangfire; | |
using Umbraco.Cms.Core; | |
using Umbraco.Cms.Core.Composing; | |
using Umbraco.Cms.Core.Services; | |
namespace UmbraCalendar.Jobs; | |
public class Scheduler : IComposer | |
{ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#DA627D", | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text.Json.Serialization; | |
using J2N.Collections.Generic; | |
using Microsoft.AspNetCore.Mvc; | |
using Newtonsoft.Json; | |
namespace Cultiv.Controllers; | |
[ApiController] | |
[Route(".well-known/[controller]")] | |
[Produces("application/json")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN MESSAGE. | |
QkdLqCt3lF4Xp7t Vlh2wiA6frPZWbb kFCMyGHaPwmGgSP LsFYHjUo0BKQ1lx | |
18yd71fqWXmD3iW hMQEafmtZ5PTCKq 6Xr2MZHgg77vfn7 Zbp4ahAceopUB9L | |
2e8iD4hNCSKT7Pc id7EsqGyMRXgYmI XZcKeV0HZXNtzXk y823ngxPxGDA0q0 | |
bH58l6v9xdAN8Ng GzGtGzfl29dtpFm zkRYg3KrLsWxFio Lq4AH. | |
END MESSAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Hangfire; | |
using Hangfire.Console; | |
using Hangfire.Server; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Logging; | |
using Umbraco.Cms.Core.Composing; | |
namespace Collaborators.Web; | |
public interface IAwesomeService | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Examine; | |
using Examine.Lucene; | |
using Lucene.Net.Analysis.Standard; | |
using Lucene.Net.Index; | |
using Lucene.Net.Util; | |
using Microsoft.Extensions.Options; | |
using Umbraco.Cms.Core.Composing; | |
using Umbraco.Cms.Core.Configuration.Models; | |
using Umbraco.Cms.Core.Models; | |
using Umbraco.Cms.Core.Scoping; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Examine; | |
using Examine.Lucene; | |
using Microsoft.Extensions.Options; | |
using Umbraco.Cms.Core; | |
using Umbraco.Cms.Core.Composing; | |
using Umbraco.Cms.Core.Security; | |
using Umbraco.Cms.Core.Services; | |
using Umbraco.Cms.Core.Web; | |
namespace MyProject; |
NewerOlder