(!(author.no_color) || flags.system_message || flags.whisper || flags.highlighted || flags.points_redeemed || flags.sub_message)
!(author.no_color)
| #!/usr/bin/env bash | |
| # The id of the certificate to install. | |
| CERT_ID="$1" | |
| # The packages whose certificate to replace. | |
| CERT_PKGS="${@:2}" | |
| # The directory that holds to certificate to import. | |
| CERT_IMPORT_DIR="/tmp/certificate/$CERT_ID" |
| <# | |
| .SYNOPSIS | |
| Removes ghost devices from your system | |
| .DESCRIPTION | |
| This script will remove ghost devices from your system. These are devices that are present but have an "InstallState" as false. These devices are typically shown as 'faded' | |
| in Device Manager, when you select "Show hidden and devices" from the view menu. This script has been tested on Windows 2008 R2 SP2 with PowerShell 3.0, 5.1, Server 2012R2 | |
| with Powershell 4.0 and Windows 10 Pro with Powershell 5.1. There is no warranty with this script. Please use cautiously as removing devices is a destructive process without | |
| an undo. | |
| .PARAMETER filterByFriendlyName | |
| This parameter will exclude devices that match the partial name provided. This paramater needs to be specified in an array format for all the friendly names you want to be excluded. |
| #Requires -version 2 | |
| #Requires -RunAsAdministrator | |
| <# | |
| .SYNOPSIS | |
| <A brief description of the function or script. This keyword can be used only once in each topic.> | |
| .DESCRIPTION | |
| <A detailed description of the function or script. This keyword can be used only once in each topic.> | |
| .PARAMETER <Parameter-Name> |
| # Import the modules to be used | |
| Import-Module psPAS # https://github.com/pspete/psPAS | |
| Import-Module CredentialRetriever # https://github.com/pspete/CredentialRetriever | |
| # Before login, we'll request the credentials from AAM and immediately pass the PSCredential object for secure login | |
| New-PASSession -BaseURI https://pvwa.joegarcia.dev -Credential $(Get-CCPCredential -URL https://pvwa.joegarcia.dev -AppID ApplicationID -Safe SafeName -UserName ServiceManagerUser).ToCredential() -type LDAP | |
| # Do stuff here... | |
| # Finally, |
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet |
A curated list of available resources to help you on your automation journey with CyberArk.
| $URLs = "https://aka.ms/wsl-ubuntu-1804" ,"https://aka.ms/wsl-ubuntu-1804-arm" ,"https://aka.ms/wsl-ubuntu-1604" ,"https://aka.ms/wsl-debian-gnulinux" ,"https://aka.ms/wsl-kali-linux" ,"https://aka.ms/wsl-opensuse-42" ,"https://aka.ms/wsl-sles-12" | |
| $ProgressPreference = 'SilentlyContinue' | |
| $ErrorActionPreference = 'Stop' | |
| Foreach($URL in $URLs){ | |
| $Filename = "$(Split-Path $URL -Leaf).appx" | |
| Write-Host "Downloading: $Filename" -Foreground Yellow -NoNewline | |
| try{ | |
| Invoke-WebRequest -Uri $URL -OutFile $Filename -UseBasicParsing | |
| Add-AppxPackage -Path $Filename |
| $URL = 'https://aka.ms/wsl-ubuntu-1804' | |
| $Filename = "$(Split-Path $URL -Leaf).appx" | |
| $ProgressPreference = 'SilentlyContinue' | |
| Invoke-WebRequest -Uri $URL -OutFile $Filename -UseBasicParsing | |
| Invoke-Item $FileName |
| /* | |
| Twitch chat browsersource CSS for OBS | |
| Original by twitch.tv/starvingpoet modified by github.com/Bluscream | |
| Just set the URL as either one of | |
| - https://www.twitch.tv/%%TWITCHCHANNEL%%/chat?popout=true | |
| - https://www.twitch.tv/popout/%%TWITCHCHANNEL%%/chat | |
| - https://www.twitch.tv/embed/%%TWITCHCHANNEL%%/chat?parent=localhost | |
| And paste this entire file into the CSS box or paste direct import css like |