Skip to content

Instantly share code, notes, and snippets.

View NickCraver's full-sized avatar
:shipit:
Shipping

Nick Craver NickCraver

:shipit:
Shipping
View GitHub Profile
@NickCraver
NickCraver / se-disable-search-animation.user.js
Created August 9, 2011 02:03
Stack Exchange search box animation disabler
// ==UserScript==
// @name Stack Exchange search box animation disabler 1.0
// @namespace stackoverflow
// @description Removes Stack Exchange search box animation shenanigans
// @include http://stackoverflow.com/*
// @include http://*.stackoverflow.com/*
// @include http://*.stackexchange.com/*
// @include http://serverfault.com/*
// @include http://superuser.com/*
// @include http://stackapps.com/*
// Whatever shared state you need, the root of the universe
public class DapperContext
{
private QueryCache _cache = new QueryCache();
public static DapperContext Instance = new DapperContext();
public Task<IEnumerable<dynamic>> QueryAsync(IDbConnection cnn, string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null)
{
// Real logic happens here
@jeffpapp
jeffpapp / GitHubActions.yml
Created June 8, 2020 22:24
GitHub Packages Private Nuget
name: Build .Net Core projects
on:
push:
branches:
- master
- dev
pull_request:
branches:
- dev