1. Install nginx
2. Install minio
3. Install mc client
$ mc mb myminio/static
Bucket created successfully ‘myminio/static’.
| import org.apache.commons.lang3.StringUtils; | |
| import java.net.URLDecoder; | |
| import java.nio.charset.StandardCharsets; | |
| import java.util.*; | |
| public class QueryStringParser { | |
| /** | |
| * Make a map from a string like "key1=val1&key2=val2". |
| import time | |
| import collections | |
| import functools | |
| import itertools | |
| TIMES = 200 | |
| N = 200 | |
| M = 10 |
| grep "2015-12-19.*.install " /var/log/dpkg.log | awk '{ print $4 }' | cut -d: -f1 | xargs sudo apt-get --yes purge |
| version: '3' | |
| networks: | |
| vpcbr: | |
| driver: bridge | |
| ipam: | |
| config: | |
| - subnet: 10.5.0.0/16 | |
| services: |
| version: "2" | |
| networks: | |
| kafka-net: | |
| driver: bridge | |
| services: | |
| burrow: | |
| image: "solsson/burrow:latest" | |
| networks: |
| #include <mpi.h> | |
| #include <cstdio> | |
| template<class T> | |
| class ITask | |
| { | |
| public: | |
| ITask(); | |
| ITask(const ITask &); | |
| virtual void Run(T); |
| __kernel void saxpy(__global float *x, __global float *y, float a) | |
| { | |
| const int i = get_global_id(0); | |
| y[i] += a * x[i]; | |
| } |
| #include "omp.h" | |
| #include <iostream> | |
| #include <ctime> | |
| typedef long long lli_t; | |
| lli_t sum_array(const lli_t *a, const lli_t n) | |
| { | |
| lli_t sum = 0; | |
| for (lli_t i = 0; i < n; i++) { |