This file contains hidden or 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
#!/usr/local/bin/python3 | |
import xml.etree.ElementTree as ET | |
import sys | |
import dateutil.parser | |
print("first file: " + sys.argv[1]) | |
#rootA = ET.parse(sys.argv[1]).getroot() | |
rootAactual = ET.parse(sys.argv[1]) | |
rootA = rootAactual.getroot() |
This file contains hidden or 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
ec2.describe_vpcs(Filters=[{'Name':'tag', 'Values':[{'aws:cloudformation:stack-id':'stackidname'}]}]) |
This file contains hidden or 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
Verifying that +tedder42 is my blockchain ID. https://onename.com/tedder42 |
This file contains hidden or 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
{ | |
"country_code":"US", | |
"phone_number":"+12405233767", | |
"national_format":"(240) 523-3767", | |
"carrier":{ | |
"mobile_country_code":null, | |
"mobile_network_code":null, | |
"name":"Bandwidth SMSEnabled", | |
"type":"voip", | |
"error_code":null |
This file contains hidden or 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
here's what I'm using to push the file to my S3 bucket. The bucket has CloudFront with a SNI-based https cert. | |
post_tweet_hook = "AWS_PROFILE=pjnet aws s3 cp {twtfile} s3://tedder/twtxt.txt --acl public-read --storage-class REDUCED_REDUNDANCY --cache-control 'max-age=60,public'" |
This file contains hidden or 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 <TinyGPS++/TinyGPS++.h> | |
#include <SoftwareSerial.h> | |
/* | |
This sample sketch demonstrates the normal use of a TinyGPS++ (TinyGPSPlus) object. | |
It requires the use of SoftwareSerial, and assumes that you have a | |
4800-baud serial GPS device hooked up on pins 4(rx) and 3(tx). | |
*/ | |
static const int RXPin = 4, TXPin = 3; | |
static const uint32_t GPSBaud = 4800; |
This file contains hidden or 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
// Groovy Version: 2.4.6 JVM: 1.8.0_72-internal Vendor: Oracle Corporation OS: Linux | |
// openjdk version "1.8.0_72-internal" | |
// to run: groovy -Dgroovy.grape.report.downloads=true cred-npe.groovy | |
// running in my env: | |
// docker run -it tedder42/stanson-java8-jre bash | |
// curl -s get.sdkman.io | bash | |
// source "$HOME/.sdkman/bin/sdkman-init.sh" | |
// sdk install groovy |
This file contains hidden or 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 #include statement was automatically added by the Particle IDE. | |
#include "Sunrise/Sunrise.h" | |
#include "FastLED/FastLED.h" | |
FASTLED_USING_NAMESPACE; | |
#if FASTLED_VERSION < 3001000 | |
#error "Requires FastLED 3.1 or later; check github for latest code." |
This file contains hidden or 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
#!/usr/bin/python | |
# these should be sufficient to get you started. | |
# https://cloud.google.com/vision/reference/rest/v1/images/annotate#request-body | |
# https://cloud.google.com/vision/docs/pricing | |
# https://cloud.google.com/vision/docs/auth-template/cloud-api-auth#setting_up_your_project | |
from oauth2client.service_account import ServiceAccountCredentials | |
from apiclient.discovery import build | |
import sys |
This file contains hidden or 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/log/messages <== | |
Oct 5 23:03:37 pidoor kernel: [32124.463381] cfg80211: Regulatory domain changed to country: US | |
Oct 5 23:03:37 pidoor kernel: [32124.463413] cfg80211: DFS Master region: FCC | |
Oct 5 23:03:37 pidoor kernel: [32124.463424] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) | |
Oct 5 23:03:37 pidoor kernel: [32124.463441] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A) | |
Oct 5 23:03:37 pidoor kernel: [32124.463457] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A) | |
Oct 5 23:03:37 pidoor kernel: [32124.463471] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s) | |
Oct 5 23:03:37 pidoor kernel: [32124.463484] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A) | |
Oct 5 23:03:37 pidoor kernel: [32124.463496] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) |