Get Plug State (132)
A1: Perform Task [ Name:Tp-link login Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
A2: Variable Set [ Name:%deviceId To:XXXXXXXXXXXXXXXX Recurse Variables:Off Do Maths:Off Append:Off ]
A3: HTTP Post [ Server:Port:https://wap.tplinkcloud.com/ Path:/?token=%TOKEN Data / File:{
"method":"passthrough",
"params": {"deviceId": "%deviceId", "requestData": "{\"system\":{\"get_sysinfo\":null},\"emeter\":{\"get_realtime\":null}}"
}
} Cookies: User Agent: Timeout:10 Content Type:text/plain Output File: Trust Any Certificate:Off ]
A4: JavaScriptlet [ Code:var data = JSON.parse(global("HTTPD"));
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
[ | |
{ | |
"id":"577621a6.54f19", | |
"type":"http request", | |
"z":"cc2c159c.fd5868", | |
"name":"login", | |
"method":"POST", | |
"ret":"obj", | |
"url":"https://wap.tplinkcloud.com", | |
"tls":"", |
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 file may be used to create an environment using: | |
# $ conda create --name <env> --file <this file> | |
# platform: win-64 | |
@EXPLICIT | |
https://repo.anaconda.com/pkgs/main/win-64/blas-1.0-mkl.tar.bz2 | |
https://conda.anaconda.org/conda-forge/win-64/ca-certificates-2019.3.9-hecc5488_0.tar.bz2 | |
https://repo.anaconda.com/pkgs/main/win-64/cudatoolkit-10.0.130-0.tar.bz2 | |
https://repo.anaconda.com/pkgs/main/win-64/icc_rt-2019.0.0-h0cc432a_1.tar.bz2 | |
https://repo.anaconda.com/pkgs/main/win-64/intel-openmp-2019.3-203.tar.bz2 | |
https://repo.anaconda.com/pkgs/msys2/win-64/msys2-conda-epoch-20160418-1.tar.bz2 |
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
`default_nettype none | |
`include "hvsync_generator.v" | |
module top(clk, reset, hsync, vsync, rgb); | |
input clk, reset; | |
output reg hsync, vsync; | |
output reg [2:0] rgb; | |
wire display_on; | |
wire [8:0] hpos; |
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
[Reflection.Assembly]::LoadWithPartialName("System.Drawing") | |
function Screenshot([Drawing.Rectangle]$bounds, $path) { | |
$bmp = New-Object Drawing.Bitmap $bounds.width, $bounds.height | |
$graphics = [Drawing.Graphics]::FromImage($bmp) | |
$graphics.CopyFromScreen($bounds.Location, [Drawing.Point]::Empty, $bounds.size) | |
$bmp.Save($path) |
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
$Results = @() | |
Get-AzureRmSubscription | ForEach-Object { | |
$Subscription = $_ | |
Write-Host $Subscription.SubscriptionName | |
# We search all RM Virtual Networks | |
Select-AzureRmSubscription -SubscriptionName $Subscription.SubscriptionName | Out-Null |
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
set-option -g prefix C-a | |
unbind-key C-b | |
bind-key C-a send-prefix | |
unbind % | |
bind | split-window -h | |
bind – split-window -v |
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 | |
# | |
# This is really just notes, but I put them in a shell script so I get | |
# free highlighting and easy cut/paste (in and out). | |
# | |
echo "Don't run this script! It's meant to be read. It will destroy your system!" | |
exit 1 | |
RAW="lucid-amd64-cdh3u4-raw" |
Some measures to help you keep your precious accounts (and your data privacy) safe online
Suggestions are welcome to @adumont on Twitter, or via pull request here ;).
Password Safe to keep all your online passwords
Store your KeePass db file it in your Dropbox. Also choose one file (from your Dropbox or better another cloud storage drive, like GDrive, or OneDrive, as your KeePass DB Key File.
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
Books | |
Chrome | |
CloudPrint | |
Docs | |
Ears | |
Earth | |
NewsStand | |
NewsWidget | |
PlayGames | |
Sheets |