Browse Source

Added language tags to older blog posts

master
jrtechs 4 years ago
parent
commit
61a471debb
3 changed files with 4 additions and 3 deletions
  1. +2
    -1
      blogContent/posts/programming/using-english-conventions-to-write-clean-code.md
  2. +1
    -1
      blogContent/posts/projects/ackermann-function-written-in-java.md
  3. +1
    -1
      blogContent/posts/projects/batch-minecraft-launcher-with-auto-restart.md

+ 2
- 1
blogContent/posts/programming/using-english-conventions-to-write-clean-code.md View File

@ -1,5 +1,6 @@
Is that English? Is that English?
```
```java
private boolean canCompressBlock(Coordinate start, int size){ private boolean canCompressBlock(Coordinate start, int size){
return size == (int)Arrays.stream(this.rawImage, start.getRow(), start.getRow() + size) return size == (int)Arrays.stream(this.rawImage, start.getRow(), start.getRow() + size)
.filter(r-> size == (int)Arrays.stream(r, start.getCol(), start.getCol() + size) .filter(r-> size == (int)Arrays.stream(r, start.getCol(), start.getCol() + size)

+ 1
- 1
blogContent/posts/projects/ackermann-function-written-in-java.md View File

@ -1,4 +1,4 @@
```
```java
class Ackermann_function class Ackermann_function
{ {
    public static void main(String[] args)     public static void main(String[] args)

+ 1
- 1
blogContent/posts/projects/batch-minecraft-launcher-with-auto-restart.md View File

@ -1,4 +1,4 @@
```
```dos
@echo off @echo off

Loading…
Cancel
Save