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
#!/bin/bash | |
# Based on information found at the following URLs: | |
# https://stackoverflow.com/questions/46169415/understanding-hsl-to-rgb-color-space-conversion-algorithm | |
# https://community.home-assistant.io/t/controlling-a-bluetooth-led-strip-with-ha/286029/5 | |
# Parameters: | |
# bt_light_control.sh MAC_ADDRESS STATE PARAMETERS | |
# | |
# Turn on: bt_light_control.sh 00:00:00:00:00:00 on |
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
# This script overrides the default prompt behavior, and sets the title of the window to something like this: | |
# (admin) PS: current_folder_name | |
# | |
# To apply to your profile, open a PowerShell window and type: | |
# | |
# Windows: notepad $PROFILE | |
# Mac/Linux: vi $PROFILE | |
function Test-Administrator | |
{ |
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
# This script is designed to be ran as a post-build step. | |
# If running directly, make sure you're in the root of your project's folder. | |
# This project also relies on the Microsoft.AspNet.SignalR.Utils package to be | |
# installed in your project, and packages restored prior to running this script | |
# Modify the variables below to correspond with your build settings | |
$packagesFolder = "..\packages" # Your NuGet packages | |
$appConfigFile = "app.config" # Your app/web.config to grab binding redirects from | |
$outputDir = "bin\debug" # The build output directory containing your SignalR hubs |