Skip to content

Instantly share code, notes, and snippets.

John Smith onefloridacoder

Block or report user

Report or block onefloridacoder

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
onefloridacoder / jqGrid.MVC4
Last active Dec 16, 2015
Simple jqGrid wire-up for MVC 4 controller action being called by jqGrid implementation.
View jqGrid.MVC4
Here's the (Home) controller action that serves the data back to the jqGrid.
public JsonResult GetPendingItems(string sidx, string sord, int page, int rows)
var requests = this.Store.RetrieveRequestorsPendingRequests(string.Empty);
var enumerable = requests as FiestaModels.Request[] ?? requests.ToArray();
var jsonData = new
total = 1, //todo: calculate
View AzureQueueMessage.cs
* Borrowed from PnP
public abstract class AzureQueueMessage
public string Id { get; set; }
public string PopReceipt { get; set; }
public int DequeueCount { get; set; }
onefloridacoder / Registration.feature
Created May 2, 2011
Samples to illustrate the SpecFlow .feature file drives the stubbed out (.cs) definition file.
View Registration.feature
Feature: Registration
In order to have lots of attendees, speakers, and volunteers
As code camp organizer
I want to be able to register many different types of attendees.
Scenario: Register a new attendee with an email address
Given I am not a registered code camp attendee
When I enter and save my profile information
Then I become a registered code camp attendee
onefloridacoder / RegistrationStory.cs
Created May 2, 2011
Sample code to demo StoryQ fluid syntax.
View RegistrationStory.cs
namespace BarCamp
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StoryQ;
using System;
using System.Collections;
You can’t perform that action at this time.