Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
Shipping

Nick Craver NickCraver

:shipit:
Shipping
View GitHub Profile
@jeffpapp
jeffpapp / GitHubActions.yml
Created Jun 8, 2020
GitHub Packages Private Nuget
View GitHubActions.yml
name: Build .Net Core projects
on:
push:
branches:
- master
- dev
pull_request:
branches:
- dev
View Dapper2.cs
// 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
@NickCraver
NickCraver / se-disable-search-animation.user.js
Created Aug 9, 2011
Stack Exchange search box animation disabler
View se-disable-search-animation.user.js
// ==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/*
You can’t perform that action at this time.