This tutorial outlines how to set up Zookeeper, Kafka, Elasticsearch, Kibana, and Logstash on the UTD server.
Table of Contents:
- Setup
- Install Zookeper
- Install Kafka (depends on Zookeeper)
- Install PCRE
username: "Test" | |
password: "123456" |
import java.io.*; | |
import java.util.InputMismatchException; | |
import java.util.StringTokenizer; | |
public final class FastReader { | |
private BufferedReader bufferedReader; | |
private StringTokenizer stringTokenizer; | |
public FastReader() { |
import 'dart:convert'; | |
import 'package:http/http.dart' as http; | |
void main() { | |
stuff(); | |
} | |
void stuff() { | |
var thing = fetchOmg(); |
.data | |
prompt: .asciiz "Input some text dude" | |
charactersMessage: .asciiz "Characters: " | |
wordsMessage: .asciiz "Words: " | |
input: .space 100 | |
newLine: .asciiz "\n" | |
.text | |
# prompts for the text to analyze | |
li $v0, 54 |
.data | |
buffer: .space 80 | |
numbers: .space 80 | |
inputFileName: .asciiz "input.txt" | |
messageBefore: .asciiz "The array before: " | |
messageAfter: .asciiz "\nThe array after: " | |
meanMessage: .asciiz "\nThe mean is: " | |
medianMessage: .asciiz "\nThe median is: " | |
standardOfDeviationMessage: .asciiz "\nThe standard of deviation is: " | |
delimeter: .asciiz " " |
.eqv WIDTH 64 | |
.eqv HEIGHT 64 | |
.eqv RED 0x00FF0000 | |
.eqv GREEN 0x0000FF00 | |
.eqv BLUE 0x000000FF | |
.eqv WHITE 0x00FFFFFF | |
.eqv YELLOW 0x00FFFF00 | |
.eqv CYAN 0x0000FFFF | |
.eqv MAGENTA 0x00FF00FF |
(ns clojure-rock-paper-scissors.clojure_rock_paper_scissor | |
(:require [clojure-rock-paper-scissors.utils :refer :all])) | |
(def results #{:player-1-win :player-2-win :tie}) | |
(def types #{:rock :paper :scissor}) | |
(def game-modes #{:one-player :two-player}) | |
(def guess-map {"r" :rock, "p" :paper, "s" :scissor}) | |
(defn get-type [raw-type] | |
(get guess-map raw-type)) |
import math | |
dot_product = lambda X, Y: sum(map(lambda x, y: x * y, X, Y)) | |
def sigma(t): | |
return 1 / (1 + math.exp(-t)) | |
def sigma_prime(t): | |
sigma_value = sigma(t) | |
return sigma_value * (1 - sigma_value) |
package net.mooctest; | |
import org.junit.Test; | |
import static org.junit.Assert.*; | |
import java.util.ArrayList; | |
import java.util.List; |