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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "grafana", | |
"uid": "-- Grafana --" | |
}, | |
"enable": true, |
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
[[inputs.snmp]] | |
## Agent addresses to retrieve values from. | |
agents = ["udp://psu.local:161"] | |
version = 1 | |
path = ["/usr/local/share/snmp/mibs"] | |
name_override = "psu" | |
[[inputs.snmp.field]] | |
oid = "RFC1213-MIB::sysUpTime.0" | |
name = "uptime" |
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
360-degree-customer-view.workshop.aws | |
accelerated-data-lake.workshop.aws | |
acew.workshop.aws | |
acoaw.workshop.aws | |
acsso.workshop.aws | |
activate-next.workshop.aws | |
activate.workshop.aws | |
actw.workshop.aws | |
ad-immersionday.workshop.aws | |
aeim.workshop.aws |
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
#include <stdio.h> | |
#include <sys/ioctl.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <stdint.h> | |
#include <dev/iicbus/iic.h> | |
#define I2C_DEVICE "/dev/iic0" | |
#define AM2320_ADDR 0x5C |
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
// 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 |
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
--- bcm2711-rpi-4-b.dtb.txt 2021-02-21 11:37:45.000000000 +0100 | |
+++ bcm2711-rpi-4-b.dtb.1.txt 2021-02-21 11:37:51.000000000 +0100 | |
@@ -14,6 +14,7 @@ | |
emmc2bus = "/emmc2bus"; | |
ethernet0 = "/scb/ethernet@7d580000"; | |
pcie0 = "/scb/pcie@7d500000"; | |
+ blconfig = "/reserved-memory/nvram@0"; | |
audio = "/soc/mailbox@7e00b840/bcm2835_audio"; | |
aux = "/soc/aux@7e215000"; | |
sound = "/soc/sound"; |
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 base64 | |
import json | |
print('Loading function') | |
def lambda_handler(event, context): | |
output = [] | |
# Based on the fields chosen during the creation of the | |
# Real-time log configuration. |
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
/* | |
* Copyright (c) 1998-2020 Apple Inc. All rights reserved. | |
* | |
* @APPLE_LICENSE_HEADER_START@ | |
* | |
* This file contains Original Code and/or Modifications of Original Code | |
* as defined in and that are subject to the Apple Public Source License | |
* Version 2.0 (the 'License'). You may not use this file except in | |
* compliance with the License. Please obtain a copy of the License at | |
* http://www.opensource.apple.com/apsl/ and read it before using this |
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
<?php | |
$creds = array( | |
'username'=>'[email protected]', | |
'password'=>'MyPassWord123' | |
); | |
$postvars = ''; | |
foreach($creds as $key=>$value) { | |
$postvars .= $key . "=" . $value . "&"; |
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
--- app/gui/gui.c 2020-01-10 00:49:12.000000000 +0100 | |
+++ app/gui/gui.c 2020-01-10 00:49:56.000000000 +0100 | |
@@ -628,63 +628,6 @@ | |
gimp_action_history_init (gimp); | |
-#ifdef GDK_WINDOWING_QUARTZ | |
- { | |
- GtkosxApplication *osx_app; | |
- GtkWidget *menu; |
NewerOlder