Use this repo: https://github.com/NextThingCo/CHIP-SDK
( if it's merged my changes from https://github.com/cmcconomy/CHIP-SDK )
Initial setup for wifi and hostname
sudo -su root
| # DOCUMENTATION NOTE: Regular comments don't print in 'help'; two #'s do. | |
| ## +------------------------------------------------------------------------------ | |
| ## | This Makefile contains targets for various python build / deploy steps. | |
| ## | | |
| ## | Key Targets to know: | |
| ## | make / make help: Display Help | |
| help: | |
| @sed -ne '/@sed/!s/## //p' $(MAKEFILE_LIST) |
| #!/bin/bash | |
| cat <<EOT >> ~/.zshrc | |
| alias ca="conda_activate" | |
| alias cc="conda_create" | |
| CC_PYTHON_VERSION=3.10 | |
| conda_activate() { conda activate $(basename $(pwd)) } | |
| conda_create() { CONDA_SUBDIR=osx-64 conda create -y --name $(basename $(pwd)) python=$CC_PYTHON_VERSION && conda_activate } | |
| EOT |
| // Go to a site in Ontario Parks reservation for a particular date range, where individual campsites are visible, and paste this script into the Developer Console. | |
| // Matching sites will highlight in white. | |
| // You can add new lines to matchesCriteria below. | |
| // Rebuilt from scratch since the last one, now works for 2021 site. | |
| // Use as you see fit! Please credit me if you do. | |
| function matchesCriteria(site){ | |
| matches = true | |
| matches = matches && matchesSingleCriteria(site,'Quality','Good') |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <!-- Required meta tags --> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <!-- Bootstrap CSS --> | |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous"> |
| // Open chrome, search for a campground site listing, and enter the Chrome JS Console | |
| // paste in this script and hit enter. | |
| // running this will highlight the available sites. output (to console) all properties and their potential values. | |
| // You may want to adjust the siteIsGood method below to take into account other site properties. | |
| function siteIsGood(attribs) { | |
| return (attribs['Quality'] == "Good") | |
| } |
Use this repo: https://github.com/NextThingCo/CHIP-SDK
( if it's merged my changes from https://github.com/cmcconomy/CHIP-SDK )
Initial setup for wifi and hostname
sudo -su root
I hereby claim:
To claim this, I am signing this object: