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
#region Imports | |
using System; | |
using System.Globalization; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
#endregion | |
public static class HtmlEncoder |
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
namespace Ext.IO | |
{ | |
#region Imports | |
using System; | |
using System.IO; | |
using System.Diagnostics; | |
#endregion | |
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; | |
static class ArrayExtensions { | |
public static void StableSort<T>(this T[] values, Comparison<T> comparison) { | |
var pairs = new KeyValuePair<int, T>[values.Length]; | |
for (var i = 0; i < values.Length; i++) | |
pairs[i] = new KeyValuePair<int, T>(i, values[i]); | |
Array.Sort(pairs, values, new StabilizingComparer<T>(comparison)); |
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
#region Imports | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Collections; | |
using System.Configuration; | |
using System.IO; | |
#endregion |
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
Array.range = function(start, end) | |
{ | |
if (!end) | |
{ | |
end = start; | |
start = 0; | |
} | |
var a = []; | |
for (var i = start; i < end; i++) |
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; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Threading; | |
internal static class Program | |
{ | |
private static void Main(string[] args) | |
{ |
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
@echo off | |
setlocal | |
set TZ=UTC0 | |
rem GNU ls for Microsoft Windows: | |
rem http://utools.com/msls.asp | |
rem Tip: --time-style="+%Y-%m-%d %H:%M:%S %z" | |
ls %* |
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
#region Imports | |
using System; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Collections; | |
using System.Collections.Generic; | |
#endregion | |
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
// | |
// Recyclable Delete Utility (RDEL) | |
// Written by Atif Aziz | |
// http://www.raboof.com/ | |
// | |
// Copyright (c) 2004-8 Atif Aziz. All rights reserved. | |
// | |
// DISCLAIMER: The software and source code is provided "AS IS" with no | |
// warranties of any kind. The entire risk arising out of the use or | |
// performance of the software and source code is yours. |
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
@ECHO OFF | |
:: Set all parameters. Even though most are not used, in case you want to add | |
:: changes that allow, for example, editing of the author or addition of log messages. | |
set repository=%1 | |
set revision=%2 | |
set userName=%3 | |
set propertyName=%4 | |
set action=%5 | |
:: Only allow the log message to be changed, but not author, etc. |