Skip to content

Instantly share code, notes, and snippets.

View mharleydev's full-sized avatar
🖤

Michael Harley mharleydev

🖤
View GitHub Profile
@mharleydev
mharleydev / footer-at-bottom.html
Created December 14, 2020 22:38 — forked from vanaf1979/footer-at-bottom.html
Force your footer to the bottom of the screen when the page content ain't high enough using display: flex; and margin-top: auto;
@mharleydev
mharleydev / cheatsheet.ps1
Created December 12, 2020 02:38 — forked from pcgeek86/cheatsheet.ps1
PowerShell Cheat Sheet / Quick Reference
Get-Command # Retrieves a list of all the commands available to PowerShell
# (native binaries in $env:PATH + cmdlets / functions from PowerShell modules)
Get-Command -Module Microsoft* # Retrieves a list of all the PowerShell commands exported from modules named Microsoft*
Get-Command -Name *item # Retrieves a list of all commands (native binaries + PowerShell commands) ending in "item"
Get-Help # Get all help topics
Get-Help -Name about_Variables # Get help for a specific about_* topic (aka. man page)
Get-Help -Name Get-Command # Get help for a specific PowerShell function
Get-Help -Name Get-Command -Parameter Module # Get help for a specific parameter on a specific command
@mharleydev
mharleydev / fluid-container-with-min.html
Created December 8, 2020 11:43 — forked from vanaf1979/fluid-container-with-min.html
Fluid html container with horizontal whitespace on mobile devices.
<div class="fluid-container">
[ I'm a fluid container ]
</div>
<style>
.fluid-container {
background: lightblue;
width: min(96%, 62.5rem);
margin: 0 auto;