Reference: https://spark.apache.org/docs/latest/
- Install Java 8+, then add to
PATH
andJAVA_HOME
import os | |
import asyncio | |
import aiohttp # pip install aiohttp | |
import aiofiles # pip install aiofiles | |
REPORTS_FOLDER = "reports" | |
FILES_PATH = os.path.join(REPORTS_FOLDER, "files") | |
def download_files_from_report(urls): |
// Compile with: $ g++ epoll.cc -o epoll1 -lboost_thread | |
#include <iostream> | |
#include <netinet/in.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/epoll.h> | |
#include <sys/socket.h> | |
#include <sys/types.h> | |
#include <unistd.h> |
Reference: https://spark.apache.org/docs/latest/
PATH
and JAVA_HOME
# make directory for new rails app | |
mkdir app | |
cd app | |
# specify ruby version | |
echo 2.3.1 > .ruby-version | |
# initialize bundler (creates Gemfile) | |
bundler init |