Skip to content

Instantly share code, notes, and snippets.

View robinrodricks's full-sized avatar

Robin Rodricks robinrodricks

  • Mumbai, India
View GitHub Profile
HGFTP Release Notes

April, 2006
@robinrodricks
robinrodricks / speedtest.as
Created March 29, 2019 09:22
AS3 startsWith/endsWith Speedtest
package
{
import flash.display.Sprite;
/**
* ...
* @author Test
*/
public class Main extends Sprite
{
@robinrodricks
robinrodricks / speedtest.html
Created March 29, 2019 06:22
JS startsWith/endsWith Speedtest
<script>
var s = "HELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLO
@robinrodricks
robinrodricks / Example.cs
Created September 27, 2017 13:10
ProgressStream
using System;
using System.IO;
using CGS;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
- New Task-based async methods for .NET Standard and .NET Fx 4.5 (thanks @taoyouh)
- New async methods for UploadFile, DownloadFile, UploadFiles & DownloadFiles (thanks @artiomchi)
- Migrate to a single VS 2017 solution for all frameworks (thanks @artiomchi)
- Continuous Integration using AppVeyor (thanks @artiomchi)
- (UWP) Fix: FileNotFoundException with reference System.Console (thanks @artiomchi)
- (.NET core) Fix: Thread suspends when calling UploadFile or DownloadFile (thanks @artiomchi)
- (.NET core) Fix: File download hangs inconsistently when reading data from stream (thanks @artiomchi, @bgroenks96)
- (.NET core) Fix: Stream does not dispose due to wrong handling of closing/disposing (thanks @artiomchi)
- Fix: File upload EOS bug when calling Stream.Read (thanks @bgroenks96, @artiomchi, @taoyouh)
- Fix: DownloadFileInternal not recognizing the download data type