Skip to content

Instantly share code, notes, and snippets.

@jborean93
jborean93 / Get-ServiceCredential.ps1
Last active May 27, 2024 04:38
Get's the username and password for installed Windows services
# Copyright: (c) 2019, Jordan Borean (@jborean93) <jborean93@gmail.com>
# MIT License (see LICENSE or https://opensource.org/licenses/MIT)
Function Get-ServiceCredential {
<#
.SYNOPSIS
Retrieve the username and plaintext password for all services installed on the local computer.
.DESCRIPTION
Will retrieve the username and plaintext password for the service(s) specified. This must be run as an
@mcmarto
mcmarto / FlashingLED.md
Last active November 21, 2022 14:18
Disabling flashing WiFi LED on Linux Mint 18.1

Synopsis

After a fresh install of Linux Mint 18.1 on my laptop, I noticed that the WiFi LED seemed to be blinking all the time (showing data transfer rather than WiFi on/off status). The solution was as follows:

sudo -i
echo 'options iwlwifi led_mode=1' >> /etc/modprobe.d/wlan.conf
modprobe -r iwlwifi && modprobe iwlwifi

This results in a nice, steady WiFi LED :-)