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 |
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/* |