Skip to content

Instantly share code, notes, and snippets.

@shaunhess
shaunhess / Car Detailing
Last active August 26, 2024 10:08
Basics for detailing a car
Make sure the vehicle is cool to the touch and not in direct sunlight
before beginning.
1) Verify all products are on hand before beginning. Below are ones
I recommend, but feel free to swap for your favorites.
Wheels
- Sonax Max Effect Wheel Cleaner http://amzn.to/2banxeg
- Griots Rubber Cleaner http://amzn.to/2bF0KWk
- Tuf shine tire brush http://amzn.to/2be8U8R
@shaunhess
shaunhess / Get-PixelDensity.ps1
Created June 10, 2018 15:46
Generate Pixel Per Inches for Monitor size based on horizontal resolution, vertical resolution, and diagonal monitor size.
<#
.Synopsis
Generate Pixel Per Inches for Monitor size.
.DESCRIPTION
Generate Pixel Per Inches for Monitor size based on horizontal resolution, vertical resolution, and diagonal monitor size.
.EXAMPLE
Get-PixelDensity -HorizontalResolution 1920 -VerticalResolution 1080 -MonitorSize 24
#>
function Get-PixelDensity
{
@shaunhess
shaunhess / aws_cli_qrg.md
Last active February 11, 2020 13:01
AWS Command Line Interface (CLI) Quick Reference Guide

AWS Command Line Interface Quick Reference

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

AWS CLI Credential Order

Order Prod Use Option Description
1 Command Line Options aws [command] --profile [profile name] - Profile data uses long term credentials stored locally. This is not recommended for production or instances with public access.
2 Environment Variables You can store values in environment variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN. Recommended for temp use in non-production environments.
3 AWS CLI Credentials File aws configure - Command creates a credentials