This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function micro { | |
[CmdletBinding()] | |
param( | |
# The file you want to edit | |
[Parameter()] | |
[String] | |
$Path, | |
# The scriptblock to get proper folder on the server | |
[Parameter()] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-TimeStuff { | |
<# | |
.SYNOPSIS | |
This function makes it easy to get relative dates and timespans. | |
.DESCRIPTION | |
Get-TimeStuff is a quick way to get "pretty good" relative dates and timespans. It generally is based on "now", but can work on any input time. | |
.PARAMETER Moment | |
If set, this parameter causes the function to output a specific time. If not, the functio outputs a timespan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Colorize-Strings { | |
param( | |
[Alias("FullName", "Name")] | |
[parameter( | |
ValueFromPipeline, | |
ValueFromPipelineByPropertyName)] | |
$InputObject, | |
$Delimeter, | |
$Colors, | |
[switch]$DisableSort |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Invoke-HandbrakeEncoding { | |
<# | |
.SYNOPSIS | |
PowerShell function that lets you encode videos via handbrake and move completed files to destinations | |
.EXAMPLE | |
dir | Invoke-HandbrakeEncoding -Dest . -WhatIf | |
# Shows the commands that _would_ run if this were ran without the -WhatIf switch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ps | |
$links = [ordered]@{ | |
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" = | |
"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" | |
"C:\Program Files\Microsoft\Edge\Application\msedge.exe" = | |
"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" | |
"C:\Program Files\Google\Chrome\Application\chrome.exe" = | |
"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk" | |
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" = | |
"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
nginx_lemmy: | |
image: nginx:mainline-alpine | |
restart: always | |
ports: | |
# - <yourReverseProxyTargetPort>:80 | |
- 80:80 | |
depends_on: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"contact": "Black Company: discord.gg/4sKvzQJpNZ", | |
"templates": [ | |
{ | |
"name": "Black Company", | |
"sources": [ | |
"https://i.imgur.com/WtS2DfE.png" | |
], | |
"x": 422, | |
"y": 490 |
OlderNewer