Helped co-write two .net apps that map users to network resources. This process used two applications, the network drive manager and the network state monitor. The state monitor detects what the device is connected to and writes that state to the event logs. Meanwhile, the drive manager reads those event state changes and connects the user up to their desired network state.
This file contains 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
<# PSREADLINE #> | |
if (Get-Module -Name PSReadLine) { | |
Import-Module PSReadLine | |
#Set-PSReadLineOption -EditMode Windows | |
Set-PSReadLineOption -PredictionSource History | |
Set-PSReadLineOption -PredictionViewStyle ListView | |
if ($host.Version.Major -eq 7) { |
title | date |
---|---|
UnRaid - Array stuck spinning down |
2020-01-30 |
- SSH into unraid as root
- ps -ef | grep /mnt/user
2. You are now going want to kill those processes
This file contains 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
import requests # for api calls | |
import json # json | |
import argparse | |
import os | |
import platform # For getting the operating system name | |
import subprocess # For executing a shell command | |
import time # for time, dummy | |
import datetime # for time, dummy | |
import discord # For discord bot | |
import asyncio # for muiltithreading |