<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
#!/usr/bin/env python | |
import multiprocessing | |
import random | |
import string | |
import time | |
def fill_output(): | |
to_fill = num_lines - len(last_output_per_process) |
GOPATH=$(shell pwd)/vendor:$(shell pwd) | |
GOBIN=$(shell pwd)/bin | |
GOFILES=$(wildcard *.go) | |
GONAME=$(shell basename "$(PWD)") | |
PID=/tmp/go-$(GONAME).pid | |
build: | |
@echo "Building $(GOFILES) to ./bin" | |
@GOPATH=$(GOPATH) GOBIN=$(GOBIN) go build -o bin/$(GONAME) $(GOFILES) | |
get: |
FROM oraclelinux:7-slim | |
# Download tar from http://www.oracle.com/technetwork/java/javase/downloads/server-jre9-downloads-3848530.html | |
#d29b6b3008c814abd8ab5e4bde9278d6ee7699898333992ee8d080612b5197ca serverjre-9.0.4_linux-x64_bin.tar.gz | |
MAINTAINER Varun Pant <[email protected]> | |
ENV JAVA_PKG=serverjre-9*_linux-x64_bin.tar.gz \ | |
JAVA_HOME=/usr/java/default | |
ADD $JAVA_PKG /usr/java/ |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
# -*- coding: utf-8 -*- | |
""" | |
A real simple app for using webapp2 with auth and session. | |
It just covers the basics. Creating a user, login, logout and a decorator for protecting certain handlers. | |
PRE-REQUIREMENTS: | |
Set at secret_key in webapp2 config: |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Overlay map types</title> | |
<style> | |
html, body, #map-canvas { | |
height: 100%; | |
margin: 0px; | |
padding: 0px |
// Global variables | |
var ss = SpreadsheetApp.getActiveSpreadsheet(), | |
sheet = ss.getActiveSheet(), | |
activeRange = ss.getActiveRange(), | |
settings = {}; | |
var geocoders = { | |
google: { | |
query: function(query, key) { | |
return 'https://maps.googleapis.com/maps/api/geocode/json?address=' + query;//+'&key=' + key |