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
#cloud-config | |
# ? to set enviroment variables >>> | |
# https://github.com/coreos/coreos-overlay/blob/15679bcb6fee5361ea7081d611be3b638db1d4ab/coreos-base/oem-rackspace/files/coreos-setup-environment | |
hostname: Schuit-CoreOS-01 | |
users: | |
- name: core | |
passwd: $6$rounds=9056$7vhPevh3ymNyHv/9$DtAfk2hcJeWtEbOvQmap/TeQnjZV5tJCGFc4iHnFDaHOT7hcgaPQajXtc2WxMlK3uA3pgmeIuffoX7/Eiy15q1 | |
ssh-authorized-keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCv3sOmjO+lcS67HpB/Z6cjI+1X1RphxBpR6So5Ire4rnLJTqTwA8UtsV5oQk4l+laPJP6Ef2v1Dhpq+YRoYLIriUC4ZxA/MFtJxNbN0cWz3QGhPJsrhd7Eifraw/WJVd8ywdJ/s5rg+0aCGSRbGt/H7IOji71vhuGDIbLq6tPhiM93XmLFmj6KNW+9aWDw1CFXMDMT0XpumFHrfba1sbGDA1wGr9PhP0Isf+zutTRY0hJO3c/HATtOs+QA4gmEOCp/bTFqdoli8CiKUbMjC+VdJP09q7iS9EEHM2ldeC9MmVZmaIJe6Uo55pcjgMd6gjEX/xvTNY5Yqjy+VrAY7eI7 schuit@analysis |
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 "DHT.h" | |
#include <ESP8266WiFi.h> | |
#define DHTPIN 2 | |
#define DHTTYPE DHT22 | |
DHT dht(DHTPIN, DHTTYPE); | |
char ssid[] = "RoundHouseKicktoFace"; // your network SSID (name) | |
char pass[] = "ilovepancakes"; // your network password |
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
var AWS = require('aws-sdk'); | |
var DOC = require('dynamodb-doc'); | |
var dynamo = new DOC.DynamoDB(); | |
exports.handler = function(event, context) { | |
var item = { username:"default", | |
pets: event.pets || {} | |
}; | |
var cb = function(err, data) { | |
if(err) { |
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 | |
# usage: script_name modem_ip password | |
webSecurityKey=$(curl -s -k \ | |
-u admin:$2 \ | |
https://$1/htmlV/adv_advanced_menuMain.asp | \ | |
sed -n -e 's/^.*webSecurityKey \=\"//p' | \ | |
sed -e 's/\(\"<\/SCRIPT>\)*$//g' \ | |
); | |
# echo $webSecurityKey; |