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.IO; | |
using System.Linq; | |
using System.Text; | |
namespace SuffixTreeAlgorithm | |
{ | |
public class SuffixTree | |
{ |
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
/* | |
HTTP/HTTPS Forward Proxy | |
------------------------ | |
The purpose of this proxy is to manage a set of third party proxies | |
internally, routing incoming requests through those proxies and | |
rotating which remote proxies are in use periodically as requests come | |
through, and without exposing the proxy credentials to the originating | |
client. Rate limiting will later be implemented internally so that if | |
the remote proxies have all been utilised too heavily, a "rate limit | |
exceeded" message will be returned to the client. |
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> | |
<head> | |
<title>Sortable List</title> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="sortable-list.js"></script> | |
<script> | |
$(function() { $('#rows').sortablelist(); }); | |
</script> | |
<style type="text/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
/* | |
MyIOC - IOC Container for TypeScript/JavaScript | |
designed and developed by Nathan Ridley | |
------------------------------------------------------------------ | |
Copyright (c) 2013 Nathan Ridley ([email protected]). | |
All rights reserved. | |
Redistribution and use in source and binary forms are permitted | |
provided that the above copyright notice and this paragraph are |
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
// both arrays should be presorted | |
function computeArrayUpdateOperations(oldarr, newarr, compare) { | |
if (!compare) | |
compare = computeArrayUpdateOperations.compare; | |
var l = 0, r = 0, p = 0, | |
op = null, ops = [], | |
leof = l >= oldarr.length, reof = r >= newarr.length; | |
while (!(leof && reof)) { | |
if (!leof && (reof || compare(oldarr[l], newarr[r]) < 0)) { | |
if (op && op[0] === '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
namespace SharpDx1 | |
{ | |
class HelloWorld | |
{ | |
[STAThread] | |
public static void Main() | |
{ | |
var app = new HelloWorld(); | |
app.Run(); | |
} |
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 SharpDX; | |
using SharpDX.Direct2D1; | |
using SharpDX.Direct3D10; | |
using SharpDX.DirectWrite; | |
using SharpDX.DXGI; | |
using SharpDX.Windows; | |
using AlphaMode = SharpDX.Direct2D1.AlphaMode; | |
using Device1 = SharpDX.Direct3D10.Device1; |
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.Windows.Forms; | |
using SharpDX; | |
using SharpDX.D3DCompiler; | |
using SharpDX.Direct3D; | |
using SharpDX.Direct3D11; | |
using SharpDX.DXGI; | |
using SharpDX.Windows; | |
using Buffer = SharpDX.Direct3D11.Buffer; | |
using Device = SharpDX.Direct3D11.Device; |
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.Windows.Forms; | |
using SharpDX; | |
using SharpDX.D3DCompiler; | |
using SharpDX.Direct3D; | |
using SharpDX.Direct3D11; | |
using SharpDX.DXGI; | |
using SharpDX.Windows; | |
using Buffer = SharpDX.Direct3D11.Buffer; | |
using Device = SharpDX.Direct3D11.Device; |
OlderNewer