Skip to content

Instantly share code, notes, and snippets.

View kujotx's full-sized avatar

Kurt Johnson kujotx

View GitHub Profile
@kujotx
kujotx / pre-push
Created January 30, 2019 20:45 — forked from jgosmann/pre-push
Prevent pushing fixup, squash, and WIP commits to master.
#!/bin/sh
# An example hook script to verify what is about to be pushed to master. Called
# by "git push" after it has checked the remote status, but before anything has
# been pushed. If this script exits with a non-zero status nothing will be
# pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
/*
First, you must configure ad hoc distributed queries, and configure the Access engineto work in SQL Server
*/
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Ad Hoc Distributed Queries', 1;
GO
@kujotx
kujotx / InstallChocolatey.cmd
Created April 24, 2012 21:41 — forked from ferventcoder/InstallChocolatey.cmd
Chocolatey One Line Install from the command line
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://bit.ly/psChocInstall'))";