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.ComponentModel.DataAnnotations.Schema; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.Reflection; | |
using System.Threading.Tasks; | |
namespace Common.SqlServer.BulkOperations | |
{ |
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 v5 snippets | |
angular files | |
angular language service | |
brackets pair colorizer | |
material icon theme | |
path intellisense | |
tslint | |
nuget package manager | |
Debugger for chrome |
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 Microsoft.CodeAnalysis.CSharp.Scripting; | |
using Microsoft.CodeAnalysis.Scripting; | |
namespace CorePlayground | |
{ | |
public class Album | |
{ |
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 Web.Widgets.Search.Mvc.Models.View; | |
@model PagingData | |
<ul class="pagination"> | |
@if (Model.DisplayPrev) | |
{ | |
<li><a class="prev-page-url" href="@Model.PrevUrl">Previous</a></li> | |
} |
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
------------- GenerateForumsSpamProtectionNuGetPackages.ps1 --------------- | |
[CmdletBinding()] | |
Param( | |
[alias("sln")] | |
$slnName = "Web.SitefinityModules.PublishingExtender", | |
[alias("slnDir")] | |
$slnDirectory = $null, | |
[alias("outDir")] | |
$outputDir = "C:\LEAN\local-nuget-repository", | |
[alias("projects")] |
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
param ( | |
[string]$path = $(Read-Host "Path to folder") | |
) | |
$foldersToDelete = Get-ChildItem -Path $path -Recurse -Name "bin" -Directory | %{ Join-Path -Path $path -ChildPath $_.ToString() } | |
Remove-Item $foldersToDelete -Recurse -Confirm:$false | |
#Write-Host $foldersToDelete |
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 example | |
$(function(){ | |
var webSocket = window.WebSocket || window.MozWebSocket, | |
ws = new webSocket('ws://localhost:8181'); | |
ws.onopen = function(e){ | |
console.log('Connection opened'); | |
} | |
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; | |
namespace EventManager | |
{ | |
public class EventManager | |
{ | |
private static EventManager instance = null; | |
public static EventManager Instance | |
{ |
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.Net; | |
using System.Text; | |
using System.Threading; | |
namespace WebPageWatcher | |
{ | |
public class Program | |
{ | |
public static State state; |
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
// This script exports photoshop layers as individual PNGs. It also | |
// writes a JSON file that can be imported into Spine where the images | |
// will be displayed in the same positions and draw order. | |
// Setting defaults. | |
var writePngs = true; | |
var writeTemplate = false; | |
var writeJson = true; | |
var ignoreHiddenLayers = true; | |
var pngScale = 1; |
NewerOlder