Go to about:config and add the property: ui.systemUsesDarkTheme=1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| export class AddressParser { | |
| splitStreetAndHouseNo(streetWithHouseNo: string): string[] { | |
| // No number means we only have a street | |
| if (/^(Straße \d+|[A-Z]\d)$/.test(streetWithHouseNo)) { | |
| return [streetWithHouseNo, '']; | |
| } | |
| // If the input contains " Nr." use markter to split the line | |
| const noMatcher = streetWithHouseNo.match(/\sNr\./i); | |
| if (noMatcher) { |
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
| // My fixes for the german keyboard layout | |
| // Put this at: /usr/share/X11/xkb/symbols/nemoinho | |
| // And apply via: setxkbmap nemoinho | |
| // Thanks to: https://niklasfasching.de/posts/custom-keyboard-layou | |
| default | |
| xkb_symbols "nemoinho" { | |
| include "de(basic)" | |
| key <AE12> {[ dead_acute, dead_grave, apostrophe ]}; |
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
| # HOME (fn+left) | |
| "\e[H": beginning-of-line | |
| "\e[1~": beginning-of-line | |
| # END (fn+right) | |
| "\e[F": end-of-line | |
| "\e[4~": end-of-line | |
| # Alt+right | |
| "\e\e[C": forward-word | |
| # Alt+left | |
| "\e\e[D": backward-word |
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
| declare const ___brand: unique symbol; | |
| type Branded<A, B> = A & { readonly [___brand]: B }; | |
| type UID = Branded<number, User>; | |
| interface User { | |
| id: UID; | |
| name: string; | |
| lastLogin: Date; |
Original Source: Spring Cloud program uses logback error
For Spring Cloud programs that do not use Spring Cloud Context, it is best to disable Spring Cloud Context, because if it is not disabled, it will cause some configuration loading errors.
Disable method:
add in the main SpringBoot function System.setProperty("spring.cloud.bootstrap.enabled", "false");
root/
├─ assets/
│ └─ favicon.ico
└─ src/
├─ App.js
├─ services/
│ └─ play─client/
│ ├─ PlayClient.js
│ ├─ PlayLocalStorageClient.js
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 java.util.HashSet; | |
| import java.util.Set; | |
| import lombok.Data; | |
| /** | |
| * This is a simple demo how to implement equals and hashcode wrong, just because we don't understand it good enough | |
| * It's is a very common mistake and easy to make wrong when you use lombok. | |
| */ | |
| @Data |
NewerOlder