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
<?php | |
/** | |
* Ein Logger fuer die Kranbewegungen | |
*/ | |
class logger | |
{ | |
/** | |
* Lognachrichten | |
* | |
* @var array |
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
<?php | |
/** | |
* Eine Farbe | |
*/ | |
class Color | |
{ | |
/** | |
* Ein Wert fuer die Ausgabe, der die Farbe darstellt | |
* | |
* @var int |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<script type="text/javascript"> | |
window.onload = function () { | |
var x = document.getElementById("x"); | |
var y = document.getElementById("y"); |
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
class Style { | |
private boolean bold; | |
private boolean italic; | |
public boolean equals (Object other) { | |
if (other == null || !(other instanceof Style)) { | |
return false; | |
} | |
Style style = (Style)other; |
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
class Y extends X { | |
public boolean equals (Object other) { | |
if (other == null || !(other instanceof Y)) { | |
return false; | |
} | |
Y y = (Y) other; | |
return x == y.x; | |
} |
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
x = => | |
console.log @a | |
y = -> | |
console.log @a | |
x.a = y.a = 5 | |
x.call { a: 10 } | |
y.call { a: 10 } |
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
class TableDocument | |
def to_pdf | |
add_text document_title | |
add_table [table_header] + table_data | |
render | |
end | |
def document_title | |
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
00:09:36.570 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@7c963d9a, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@6ba6895c, org.gradle.logging.internal.JavaUtilLoggingConfigurer@2842e3b] | |
00:09:37.499 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@7c963d9a, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@6ba6895c, org.gradle.logging.internal.JavaUtilLoggingConfigurer@2842e3b] | |
00:09:37.507 [INFO] [org.gradle.BuildLogger] Starting Build | |
00:09:37.508 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /home/cqql/.gradle | |
00:09:37.510 [DEBUG] [org.gradle.BuildLogger] Current dir: /home/cqql/Projects/dungeon-game | |
00:09:37.512 [DEBUG] [org.gradle.BuildLogger] Settings file: null | |
00:09:37.513 [DEBUG] [org.gradle.BuildLogger] Build file: null | |
00:09:37.541 [DE |
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
class CurlyBraces { | |
public void onTheSameLine () { | |
if (1 == 1) { | |
return; | |
} else { | |
System.out.println("Whut?"); | |
} | |
} | |
} |
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
git checkout -b feature-a | |
# Dateien bearbeiten | |
git add ... | |
git commit -m "..." | |
# Und so weiter | |
# master mit github synchronisieren | |
git checkout master |
OlderNewer