Using the following docs as a references:
# --------- SCRIPT BEGIN ---------- | |
# By Bret Stateham | |
# This script assumes | |
# - You are running on a linux machine | |
# - You have the can-utils installed and working. See: | |
# - https://github.com/linux-can/can-utils | |
# - https://www.kernel.org/doc/Documentation/networking/can.txt | |
# - You have a can device attached and configured as can0 (you can change the targetbus variable to match if otherwise) | |
# - The can device is attached to your running target vehicle |
Using the following docs as a references:
#cloud-config | |
apt_sources: | |
- source: "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ bionic main" | |
key: | | |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1.4.7 (GNU/Linux) | |
mQENBFYxWIwBCADAKoZhZlJxGNGWzqV+1OG1xiQeoowKhssGAKvd+buXCGISZJwT | |
LXZqIcIiLP7pqdcZWtE9bSc7yBY2MalDp9Liu0KekywQ6VVX1T72NPf5Ev6x6DLV | |
7aVWsCzUAF+eb7DC9fPuFLEdxmOEYoPjzrQ7cCnSV4JQxAqhU4T6OjbvRazGl3ag |
Create a particle account at: https://login.particle.io/
Install the particle CLI
npm install -g particle-cli
Login to the CLI using the account you created above:
These steps are documented here: https://aka.ms/devkitfix
- Open the Board Manager in the Arduino IDE (had problems in code, not sure why), and removed the AZ3166 package.
- Delete the files:
%USERPROFILE%\AppData\Local\Arduino15\package_azureboard_index.json
%USERPROFILE%\AppData\Local\Arduino15\package_azureboard_index.json.sig.tmp
- Delete the
%USERPROFILE%\AppData\Local\Arduino15\Packages\AZ3166
folder - Delete the %USERPROFILE\azure-board-cli folder
Use this event hub connection string in the Function: | |
Endpoint=sb://flysimbssns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=gFSsWDqKq+i147KnZ0MSrSd4JUvYwDHYVZn6zJp7TNo=;EntityPath=flysim-shared-input-hub | |
Currently, on 09/01/2017, the latest Raspbian Stretch release does not work with the Node.js packages. Stretch appears to have a later version of OpenSSL with breaks the gateway. I imagine that dependency will be corrected in the future. For that reason I am specifically using Raspbian Jessie
-
Flash the last version of Raspbian Jessie (http://downloads.raspberrypi.org/raspbian/images/raspbian-2017-07-05/2017-07-05-raspbian-jessie.zip) to your SD card using http://etcher.io
-
Boot the Pi using the flashed SD card and login as pi/raspberry
-
Connect the pi to your wifi network if it isn't hardwired
using Microsoft.WindowsAzure.Storage.Table; | |
using Microsoft.WindowsAzure.Storage.Table.DataServices; | |
using System.Linq; | |
namespace GuestBook_Data | |
{ | |
public class GuestBookDataContext : TableServiceContext | |
{ | |
public GuestBookDataContext(CloudTableClient client) : base(client) |
namespace ContactManager.Web.Models | |
{ | |
using System.ComponentModel; | |
using System.ComponentModel.DataAnnotations; | |
public class Contact | |
{ | |
public int Id { get; set; } | |
[Required] |