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
'use strict'; | |
function ctSuperFunction() { | |
function loadAd$jscomp$0() { | |
try { | |
if (jqNoti(_0x982e$jscomp$0[6] + AD_ID$jscomp$0)[_0x982e$jscomp$0[5]] === 0 && matchedView !== undefined && matchedView !== null) { | |
var _0xec25xb$jscomp$0 = matchedView[_0x982e$jscomp$0[7]]; | |
switch (_0xec25xb$jscomp$0) { | |
case _0x982e$jscomp$0[8]: | |
case _0x982e$jscomp$0[9]: |
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
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// ---- | |
@function returnHexValue($color){ | |
@debug $color; | |
@if $color == "white" { | |
@return "#fff"; | |
} |
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
angular.module("app") | |
.directive('icheck', function ($timeout, $parse) { | |
return { | |
require: 'ngModel', | |
link: function ($scope, element, $attrs, ngModel) { | |
return $timeout(function () { | |
var value; | |
value = $attrs['value']; | |
$scope.$watch($attrs['ngModel'], function (newValue) { |
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
'use strict'; | |
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
plumber = require('gulp-plumber'), | |
autoprefixer = require('gulp-autoprefixer'), | |
sourcemaps = require('gulp-sourcemaps'), | |
ts = require('gulp-typescript'), | |
notify = require("gulp-notify"), | |
through = require('through2'); |
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
protected void Application_Start(object sender, EventArgs e) | |
{ | |
Telerik.Sitefinity.Abstractions.Bootstrapper.Initialized += new EventHandler<Telerik.Sitefinity.Data.ExecutedEventArgs>(this.Bootstrapper_Initialized); | |
} | |
private void Bootstrapper_Initialized(object sender, Telerik.Sitefinity.Data.ExecutedEventArgs e) | |
{ | |
if (e.CommandName == "Bootstrapped") | |
{ | |
EventHub.Subscribe<ISitemapGeneratorBeforeWriting>(Before_Writing); |
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
protected void Application_BeginRequest(object sender, EventArgs e) | |
{ | |
string strUrl = Request.Path.ToLowerInvariant(); | |
//Code block to redirect the generic request to the correct sitemap index and sitemap XML | |
if (new Regex(@"^/sitemap\.xml", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant).IsMatch(Request.Path)) | |
HttpContext.Current.RewritePath("/sitemap.ashx"); | |
} |
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; | |
class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
Console.WriteLine("Enter the number upto which you want to list primes"); | |
int n = Convert.ToInt32(Console.ReadLine()); | |
bool[] prime = new bool[n + 1]; // default value is false for boolean |