Skip to content

Instantly share code, notes, and snippets.

View k4gdw's full-sized avatar

Bryan Johns k4gdw

  • Montgomery, AL
View GitHub Profile
@motowilliams
motowilliams / DownloadVSGitIgnore.ps1
Last active February 28, 2016 19:43
Download VS .gitignore from GitHub via Powershell
(new-object System.Net.WebClient).Downloadfile("https://raw.github.com/github/gitignore/master/VisualStudio.gitignore", "$pwd\.gitignore")
@robwierzbowski
robwierzbowski / gitcreate.sh
Last active December 27, 2024 11:23
A simple litte script. Create and push to a new github repo from the command line.
#!/bin/bash
# https://gist.github.com/robwierzbowski/5430952/
# Create and push to a new github repo from the command line.
# Grabs sensible defaults from the containing folder and `.gitconfig`.
# Refinements welcome.
# Gather constant vars
CURRENTDIR=${PWD##*/}
GITHUBUSER=$(git config github.user)
@ferventcoder
ferventcoder / ReduceThatDB.sql
Created June 16, 2012 12:48
D to the B to the A - Reducing the size of a SQL Server database
/*
* Scripts to remove data you don't need here
*/
/*
* Now let's clean that DB up!
*/
DECLARE @DBName VarChar(25)