This file contains hidden or 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
public class Fahrzeug { | |
private double gewicht; | |
private long laufleistung; | |
public Fahrzeug (double gewicht) { | |
this.gewicht=gewicht; | |
} | |
public Fahrzeug (double gewicht, long laufleistung) { | |
this.gewicht=gewicht; |
This file contains hidden or 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
<# | |
.Synopsis | |
Anlegen von AD Benutzern und Gruppen | |
.DESCRIPTION | |
Dieses Script legt Gruppen an und weist diesen dann Gruppen zu, als Datenquelle dient eine CSV Datei mit folgenden Einträgen | |
Fistname,LastName, group | |
.EXAMPLE | |
Add-ADUsers -tablename users.csv | |
.EXAMPLE | |
Add-ADUsers -tablename users.csv -computername 192.168.12.132 |
This file contains hidden or 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
package dq.fiae12e; | |
public class Dachgepaecktraeger { | |
private Fahrrad f1,f2; | |
private final double gewicht=15.0; | |
public void applyFahrrad1(Fahrrad f1) { | |
this.f1 = f1; | |
} |
This file contains hidden or 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
package dq.fiae12e; | |
public class ObjTraining { | |
private Produkt fuhrpark[] = new Produkt[10]; | |
public ObjTraining() { | |
Fahrrad f1 = new Fahrrad(12, 0); | |
f1.setHersteller("Gudereit"); | |
f1.setPreis(600); |
This file contains hidden or 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
// Auszug aus der Klasse OBJTraining | |
System.out.println("Ich besitze insgesammt " | |
+ Fahrzeugmarke.getNumberOfProducts() + " Produkte"); |
This file contains hidden or 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
$a=Invoke-WebRequest http://service.joerg-tuttas.de:8081/Raspi/SensorServlet?out=json | ConvertFrom-Json | |
$s=Invoke-WebRequest http://service.joerg-tuttas.de:8081/Raspi/SensorServlet?out=csv | ConvertFrom-Csv -Delimiter ";" |
This file contains hidden or 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
// START SNIPPET: control-gpio-snippet | |
/* | |
* #%L | |
* ********************************************************************** | |
* ORGANIZATION : Pi4J | |
* PROJECT : Pi4J :: Java Examples | |
* FILENAME : ControlGpioExample.java | |
* | |
* This file is part of the Pi4J project. More information about |
This file contains hidden or 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
<!doctype html> | |
<html lang="de"> | |
<head> | |
<meta charset="utf-8"> | |
<title>tets</title> | |
</head> | |
<body> | |
<p><b><u>Aufgabe:</u></b> </p> | |
<p> </p> |
This file contains hidden or 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
set-psreadlineoption -t parameter darkblue | |
set-psreadlineoption -t operator darkblue | |
set-psreadlineoption -t string darkgreen | |
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1") | |
. $env:github_posh_git\profile.example.ps1 | |
function prompt | |
{ | |
$l=get-location; | |
$f=$l.Path.Substring($l.Path.LastIndexOf("\")) | |
$l.Drive.Name+":\\.."+$f+ "> " |
This file contains hidden or 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
Import-Module "C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\bin\psModules\virtualmachinemanager" | |
<# | |
.Synopsis | |
Löscht alle Snapshorts und erstellt einen Snapshot "base" | |
.DESCRIPTION | |
Löscht alle Snapshorts und erstellt einen Snapshot "base" | |
.EXAMPLE | |
Init Block for the named VM | |
init-block -vmname "linux" |