download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
| import requests | |
| class HoverException(Exception): | |
| pass | |
| class HoverAPI(object): | |
| def __init__(self, username, password): | |
| params = {"username": username, "password": password} | |
| r = requests.post("https://www.hover.com/api/login", params=params) |
| import React, { Component } from 'react'; | |
| import { | |
| CardElement, | |
| injectStripe, | |
| StripeProvider, | |
| CardNumberElement, | |
| CardExpiryElement, | |
| CardCVCElement, | |
| Elements | |
| } from 'react-stripe-elements'; |
| This is an unofficial pinout diagram of the Adafruit Feather Huzza32 (ESP32) board: | |
| https://learn.adafruit.com/adafruit-huzzah32-esp32-feather | |
| For more information about this diagram, see: | |
| https://learn.adafruit.com/adafruit-huzzah32-esp32-feather/pinouts | |
| +-------------------+ | |
| | O | USB | O | |
| Unoffical ESP32 Development Board Pinout Ascii Art | |
| For more information: | |
| https://www.espressif.com/en/products/hardware/esp32/overview | |
| https://lastminuteengineers.com/esp32-arduino-ide-tutorial/#esp32-development-board-pinout | |
| # Pass the env-vars to MYCOMMAND | |
| eval $(egrep -v '^#' .env | xargs) MYCOMMAND | |
| # … or ... | |
| # Export the vars in .env into your shell: | |
| export $(egrep -v '^#' .env | xargs) |
| # Manual opt parsing example | |
| # | |
| # Features: | |
| # - supports short and long flags (ie: -v|--verbose) | |
| # - supports short and long key/value options (ie: -f <file> | --filename <file>) | |
| # - supports short and long key/value options with equals assignment (ie: -f=<file> | --filename=<file>) | |
| # - does NOT support short option chaining (ie: -vh) | |
| # - everything after -- is positional even if it looks like an option (ie: -f) | |
| # - once we hit an arg that isn't an option flag, everything after that is considered positional | |
| function optparsing_demo() { |