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
pStyles = ['Table Cat. No./Price', 'Table Cat. No./Price+', 'CHEM cat no.', 'CHEM cat no.+', 'cat no for pg 176', 'cat no for pg 176+', 'MicroSlides CatNo./Price', 'MicroSlides CatNo./Price+', 'Slide Pricee', 'Slide Price+', 'ChemTopic_CatNo./Price', 'ChemTopic_CatNo./+'] | |
myRegXp = /([A-Z]){1,2}([0-9]){3,4}/ | |
my2RegXp = /([A-Z]){1}([0-9]){1}/ | |
my3RegXp = /([A-Z]){2}/ | |
my5RegXp = /(^[A-Z]+)([0-9]+)/ | |
app.findPreferences = app.changePreferences = null | |
doc = app.activeDocument | |
u = undefined | |
if( doc.indexes.length == 0 ) |
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
<rule name="removeArticles" stopProcessing="true"> | |
<match url="(\/[^\/]*?)\/articles(\/.*)"/> | |
<action type="Rewrite" url="{R:1}{R:2}" appendQueryString="true" /> | |
</rule> |
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
@inherits UmbracoViewPage<Lecoati.LeBlender.Extension.Models.LeBlenderModel> | |
@* | |
topInsights | |
filterByTag | |
*@ | |
@if (Model.Items.Any()) | |
{ | |
var isFrontEnd = Lecoati.LeBlender.Extension.Helper.IsFrontEnd(); |
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" encoding="UTF-8"?><!-- generator="podbean/5.5" --> | |
<rss version="2.0" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/" | |
xmlns:wfw="http://wellformedweb.org/CommentAPI/" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:atom="http://www.w3.org/2005/Atom" | |
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" | |
xmlns:spotify="http://www.spotify.com/ns/rss" | |
> |
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
$.ajax({ | |
url: siteUrl, | |
method: "GET", | |
headers: { "Accept": "application/json; odata=verbose" }, | |
success: function (data) { | |
//do something | |
}, | |
error: function (data) { | |
console.log(JSON.stringify(data)); | |
} |
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
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@{ | |
string domain = "http://" + HttpContext.Current.Request.Url.Host; | |
var canonicalUrl= String.Empty; | |
var theDescr = Model.Content.HasValue("socialShareDescription") ? Model.Content.GetPropertyValue<string>("socialShareDescription") : Model.Content.GetPropertyValue<string>("metaDescription"); | |
var theTitle = Model.Content.HasValue("socialShareTitle") ? Model.Content.GetPropertyValue<string>("socialShareTitle") : Model.Content.GetPropertyValue<string>("pageHeadging"); | |
var twitterDesc = Model.Content.HasValue("twitterSocialShareDescription") ? Model.Content.GetPropertyValue<string>("twitterSocialShareDescription") : theDescr; | |
var ultimateDefault = Model.Content.HasValue("defaultSocialMediaShareImage", true) ? Model.Content.GetPropertyValue<string>("defaultSocialMediaShareImage", true) : "6759"; |
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
$(document).ready(function () { | |
$("table").each(function(){ | |
var thisTable = $(this); | |
thisTable.attr("border","").removeAttr("style").addClass("table table-striped"); | |
$("tr").removeAttr("style"); | |
// $("td").removeAttr("style"); | |
var firstRow = thisTable.find('tr:first-child'); | |
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
@inherits UmbracoViewPage<Lecoati.LeBlender.Extension.Models.LeBlenderModel> | |
@if (Model.Items.Any()) | |
{ | |
var isFrontEnd = Lecoati.LeBlender.Extension.Helper.IsFrontEnd(); | |
foreach (var item in Model.Items) | |
{ | |
var idNum = Guid.NewGuid(); | |
if(isFrontEnd){ |
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
$('#support').click(function () { | |
$(this).fadeOut(); | |
$.ajax({ | |
async: true, | |
type: "POST", | |
url: "/umbraco/surface/votenowsurface/castvote", | |
data: "1", | |
dataType: "html" | |
}) | |
.done(function (data) { |
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.Text; | |
using System.Text.RegularExpressions; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; |
NewerOlder