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
#include <MIDI.h> | |
#include <SoftwareSerial.h> | |
#include <DFPlayer_Mini_Mp3.h> | |
#include <math.h> | |
SoftwareSerial mySerial(11, 10); // RX, TX | |
MIDI_CREATE_DEFAULT_INSTANCE(); | |
bool isMp3Mode = false; |
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
public static bool UseLegacyEditors() | |
{ | |
return UmbracoVersion.Current < new Version(7, 4); | |
} | |
var someRoutePath = Core.Configuration.UseLegacyEditors() | |
? "/myApp/treeAlias/edit-legacy/" + someObj.Id | |
: "/myApp/treeAlias/edit/" + someObj.Id; |
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 Umbraco.Core; | |
using Umbraco.Web.Editors; | |
namespace Our.Umbraco | |
{ | |
public class MyBootstrapper : ApplicationEventHandler | |
{ | |
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) | |
{ | |
EditorModelEventManager.SendingContentModel += (sender, e) => |
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
<?xml version="1.0"?> | |
<!-- | |
Umbraco examine is an extensible indexer and search engine. | |
This configuration file can be extended to create your own index sets. | |
Index/Search providers can be defined in the UmbracoSettings.config | |
More information and documentation can be found on CodePlex: http://umbracoexamine.codeplex.com | |
--> | |
<ExamineLuceneIndexSets> | |
<IndexSet SetName="PDFIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/PDFs" /> |
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
{ | |
javascript: [ | |
'~/App_Plugins/YourPackage/your.controller.js', | |
'~/App_Plugins/YourPackage/umbraco-editor-with-config.js', | |
] | |
} |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Web; | |
using Umbraco.Core; | |
using Umbraco.Web; | |
using Umbraco.Web.Models.ContentEditing; |