-
Download Raspbian image: https://www.raspberrypi.org/downloads/raspbian/.
-
Unzip it (optional).
-
Format SD card with SD Memory Card Formatter application (https://www.sdcard.org/downloads/formatter/).
import os | |
import argparse | |
import glob | |
import re | |
import time | |
MIN = -1024 | |
MAX = 3072 | |
mirror of The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 10) by /u/cjalas
>Welcome all, to the first installment of my Idiot Friendly tutorial series! I'll be guiding you through the process of configuring GPU Passthrough for your Proxmox Virtual Machine Guests. This guide is aimed at beginners to virtualization, particularly for Proxmox users. It is intended as an overall guide for passing through a GPU (or multiple GPUs) to your Virtual Machine(s). It is not intended as an all-exhaustive how-to guide; however, I will do my best to provide you with all the necessary resources and sources for the passthrough process, from start to finish. If something doesn't work properly, please check /r/Proxmox, /r/Homelab, /r/VFIO, or
#!/usr/bin/env python | |
import os | |
from flask import Flask, abort, request, jsonify, g, url_for | |
from flask.ext.sqlalchemy import SQLAlchemy | |
from sqlalchemy.inspection import inspect | |
from flask.ext.httpauth import HTTPBasicAuth | |
from passlib.apps import custom_app_context as pwd_context | |
from itsdangerous import (TimedJSONWebSignatureSerializer | |
as Serializer, BadSignature, SignatureExpired) |
#!/bin/bash | |
# Documentation that helped with this: | |
# https://github.com/luebken/serverless-the-manual-way | |
# Status: | |
# https://eu-west-1.console.aws.amazon.com/lambda/home?region=eu-west-1 | |
# See: https://developer.twitter.com/en/apps/16043135 | |
TWITTER_CONSUMER_KEY=secret | |
TWITTER_CONSUMER_SECRET=secret |
This article walks you through an example of deploying a Python 3.6 application that uses Pandas and AWS S3 on AWS Lambda using Boto3 in Python in 2018. No shell, no bash, no web console, everything is automated in Python. The previous article of a Hello World example can be found here.
Again, the reason to use Python Boto3 to interact with AWS is that,
- I'm more familiar with Python than Bash, which means a Python script can be more flexible and powerful than Bash for me.
- I'm not a fun of the AWS web console. It might be easier to do certain things, but it is definitely not automated.
#!/bin/bash | |
sudo apt-get install git cmake build-essential bison -y | |
sudo apt-get install gcc-4.8 g++-4.8 -y # For nvcc | |
mkdir ITK_RTK | |
# Install ITK | |
git clone git://itk.org/ITK.git | |
cd ITK && git checkout v4.13.0 && cd ../ | |
mkdir -p ITK-bin && cd ITK-bin |
#!/bin/bash | |
## Override | |
JENKINS_HOST="" | |
JENKINS_USERNAME="" | |
JENKINS_PASSWORD="" | |
JENKINS_JOB="" | |
CRON_EXPRESSION="cron(0 8 * * ? *)" | |
## Global variables | |
AWS_REGION="us-east-1" |