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 class MajesticResolver | |
{ | |
public class Results | |
{ | |
public string Error { get; set; } | |
public Result Result { get; set; } | |
public Results() | |
{ | |
Result = new Result(); |
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.RegularExpressions; | |
namespace App.Extensions | |
{ | |
/// <summary> | |
/// Generate slug from string | |
/// </summary> | |
public static class SlugExtensions | |
{ | |
/// <summary> |
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
/* | |
when build, this will prefix all rules with "namespaced-bootstrap" | |
*/ | |
.namespaced-bootstrap { | |
@import (less) url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.css'); | |
} |
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
/* | |
https://run.plnkr.co/plunks/Sv54t4/ | |
*/ | |
function anyToKebab(s) { | |
if('string' !== typeof s) return s; | |
var result = '', i = 0, len = s.length; | |
for(; i < len; i++) | |
if(s[i] === s[i].toUpperCase()) | |
result += '-' + s[i].toLowerCase(); | |
else |
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
<!-- | |
https://plnkr.co/edit/MaCgoj | |
--><!DOCTYPE html> | |
<html ng-app="myApp"> | |
<head> | |
<link data-require="bootstrap-css@3.3.6" data-semver="3.3.6" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.css" /> | |
<script data-require="angularjs@1.5.8" data-semver="1.5.8" src="https://opensource.keycdn.com/angularjs/1.5.8/angular.min.js"></script> | |
<script> | |
var myApp = angular.module('myApp',[]); | |
myApp.controller('TestController', ['$scope', function($scope) { |
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
[ | |
{ | |
"abbr": "a-", | |
"origin": "atom" | |
}, | |
{ | |
"abbr": "AB", | |
"origin": "andelsboligforening" | |
}, | |
{ |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>j</title> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> | |
</head> | |
<body> |
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.Collections.Generic; | |
using System.Linq; | |
using Examine.LuceneEngine.Providers; | |
using Lucene.Net.Index; | |
using Examine; | |
namespace UmbracoExamineApi | |
{ | |
public static class LuceneIndexerExtensions | |
{ |
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; | |
namespace Cabana.UmbracoExamineApi | |
{ | |
public static class StringExtensions | |
{ | |
/// <summary> | |
/// VanDamme split |
OlderNewer