For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| Thank you for reaching out to Autonomous! I am sorry to hear that you are having some trouble with your SmartDesk but I will be glad to assist. It sounds like your system needs a "hard reset" can I please have you follow these steps thoroughly. | |
| Reset Steps: | |
| Unplug the desk for 20 seconds. Plug it back in. Wait a full 20 seconds. | |
| Press the up and down buttons until the desk lowers all the way and beeps or 20 seconds pass. | |
| Release both buttons. | |
| Press the down buttons until the desk beeps one more time or 20 seconds pass. | |
| Then you are good to go! |
| to create a new environment | |
| conda create -n mynewenviron package1 package2 etc | |
| conda create -n newenv --clone ~anaconda | |
| to remove an environment | |
| conda remove -n myenvirontoremove --all | |
| always start with |
| # Assuming this your tests/CMakeLists.txt (and your libs are setup in a root config) | |
| # Just make sure to include(CTest) in your *root* cmake config. | |
| # 3.9 adds support for "GoogleTest" which enumerates the tests inside | |
| # of the code and adds them to ctest. | |
| cmake_minimum_required(VERSION 3.9) | |
| # Configure google-test as a downloadable library. | |
| include(External_GTest.cmake) |
| DELIMITER | | |
| CREATE FUNCTION uuid_from_bin(b BINARY(16)) | |
| RETURNS CHAR(36) DETERMINISTIC | |
| BEGIN | |
| DECLARE hex CHAR(32); | |
| SET hex = HEX(b); | |
| RETURN CONCAT(LEFT(hex, 8), '-', MID(hex, 9,4), '-', MID(hex, 13,4), '-', MID(hex, 17,4), '-', RIGHT(hex, 12)); | |
| END | |
| | |
Demonstrates some simple zmq communication
Similar to this example but usable more generally.
Quoting http://zeromq.org/area:faq:
Can I subscribe to messages using regex or wildcards?
| # This is shorthened version of blog post | |
| # http://ksopyla.com/2017/02/tensorflow-gpu-virtualenv-python3/ | |
| # update packages | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| #Add the ppa repo for NVIDIA graphics driver | |
| sudo add-apt-repository ppa:graphics-drivers/ppa | |
| sudo apt-get update |
| #!/bin/sh | |
| # Configure homebrew permissions to allow multiple users on MAC OSX. | |
| # Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
| # allow admins to manage homebrew's local install directory | |
| chgrp -R admin /usr/local | |
| chmod -R g+w /usr/local | |
| # allow admins to homebrew's local cache of formulae and source files | |
| chgrp -R admin /Library/Caches/Homebrew |