- Install browserify
npm install -g browserify
-
Save the
pgp.util.jscontents to a file. -
Run
browserify ./pgp.util.js -o ./openpgp.bundle.js
| !pip install fastai | |
| !apt-get -qq install -y libsm6 libxext6 && pip install -q -U opencv-python | |
| import cv2 | |
| from os import path | |
| from wheel.pep425tags import get_abbr_impl, get_impl_ver, get_abi_tag | |
| platform = '{}{}-{}'.format(get_abbr_impl(), get_impl_ver(), get_abi_tag()) | |
| accelerator = 'cu80' if path.exists('/opt/bin/nvidia-smi') else 'cpu' | |
| !pip install -q http://download.pytorch.org/whl/{accelerator}/torch-0.3.0.post4-{platform}-linux_x86_64.whl torchvision |
| const express = require('express'); | |
| const request = require('request'); | |
| const app = express(); | |
| const port = process.env.PORT || 3000; | |
| app.get('/:patientId', (req, res) => { | |
| const options = { method: 'GET', | |
| url: 'https://verify.greenlifemedical.com/recommendations', | |
| qs: { utf8: '%E2%9C%93', rec_id: req.params.patientId } | |
| }; |
| { | |
| "name": "usda-ingredients-api", | |
| "version": "1.0.0", | |
| "description": "a REST API for pulling ingredients given a UPC code from ndb.nal.usda.gov", | |
| "main": "index.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "repository": { | |
| "type": "git", |
npm install -g browserify
Save the pgp.util.js contents to a file.
Run browserify ./pgp.util.js -o ./openpgp.bundle.js
let myString = 'some string goes here'let myNumber = 443let myArray = [1,2,3,4]| from termcolor import colored | |
| _title = colored("----.----.----^", 'green') | |
| print(_title) | |
| InteractiveVersion = """""" | |
| tickerQ= input('ticker?') | |
| stockGroupSelection = input('Selection(snp | nasdaq):') | |
| stockGroupSelection=stockGroupSelection.lower() | |
| commandLineVersion=""" |
| # Copyright 2016 The TensorFlow Authors. All Rights Reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| import matplotlib.pyplot as plt | |
| import matplotlib.image as mpimg | |
| import numpy as np | |
| import cv2 | |
| import math | |
| def region_of_interest(img, vertices): | |
| mask = np.zeros_like(img) | |
| match_mask_color = 255 # <-- This line altered for grayscale. |
| import matplotlib.pyplot as plt | |
| import matplotlib.image as mpimg | |
| import numpy as np | |
| import cv2 | |
| import math | |
| def region_of_interest(img, vertices): | |
| mask = np.zeros_like(img) | |
| match_mask_color = 255 # <-- This line altered for grayscale. |
| /* | |
| * shortcode.js 1.1.0 | |
| * by @nicinabox | |
| * License: MIT | |
| * Issues: https://github.com/nicinabox/shortcode.js/issues | |
| */ | |
| /* jshint strict: false, unused: false */ | |
| var Shortcode = function(el, tags) { |