(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| import boto3 | |
| import datetime | |
| import json | |
| from requests_aws4auth import AWS4Auth | |
| import requests | |
| boto3.setup_default_session(region_name='us-east-1') | |
| identity = boto3.client('cognito-identity', region_name='us-east-1') | |
| account_id='XXXXXXXXXXXXXXX' |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| # Install script of Caffe2 and Detectron on AWS EC2 | |
| # | |
| # Tested environment: | |
| # - AMI: Deep Learning Base AMI (Ubuntu) Version 6.0 - ami-ce3673b6 (CUDA is already installed) | |
| # - Instance: p3.2xlarge (V100 * 1) | |
| # - Caffe2: https://github.com/pytorch/pytorch/commit/731273b8d61dfa2aa8b2909f27c8810ede103952 | |
| # - Detectron: https://github.com/facebookresearch/Detectron/commit/cd447c77c96f5752d6b37761d30bbdacc86989a2 | |
| # | |
| # Usage: | |
| # Launch a fresh EC2 instance, put this script on the /home/ubuntu/, and run the following command. |
| http://www.oreilly.com/data/free/files/2014-data-science-salary-survey.pdf | |
| http://www.oreilly.com/data/free/files/2015-data-science-salary-survey.pdf | |
| http://www.oreilly.com/data/free/files/Data_Analytics_in_Sports.pdf | |
| http://www.oreilly.com/data/free/files/advancing-procurement-analytics.pdf | |
| http://www.oreilly.com/data/free/files/ai-and-medicine.pdf | |
| http://www.oreilly.com/data/free/files/analyzing-data-in-the-internet-of-things.pdf | |
| http://www.oreilly.com/data/free/files/analyzing-the-analyzers.pdf | |
| http://www.oreilly.com/data/free/files/architecting-data-lakes.pdf | |
| http://www.oreilly.com/data/free/files/being-a-data-skeptic.pdf | |
| http://www.oreilly.com/data/free/files/big-data-analytics-emerging-architecture.pdf |
| // Restify Server CheatSheet. | |
| // More about the API: http://mcavage.me/node-restify/#server-api | |
| // Install restify with npm install restify | |
| // 1.1. Creating a Server. | |
| // http://mcavage.me/node-restify/#Creating-a-Server | |
| var restify = require('restify'); |
| #!/usr/bin/env python3 | |
| """ | |
| Tests http mirrors of cygwin | |
| """ | |
| import random | |
| import time | |
| from urllib.request import urlopen | |
| import sys | |
| __author__ = 'Dmitry Sidorenko' |
| #!/bin/bash | |
| [ -z $1 ] && python=3.4 | |
| if [ $(whoami) = root ] ; then | |
| user='' | |
| else | |
| echo Not running under sudo. pip install --user | |
| user='--user' | |
| fi | |
| if [ $python = '2.7' ] ; then |
Make sure you have python, OpenFace and dlib installed. You can either install them manually or use a preconfigured docker image that has everying already installed:
docker pull bamos/openface
docker run -p 9000:9000 -p 8000:8000 -t -i bamos/openface /bin/bash
cd /root/openface