Skip to content

Instantly share code, notes, and snippets.

View jgarland79's full-sized avatar

Jason Garland jgarland79

View GitHub Profile
from google.cloud import bigquery
def list_datasets_tables_schemas_data():
client = bigquery.Client()
project_id = client.project
datasets = list(client.list_datasets())
print(f"Datasets in project {project_id}:")
for dataset in datasets:
print(f"\tDataset: {dataset.dataset_id}")
30677 General Motors, LLC
30448 Chrysler (FCA US, LLC)
30264 Ford Motor Company
13355 Honda (American Honda Motor Co.)
12768 Toyota Motor Corporation
11040 Hyundai Motor America
10841 Nissan North America, Inc.
9737 Kia Motors America
8566 Subaru of America, Inc.
7209 Tesla, Inc.
@jgarland79
jgarland79 / PCBEinstein.ino
Created January 27, 2016 06:48
​Am I doing this right? I'm not getting anything at all. It says "Starting" and then nothing at all... Other NRF24 lib examples work with my arduino, but mine doesn't even print the radio config like it should before it enters the loop.
#include <SPI.h>
#include "nRF24L01.h"
#include "RF24.h"
#include "printf.h"
RF24 radio(9,10);
const int min_payload_size = 4;
const int max_payload_size = 32;
10-26-2015 12:07:00.133 -0700 ERROR ClusterMasterPeerHandler - Cannot add peer=10.107.64.51 mgmtport=8089 (reason: standalone bid=msad~7~0E473D37-7934-4795-874E-4C878F1FBD29 is in an invalid state on peer=0E473D37-7934-4795-874E-4C878F1FBD29 bf: mask=0xffffffffffffffff status=Complete searchstate=Unsearchable cksum= cksumstate=StableCksum). Make sure pass4SymmKey is matching if the peer is running well.