Skip to content

Instantly share code, notes, and snippets.

Creating root certificate and signing local certificate with it

The commands are taken from here

  • Create the root certificate (rootCA.pem) and the key (rootCA.key):
> openssl genrsa -des3 -out rootCA.key 2048
> openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 16384 -out rootCA.pem
  • Trust the rootCA.pem on the device which later will act as the client. Keep the rootCA.key private.
  • Create a file called server.csr.cnf (or, for automation purposes, find a way in which you can pass these values to the later command directly) with the following content:

Präsentation JavaFx

Setup Process

  1. Herunterladen von Gluon scene-builder
  2. Installieren von e(fx)clipse in eclipse
  3. Window -> Preferences -> JavaFx -> Scene Builder path setzen
  4. Main.java
package application;

Task 5.1.4

  • Availability:
    • If the attack does not exceed a certain amount:
      • Firewall
      • Specialized hardware, which sits in front of the normal servers and routers. Detects and filters the malicious traffic.
        • Costly purchases, which sit around and don't do much for most of the time
        • They need a certain amount of expertise to be handled and maintained -> another cost factor
        • They cannot handle large-scale attacks
  • For larger scale attacks:

Programmieren in Java: Die Basics

Über Java

Java gehört zu den meist-verwendeten und bekanntesten Programmiersprachen, die es gibt. Sie wird von vielen Leuten als die erste Programmiersprache gelernt. Das heisst aber nicht, dass sie einfacher ist, als die unzähligen anderen Sprachen, die es sonst noch gibt. Im Gegenteil! Sie ist schon relativ alt (1995 Erschienen), hat sich seit dieser Zeit aber ordentlich weiterentwickelt. Die grösste Konkurrenz, die Java heute hat, ist C# (Sprich «Ci Sharp»), C# läuft jedoch nur auf Windows PC’s, während Java sogenannt «Cross Platform» ist, das heisst, dass sie auf Windows, OSX und Linux gleichermassen laufen sollte. Das heisst jetzt aber nicht, dass C# schlechter ist als Java. Sie haben beide ihre Vorteile und ihre Nachteile. Was sicher ist, dass du neue Programmiersprachen schneller lernst, wenn du Java bereits kannst.

Schnupperlehre Informatiker

  • Erstellt am: 20.09.2017
  • Autor: Fabian Bächli

1. Tag

Durchgeführt durch Beni

Das Programm

  1. Begrüssung: Im SiZi 2, 30' - 1h
    • Wer sind wir?
  • Wo ist das WC?

Agile with JIRA

Scrum vs Kanban

Infos collected from this video

  • Scrum: Used when developing something with a target deadline
  • Kanban: When you don't have a target deadline. No planning just prioritozing.

Epic

Epics are kind of a upper category for a "kind of task". In my case this could be something like "Configuring devices" and every task which falls in that category has this tag

Scrum with Jira

App Components

Introduction

When building an app in Android, you're building it from components. These components provide a lot of reusability, so that you don't have to reinvent the wheel everytime. The whole android ecosystem consists of components.

Pros:

  • Reusability -> As a developer, you can reuse already existing components in your code
  • Modularity -> If you want to change the functionality of a component, you know exactly, what to change. Also you don't break something else in the process, since you're only changing the functionality of that component

Scrum

Characteristics

  • Agile software development
  • Planing only for the next minimal implementation
  • The implementation phases are called sprints
  • Sprints don't take longer than 3 weeks

Cycle

  • Just enough planning to get started with building a minimal feature set
  • Building the small feature set

Adding a calendar to Outlook 2016

German

  1. In die Kalenderansicht navigieren
  2. In der Menübar oben, "Kalender öffnen" -> "Aus Addressbuch" (Eventuell ist der Kontakt noch nicht in der Globalen Adressliste verfügbar, da er dort erst nach etwa 48 Stunden nach dem Erstellen des Kontakts gespeichert wird. In diesem Fall, das Adressbuch "Alle Benutzer wählen" und ihn dort suchen.)
  3. Kalender hinzufügen und einen Testeintrag darin erstellen

English

Setting up an API

Prerequisites

  • AWS-Account
  • Basic knowledge of either JS, Java or Python

How to

We are going to create a program which takes a min and max value and generates a random value in the range resulting from these two parameters

  1. Creating the Lambda function