This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>groupId</groupId> | |
<artifactId>artifactid</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>projectName</name> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"s3_input_bucket" : "dns_dwh_tables", | |
"s3_input_key" : "customer_skus", | |
"api_endpoint" : "customer_skus", | |
"glue_db" : "", | |
"glue_table" : "" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
/* | |
Your previous Plain Text content is preserved below: | |
Conway’s Game of Life | |
Imagine we have an n x n grid (n>=4) with each cell containing an organism. At any stage a cell can be alive or dead. The cell’s lifecycle is determined by its state (alive or dead) in the previous stage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Description: CloudFormation template for creating an EMR cluster | |
Parameters: | |
VPC: | |
Description: VPC ID for creating the Amazon EMR cluster & BI Server | |
Type: AWS::EC2::VPC::Id | |
EmrClusterName: | |
Description: The name of the EMR cluster | |
Type: String | |
EmrSubnet: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"id": "6ea870aa", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
'id': 353152, | |
'lineNumber': 1, | |
'sku': 9317, | |
'quantity': 108, | |
'deliveryDate': '2021-09-27', | |
'description': 'PHYSALIS GREEN TEA TABL', | |
'unitCost': '5.700000', | |
'status': 'Received', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object TreeProblem extends App { | |
case class Employee(name: String, manages: collection.mutable.ListBuffer[Employee], var managed: Option[Employee]) | |
case class EmployeesTree(employee: Employee) | |
def findEmployeeInTree(baseNode: Employee, name: String): Option[Employee]={ | |
if(baseNode.name.equals(name)){ | |
Some(baseNode) | |
} | |
else{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
app: kafka-broker | |
name: kafka-broker-svc | |
spec: | |
type: NodePort | |
ports: | |
- name: kafka-port |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO: Server startup in 15831 ms | |
Registered app server agent with Node ID[191655] Component ID[1317] Application ID [190] | |
Mar 05, 2018 10:34:42 AM org.apache.catalina.core.StandardServer await | |
INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance. | |
Mar 05, 2018 10:34:42 AM org.apache.coyote.AbstractProtocol pause | |
INFO: Pausing ProtocolHandler ["http-apr-7800"] | |
Mar 05, 2018 10:34:42 AM org.apache.coyote.AbstractProtocol pause | |
INFO: Pausing ProtocolHandler ["ajp-apr-7500"] | |
Mar 05, 2018 10:34:42 AM org.apache.catalina.core.StandardService stopInternal | |
INFO: Stopping service Catalina |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name := "pulse-akka" | |
version := "0.1" | |
val akkaVersion = "2.5.4" | |
val akkaHttpVersion = "10.0.10" | |
val commonDependencies: Seq[ModuleID] = Seq( | |
"org.scalatest" %% "scalatest" % "3.0.1", | |
"org.slf4j" % "slf4j-log4j12" % "1.7.10" | |
) | |
scalaVersion := "2.12.2" |
NewerOlder