Skip to content

Instantly share code, notes, and snippets.

@InfinitiesLoop
InfinitiesLoop / .editorconfig
Last active August 29, 2017 01:54
OpenComputers Quary Script
[*]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
#!/bin/bash
kafka_version=0.9.0.1
kafka_version_scala=2.11
kafka_version_full=${kafka_version_scala}-${kafka_version}
elasticsearch_version=2.2.0
elasticsearch_clustername=bnet-es
elasticsearch_nodename=bnet-es-node01
java_version=java-1.8.0-openjdk.x86_64
@InfinitiesLoop
InfinitiesLoop / gist:3507028
Created August 29, 2012 05:06
Error when trying to pass a model to a Child Action that contains an IList derived property
public interface IPagedList<T> : IList<T> {
int PageIndex { get; set; }
int TotalCount { get; set; }
int PageSize { get; set; }
}
public class SomeModel {
public int Foo { get; set; }
public IPagedList<int> Items { get; set; }