Spring Cloud Netflix Concepts

What is Spring? The Spring Framework (short Spring) is an open source framework for the Java platform. The goal of the Spring Framework is to simplify development with Java/Java EE and promote good programming practices. Spring provides a holistic solution for building applications and their business logic with a wide range of functionality; decoupling of application components is the focus. [wikipedia] The main projects of Spring include: Spring Boot Spring Framework Spring Cloud Date Flow Spring Cloud Spring Data Spring Integration Spring Batch Spring Security Spring HATEOAS spring REST Docs Spring AMQP Spring Mobile Spring for Android Spring Web Flow Spring Web Services Spring LDAP Spring Session Spring Shell Spring Flo Spring Kafka Spring Statemachine Sprin IO Platform In addition Spring includes the two community projects: ...

Read more

BPMN 2.0: Cheat Sheet for the Basic Notation

Since I don’t model every day, this BPMN diagram with its deliberately simple notation serves me as an efficient memory aid for the most important fundamentals.

Read more

DTLS (TCP vs. UDP)

Transport Layer Security (TLS) known as Secure Sockets Layer (SSL) is an encryption protocol (based on x.509) for secure data transmission. Datagram Transport Layer Security (DTLS) is based on TLS and uses UDP instead of TCP. The difference between TLS and DTLS is equivalent to the difference between TCP and UDP. TLS requires the reliability of the data, among other things for decrypting data. If, for example, the data packets arrive out of order, TLS will not be able to perform an integrity check, since the check involves the sequence number of the packets, i.e. after packet N, packet N+1 is expected. ...

Read more

Ansible: Vagrant VM Provisioning

// Ansible is used for the configuration or provisioning of the following Vagrant VM infrastructure // Installation from “Personal Packages Archive (PPA)” sudo -s apt-get install software-properties-common apt-add-repository ppa:ansible/ansible apt-get update apt-get install ansible // Check ansible –version ansible-playbook –version ansible-galaxy –help // Creation of a new/custom ‘hosts’ or ‘inventory’ file // for configuring the ‘dev’ environment cd ~ mkdir ansible cd ansible vi dev // Creating a custom config file (ansible.cfg) // Reference to the inventory (hosts) file cd ~/ansible vi ansible.cfg [defaults] inventory=./dev ...

Read more

Vagrant: Basics

VM-Management // Help vagrant help vagrant help init // Initialize folder for Vagrant, i.e. generate ‘Vagrantfile’ vagrant init hashicorp/precise64 // Setup and configure an environment (Vagrant box) vagrant up // List installed boxes // Windows folder // Login via SSH vagrant ssh // VM sleep mode vagrant suspend // Turn off VM (shutdown) vagrant halt // Delete VM vagrant destroy Vagrant Box // Install additional environments (Vagrant box), e.g. Ubuntu trusty ...

Read more

IPv4 vs. IPv6 (high level)

IPv4 Review IPv4 Header Version: 4 IHL (Internet Header Length): length of the header in 32-bit increments. Value 5 = 5 lines x 32 bits TOS (Type of Service): used to prioritize the IP packet (QoS) Total Length: 65535 bytes Identification, Flags & Fragment Offset. Control of fragmentation Flags: Bit 0 is reserved. If bit 1 is set to 0, fragmentation is allowed. If set to 1, not allowed. If bit 2 is set to 0, then it is the last fragment. If 1, more fragments follow. Time to Live: lifetime of the packet. Each router reduces the value by 1 Protocol: e.g. TCP, UDP, ICMP, etc. Header Checksum: checksum. Rarely used. Source / Destination: destination and source address IPv4 & IPv6 Header Differences ...

Read more

R Programming: Analysis of the Titanic Data from Kaggle

When the Titanic sank in April 1912, more than half of the people on board died. The Kaggle platform provides a table for 891 passengers that shows who survived. This post analyses the table with R: how are sex, class and age related to survival? Lines starting with #> show the output of R. Loading the data Download the dataset The data belongs to the Kaggle competition Titanic: Machine Learning from Disaster. Downloading it requires a free Kaggle account. The file train.csv contains the 891 passengers whose fate is known. ...

Read more

R Programming: Collection of Important R Commands with Examples

This collection shows the most important commands of the R programming language, each with a short example. Lines starting with #> show the output of R. All examples run on R 4.1 or later. Basics Comments R ignores everything after a # up to the end of the line. # I am a comment x <- 5 # A comment can also follow a command Printing to the console print() shows an object the way R displays it, with the position number [1] in front. cat() prints the plain text. sprintf() inserts values into a text template. ...

Read more

Windows: Recommended OpenSource and Freeware Applications

Office – Desktop – Small Helpers Atom - Text editor Notepad++ - Text editor IZArc - Archive utility Agent Ransack - Local search OpenOffice - Office suite Dia - Diagram editor KDiff3 - Compares two files or directories WinMerge - Compares two files or directories TailMe - Monitors file growth BareTail - Monitors file growth Cygwin - Unix API emulator InfoRapid - Full-text search tools LingoPad - Multilingual dictionary Xenu’sLink Sleuth - Detects dead links JR Screen Ruler - Desktop ruler FreeMind - Mind mapping tool DM2 - Window control (transparency, bring windows to front, etc.) PDFCreator - Application for creating PDF files Renamer-It! - To rename files Win32 Disk Imager - To copy an image to an SD card GoogleCalendarSync - To synchronize Google Calendar with Outlook QTranslate - Translation program Calibre - E-book Manager (reader) DeskPins - Pin window to foreground Audio – Video ...

Read more