Skip to content

Instantly share code, notes, and snippets.

// marantz wired remote control demo
// inspired by https://github.com/Arduino-IRremote/Arduino-IRremote
// see https://smallhacks.wordpress.com/2021/07/07/controlling-marantz-amplifier-using-arduino-via-remote-socket/
/* some definitions from the IRremote Arduino Library */
#define RC5_ADDRESS_BITS 5
#define RC5_COMMAND_BITS 6
#define RC5_EXT_BITS 6
#define RC5_COMMAND_FIELD_BIT 1
#define RC5_TOGGLE_BIT 1
{
"authentication": {
"method_1": {
"backend": "static",
"secret": "simplepassword",
"user": "myusername"
}
},
"signing_ca": {
"local": {
stack@vagrant-ubuntu-trusty-64:~$ openstack role list --user anchoruser
+----------------------------------+--------+---------+------------+
| ID | Name | Project | User |
+----------------------------------+--------+---------+------------+
| c0548714edbf4276873c277fff9854bf | Member | admin | anchoruser |
+----------------------------------+--------+---------+------------+
Dougs-MacBook-Air:anchor doug$ curl -i -H "Content-Type: application/json" -d '
{ "auth": {
"identity": {
"methods": ["password"],
"password": {
"user": {
"name": "anchoruser",
"domain": { "id": "default" },
"password": "anchorpass"
}