title | date |
---|---|
Custom DNS Names in PIhole |
2020-04-24 |
Assuming you already have Pihole up and running, create a new .conf file in the following directory: /etc/dnsmasq.d/yourname.conf
- nano or vim into "yourname.conf"
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 |
title | date |
---|---|
UnRaid - Array stuck spinning down |
2020-01-30 |
2. You are now going want to kill those processes
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.
<# 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) { |