CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.
Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file
| # Python Function App to Linux on Azure | |
| # Build a Python function app and deploy it to Azure as a Linux function app. | |
| # Add steps that analyze code, save build artifacts, deploy, and more: | |
| # https://docs.microsoft.com/azure/devops/pipelines/languages/python | |
| trigger: | |
| - trunk | |
| variables: | |
| # Azure Resource Manager connection created during pipeline creation |
| # Eat up some memory until 30% of system total | |
| import psutil, os | |
| nb_process_id = os.getpid() | |
| p = psutil.Process(nb_process_id) | |
| from multiprocessing import Pool | |
| import string | |
| import random |
CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.
Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file
Updated 4/11/2018
Here's my experience of installing the NVIDIA CUDA kit 9.0 on a fresh install of Ubuntu Desktop 16.04.4 LTS.
| source: { | |
| type: hive | |
| query:""" | |
| SELECT | |
| id_listing as listing | |
| , dim_city as city | |
| , dim_country as country | |
| , dim_is_active as is_active | |
| , CONCAT(ds, ' 23:59:59.999') as ts | |
| FROM |
| from threading import Thread | |
| from time import sleep | |
| import uuid | |
| from dask.distributed import LocalCluster, Client | |
| import dask.dataframe as dd | |
| import pandas as pd | |
| import pyspark |
| # Set the command-line arguments to pass to the server. | |
| ARGS='-web.listen-address=:9100 -collector.diskstats.ignored-devices="^(ram|loop|fd)\\d+$"' | |
| # Prometheus-node-exporter supports the following options: | |
| # -collector.diskstats.ignored-devices="^(ram|loop|fd|(h|s|v|xv)d[a-z])\\d+$": Regexp of devices to ignore for diskstats. | |
| # -collector.filesystem.ignored-mount-points="^/(sys|proc|dev)($|/)": Regexp of mount points to ignore for filesystem collector. | |
| # -collector.ipvs.procfs="/proc": procfs mountpoint. | |
| # -collector.megacli.command="megacli": Command to run megacli. | |
| # -collector.ntp.server="": NTP server to use for ntp collector. | |
| # -collector.textfile.directory="": Directory to read text files with metrics from. |
| # import config. | |
| # You can change the default config with `make cnf="config_special.env" build` | |
| cnf ?= config.env | |
| include $(cnf) | |
| export $(shell sed 's/=.*//' $(cnf)) | |
| # import deploy config | |
| # You can change the default deploy config with `make cnf="deploy_special.env" release` | |
| dpl ?= deploy.env | |
| include $(dpl) |