Skip to content

Instantly share code, notes, and snippets.

View Danielku15's full-sized avatar

Daniel Kuschny Danielku15

  • Austria
  • 04:23 (UTC +01:00)
View GitHub Profile
@Danielku15
Danielku15 / DateTimeOffsetBug.cs
Last active October 11, 2018 11:43
Reproduction for aspnet/mvc #8578
//<Project Sdk="Microsoft.NET.Sdk">
// <PropertyGroup>
// <TargetFramework>netcoreapp2.1</TargetFramework>
// <IsPackable>false</IsPackable>
// </PropertyGroup>
// <ItemGroup>
// <PackageReference Include="Microsoft.AspNetCore" Version="2.1.4" />
// <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.1.3" />
@Danielku15
Danielku15 / Example.html
Created February 25, 2016 19:53
A MediaTypeFormatter for WebApi for multipart/form-data including file uploads
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>File Upload example</title>
<link href="/Content/bootstrap.css" rel="stylesheet" />
</head>
<body>
<form action="api/Upload" method="post">
<div class="form-group">
@Danielku15
Danielku15 / HxWorker.hx
Created February 22, 2014 15:42
Haxe Support in Flash Workers - Sample
package worker;
import flash.display.Sprite;
import flash.system.*;
import haxe.io.*;
import format.swf.*;
/**
* Copied from: https://gist.github.com/profelis/8770024
*/
@Danielku15
Danielku15 / TreeNodeCheckBoxUtil.cs
Created August 4, 2011 07:57
A utility class for hiding checkboxes on specific TreeNodse
using System;
using System.Runtime.InteropServices
namespace WinformUtils
{
/// <summary>
/// A utility class for hiding checkboxes on
/// specific TreeNodes
/// </summary>
/// <author>