This file contains hidden or 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
| [assembly: WebActivatorEx.PreApplicationStartMethod(typeof(Ascend.Core.Application.App_Start.NinjectWebCommon), "Start")] | |
| [assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(Ascend.Core.Application.App_Start.NinjectWebCommon), "Stop")] | |
| namespace Ascend.Core.Application.App_Start | |
| { | |
| using System; | |
| using System.Linq; | |
| using System.Web; | |
| using Microsoft.Web.Infrastructure.DynamicModuleHelper; |
This file contains hidden or 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
| 2 | |
| 3 | |
| 5 | |
| 7 | |
| 11 | |
| 13 | |
| 17 | |
| 19 | |
| 23 | |
| 29 |
This file contains hidden or 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
| repositories { | |
| mavenCentral() | |
| } | |
| apply plugin:'java' | |
| configurations { | |
| metamodel | |
| validator | |
| processor |
This file contains hidden or 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
| def doesModuleExist(def notation) { | |
| try { | |
| def dep = project.dependencies.create(notation) | |
| def conf = project.configurations.detachedConfiguration(dep) | |
| // force resolution | |
| def files = conf.files | |
| } catch (Exception e) { | |
| e.printStackTrace() | |
| return false |
This file contains hidden or 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
| WITH CT AS ( | |
| SELECT * | |
| FROM umbracoNode | |
| WHERE (nodeObjectType = 'A2CB7800-F571-4787-9638-BC48539A0EFB') | |
| ), | |
| L1 AS ( | |
| SELECT *, 1 'NewLevel', CAST(parentID as varchar) + ',' + CAST(id as varchar) 'NewPath' | |
| FROM CT | |
| WHERE parentID = -1 | |
| ), L2 AS ( |
This file contains hidden or 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
| <div class="datagrid_hack"></div> | |
| <script> | |
| (function ($) { | |
| // check so that this code only fires once. | |
| if ($._datagridHack) { | |
| return; | |
| } | |
| $._datagridHack = function () { | |
| var root = $('.datagrid_hack'); |
This file contains hidden or 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
| apply plugin: 'java' | |
| apply plugin: 'maven-publish' | |
| task sourceJar(type: Jar) { | |
| from sourceSets.main.allJava | |
| } | |
| task dummy << { |
This file contains hidden or 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
| repositories { | |
| mavenCentral() | |
| mavenLocal() | |
| } | |
| apply plugin: 'java' | |
| apply plugin: 'eclipse' | |
| apply from: 'gradle/sonatype.gradle' | |
| group = 'com.darylteo' |
This file contains hidden or 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
| apply plugin: 'java' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| compile group: 'net.spy', name:'spymemcached', version: '2.10.3' | |
| } |
This file contains hidden or 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
| apply plugin: 'maven' | |
| apply plugin: 'signing' | |
| project.afterEvaluate { | |
| def release = !project.version.endsWith('-SNAPSHOT') | |
| def sonatypeUsername = project.hasProperty('sonatypeUsername') ? project.sonatypeUsername : ''; | |
| def sonatypePassword = project.hasProperty('sonatypePassword') ? project.sonatypePassword: ''; | |
| configurations { |