This document will help you set up python for development on MacOS.
Pyenv allows you to have several python versions in your machine.
brew update
[p2b8] | |
[p2b8] | |
[b32] | |
[m4] | |
[b32] | |
[p4b2] | |
[p10] | |
[clocktool] | |
clock = I1 |
## | |
## A standard "break beam sensor" uses a laser or LED with a device on both | |
## sides of an opening and is triggered when something breaks the beam | |
## (such as a customer walking through the beam). Some garage doors use them. | |
## Stores often use them at the entrace to ring a chime when a customer enters | |
## or leaves. | |
## | |
## This is my attempt at using a VL53L0X i2c Time of Flight sensor | |
## as a break beam sensor in Home Assistant using ESPHome. | |
## |
// | |
// CountdownProgressBar.swift | |
// Core Animations | |
// | |
// Created by Bilguun Batbold on 29/3/19. | |
// Copyright © 2019 Bilguun. All rights reserved. | |
// | |
import Foundation | |
import UIKit |
This document will help you set up python for development on MacOS.
Pyenv allows you to have several python versions in your machine.
brew update
import Foundation | |
class StreamReader { | |
let encoding: String.Encoding | |
let chunkSize: Int | |
let fileHandle: FileHandle | |
var buffer: Data | |
let delimPattern : Data | |
var isAtEOF: Bool = false | |