For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
FROM python:3.6-alpine | |
RUN apk add --update \ | |
gcc \ | |
make \ | |
musl-dev \ | |
libuv-dev \ | |
linux-headers \ | |
libxml2-dev \ | |
libxslt-dev \ |
#cloud-config | |
users: | |
- name: cloudservice | |
uid: 2000 | |
write_files: | |
- path: /etc/systemd/system/cloudservice.service | |
parmissions: 0644 | |
owner: root |
I hereby claim:
To claim this, I am signing this object:
/************************************************************** | |
* rainbling.ino | |
* | |
* An idea for having rainbow colors appear in groups (totems) | |
* with occasional flashes. | |
***************************************************************/ | |
#include <SPI.h> | |
#include <TCL.h> | |
const int REPEATS = 24; |
#!/usr/bin/env python | |
import numpy.random as random | |
def de_population(pmin,pmax,np): | |
"""Create a population of np randomly distributed sets of floating point | |
parameters whose elements are uniformly distributed between the values | |
in the array pmin and the values in pmax. Return a list of np of these | |
arrays. | |
pmin - minimum parameter values |
#!/usr/bin/env python | |
import json | |
from datetime import datetime | |
class ObjectEncoder(json.JSONEncoder): | |
def default(self,obj): | |
try: | |
return json.JSONEncoder.default(self,obj) | |
except TypeError: | |
pass |
#include <SPI.h> | |
//LightStrand_RobotMike | |
//by Mike Winter | |
//version 3 | |
//Demonstrates chaseing lights | |
//Intented use: testing LED interface | |
//Code State: experimental, but it worked for me with 25 lights | |
//Concept: user adjust Pots to make a color. Color travels down strand of lights | |
//SPI Interface to strand based on Keith's excellent SPI code, thanks Keith |