Skip to content

Instantly share code, notes, and snippets.

View xlfishbone's full-sized avatar

Josh Allen xlfishbone

View GitHub Profile
@xlfishbone
xlfishbone / cloudSettings
Last active February 1, 2021 21:25
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-01-27T18:07:27.555Z","extensionVersion":"v3.4.3"}
@xlfishbone
xlfishbone / README-Template.md
Created June 21, 2017 02:46 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@xlfishbone
xlfishbone / .gitlab-ci.yml
Created April 24, 2017 04:26 — forked from yetanotherchris/ .gitlab-ci.yml
.NET Core continous integration with Docker, Kubernetes, Gitlab and Google Cloud
# http://docs.gitlab.com/ce/ci/docker/using_docker_build.html#using-the-gitlab-container-registry
# The docker tag is the first 6 letters of the Git commit id
job_build_dotnet:
stage: build
image: microsoft/dotnet:latest
script:
- dotnet restore
- dotnet publish src/MyProject.Web -c Release
artifacts:
@xlfishbone
xlfishbone / reclaimWindows10.ps1
Created March 7, 2017 17:22 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <[email protected]>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
@xlfishbone
xlfishbone / Privacy Settings.md
Last active March 7, 2017 17:18
Windows 10 Privacy Settings

Improve privacy on Windows 10

From LTT

Disable Telemetry

  • Change privacy settings in Windows’ Settings app
  • Disable Telemetry
  • Open a command prompt as Administrator, then type:
  REM The space after start= is a must 
 sc diagtrack start= disabled
@xlfishbone
xlfishbone / ultimate-ut-cheat-sheet.md
Created February 22, 2017 18:14 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies


@xlfishbone
xlfishbone / .gitignore
Created September 3, 2016 03:10 — forked from kmorcinek/.gitignore
Example .gitignore file I use for C# projects
# Download this file using PowerShell v3 under Windows with the following comand:
# Invoke-WebRequest https://gist.github.com/kmorcinek/2710267/raw/ -OutFile .gitignore
# or wget:
# wget --no-check-certificate http://gist.github.com/kmorcinek/2710267/raw/.gitignore
# User-specific files
*.suo
*.user
*.sln.docstates
@xlfishbone
xlfishbone / OracleDynamicParameters.cs
Created January 16, 2016 04:14 — forked from vijayganeshpk/OracleDynamicParameters.cs
OracleDynamicParameters class for Dapper
using Dapper;
using Oracle.ManagedDataAccess.Client;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
public class OracleDynamicParameters : Dapper.SqlMapper.IDynamicParameters {
private static Dictionary<SqlMapper.Identity, Action<IDbCommand, object>> paramReaderCache = new Dictionary<SqlMapper.Identity, Action<IDbCommand, object>>( );