<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:
import org.apache.spark.SparkConf | |
import org.apache.spark.SparkContext | |
import org.apache.spark.sql.SparkSession | |
import org.apache.spark.sql._ | |
import org.apache.spark.sql.functions._ | |
import org.apache.log4j.Level | |
import org.apache.log4j.Logger | |
object MoviePractice { |
package Simple | |
import org.apache.spark.SparkConf | |
import org.apache.spark.SparkContext | |
import org.apache.log4j.Level | |
import org.apache.log4j.Logger | |
object WordCount { | |
def main (args: Array[String]){ | |
Logger.getLogger("org").setLevel(Level.OFF) |
data "vsphere_datacenter" "dc" { | |
name = "<DC Name>" #e.g Datacenter1 | |
} | |
data "vsphere_datastore" "datastore" { | |
name = "<Datastore Name>" #e.g Datastore1 | |
datacenter_id = "${data.vsphere_datacenter.dc.id}" | |
} | |
data "vsphere_resource_pool" "pool" { |
import os | |
import json | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
from wordcloud import WordCloud, STOPWORDS | |
####################### Section 1 ################### | |
# Read from the file | |
# Read in ALL the tweets |
from bs4 import BeautifulSoup | |
import json | |
import urllib.request | |
#with urllib.request.urlopen("https://www.studyabroad101.com/programs/dis-copenhagen-summer") as url: | |
# content = url.read() | |
class AppURLopener(urllib.request.FancyURLopener): | |
version = "Mozilla/5.0" |
package aa; | |
import java.util.Queue; | |
import java.util.concurrent.BlockingQueue; | |
import java.util.logging.Level; | |
import java.util.logging.Logger; | |
public class Producer implements Runnable { | |
private Queue<Integer> queue; |
package aa; | |
import java.io.*; | |
import java.util.concurrent.locks.Lock; | |
import java.util.concurrent.locks.ReentrantLock; | |
/** | |
* The Account class: 1) has a current balance and a name 2) allows transfers to | |
* another account | |
* |
package aa; | |
import java.util.concurrent.locks.Lock; | |
import java.util.concurrent.locks.ReentrantLock; | |
public class ThreadDemoCounter implements Runnable | |
{ | |
private int counter; | |
private static Lock lock; | |
public int getCounter() |
This is the first line; | |
The second line starts here. | |
===== end loop ===== | |
This is the first line; | |
The second line starts here. | |
===== end loop ===== | |
This is the first line; | |
The second line starts here. | |
===== end loop ===== | |
This is the first line; |