Skip to content

Instantly share code, notes, and snippets.

View howellcc's full-sized avatar

Clint howellcc

  • 08:20 (UTC -05:00)
View GitHub Profile
@dougwaldron
dougwaldron / InstallSoftware.ps1
Last active September 12, 2024 21:07
Install software with winget / automate installation with PowerShell
# 1. Make sure the Microsoft App Installer is installed:
# https://www.microsoft.com/en-us/p/app-installer/9nblggh4nns1
# 2. Edit the list of apps to install.
# 3. Run this script as administrator.
Write-Output "Installing Apps"
$apps = @(
@{name = "7zip.7zip" },
@{name = "Adobe.Acrobat.Reader.64-bit" },
@{name = "Axosoft.GitKraken" },
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active November 4, 2024 07:33
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
@WimObiwan
WimObiwan / sp_BackupDatabases.sql
Created January 21, 2019 15:43
sp_BackupDatabases on SQL Express
USE [master]
GO
/****** Object: StoredProcedure [dbo].[sp_BackupDatabases] ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF OBJECT_ID('sp_BackupDatabases') IS NOT NULL
BEGIN
@bsara
bsara / git-ssh-auth-win-setup.md
Last active November 14, 2024 08:25
Setup SSH Authentication for Git Bash on Windows

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config
@u0d7i
u0d7i / disable_vim_auto_visual_on_mouse.txt
Last active November 4, 2024 04:45
Disable vim automatic visual mode on mouse select
Disable vim automatic visual mode on mouse select
issue: :set mouse-=a
add to ~/.vimrc: set mouse-=a
my ~/.vimrc for preserving global defaults and only changing one option:
source $VIMRUNTIME/defaults.vim
set mouse-=a
@PurpleBooth
PurpleBooth / README-Template.md
Last active November 17, 2024 02:42
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

@jeaguilar
jeaguilar / gist:83a3e784d4b02f390887
Last active March 12, 2019 02:52
Mura Settings.ini.cfm documented and undocumented settings
@mietek
mietek / set-up-l2tp-ipsec-vpn-on-debian.md
Last active September 30, 2024 18:02
Set up L2TP/IPsec VPN on Debian

Set up L2TP/IPsec VPN on Debian

Set up IPsec

Set up networking

@bradwilson
bradwilson / gist:7f0a34e130c9bc90fdf7
Last active November 11, 2020 14:50 — forked from marcind/gist:9512656
Disable "Always start when debugging" and disable launching browser for all projects in a solution
# Execute this in NuGet PowerShell console
$projects = get-project -all | ?{ $_.Properties | ?{ $_.Name -eq "WebApplication.StartWebServerOnDebug" } }
$projects | %{ $_.Properties | ?{ $_.Name -eq "WebApplication.StartWebServerOnDebug"} | %{ $_.Value = $False } }
$projects | %{ $_.Properties | ?{ $_.Name -eq "WebApplication.DebugStartAction"} | %{ $_.Value = 4 } }
@marcind
marcind / gist:9512656
Last active November 11, 2020 14:58
Disable "Always start when debugging" for all projects in a solution
# Execute this in Nuget powershell console
get-project -all | %{ $_.Properties | ?{ $_.Name -eq "WebApplication.StartWebServerOnDebug"} | %{ $_.Value = $False } }
#