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
@variable: 5px; | |
@import "second.less"; |
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
# This | |
hash.merge({ | |
value: 1 | |
}) | |
# instead of | |
hash.merge({ | |
value: 1 | |
}) |
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
{ | |
"test": 20 // Test | |
} |
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
private void drawWeaponIndicator (Graphics g) { | |
Item weapon = this.world.getPlayer().getWeapon(); | |
String weaponName = "Keine Waffe"; | |
if (weapon != null) { | |
weaponName = weapon.getType().getName(); | |
} | |
g.setColor(this.white); | |
g.setFont(this.font); |
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
Player movedPlayer = this.world.getPlayer().apply(transform); | |
for (blockingTile : alle blockingTiles) { | |
if (movedPlayer.touches(blockingTile) { | |
return new IdentityTransform(); | |
} | |
} | |
return transform; |
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
public static void main () { | |
Matrix a = new Matrix({{1, 2}, {0, 1}}); | |
Matrix b = new Matrix({{3, 3}, {-1, 4}}); | |
Matrix ab = a.times(b); | |
// Das soll dann 3 ausgeben | |
System.out.println(ab.trace()); | |
} |
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 X { | |
public int method (X x) { | |
return 0; | |
} | |
} | |
class Y { | |
public int method (Y x) { | |
return 5; | |
} |
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 |
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
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 |