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 csv | |
import sys | |
from collections import namedtuple | |
# Enter whatever is your local currency. | |
LOCAL_CURRENCY = 'EUR' | |
rows = csv.reader(sys.stdin) | |
# This assumes that your PayPal language is set to English. |
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
# Username of the user to add | |
$username = "ryan" | |
# Domain of the user to add | |
$domain = "lithnet" | |
# Display name to set in the portal | |
$displayName = "Admin-Ryan Newington" | |
Import-Module LithnetRMA | |
Set-ResourceManagementClient -BaseAddress localhost -Credentials (Get-Credential) |
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
using namespace System.Collections.Concurrent | |
$StartDate = [datetime]::UtcNow | |
# can be generated with something like | |
# 1..10 | %{ Get-Credential} | Export-CliXml -path 'C:\reports\InboxRules\Creds.xml' | |
# Which will prompt for credentials 10 times and store them in the xml file | |
$CredentialFile = 'C:\reports\InboxRules\Creds.xml' | |
$RunDate = $StartDate.ToString('o') -replace ':' | |
# This is the path of the CSV file. It is imperative that this file not be | |
# access while the script is running |
You need gateway 3(mgl03) connected to MiHome. And also ip and gateway token.
Via XiaomiGateway3 component.
You must input in the 'Open Telnet command' field(as it is without changing anything):
{"method":"set_ip_info","params":{"ssid":"\"\"","pswd":"123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd"}}