Skip to content

Instantly share code, notes, and snippets.

Sławomir Rosiek rosieks

  • Warsaw
Block or report user

Report or block rosieks

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rosieks / ValuesController.cs
Created May 16, 2019
ASP.NET Core handling multipart form data request issue
View ValuesController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace aspnet_forddata_issue.Controllers
rosieks / batch.js
Created Jul 30, 2014
ASP.NET WebApi batching + durandal
View batch.js
define(function () {
var url = '/api/batch',
requests = [],
return {
url: url,
get: request('GET'),
post: request('POST'),
rosieks / scroller.html
Created Mar 6, 2014
datatables scroller + initial start
View scroller.html
<!DOCTYPE html>
<html xmlns="">
<script src="Scripts/jquery-2.1.0.js"></script>
<script src="Scripts/jquery.dataTables.js"></script>
<script src="Scripts/dataTables.scroller.js"></script>
rosieks / knockout.datatables.js
Created Feb 4, 2014
DataTables 1.10 binding handler for knockout
View knockout.datatables.js
(function ($, ko) {
ko.gridModel = function (requestData) {
var page = ko.observable(1),
pageSize = ko.observable(20).extend({ throttle: 0 }),
sortField = ko.observable().extend({ throttle: 0 }),
sortOrder = ko.observable('ASC').extend({ throttle: 0 }),
totalRows = ko.observable(),
items = ko.observableArray();
var model = {
You can’t perform that action at this time.