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
| #!/bin/bash | |
| sed '/å/d ; /ä/d ; /ö/d' $1 > $2 |
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
| ----------- Eclipse ----------- | |
| ------------------------------- | |
| 1. Uppdatera Eclipse till senaste versionen | |
| 2. Hämta JDK 12 https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html och installera | |
| 3. Hämta JavaFx 11 https://gluonhq.com/products/javafx/ | |
| 4. Zippa upp JavaFx och placera mappen på lämplig plats, |
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
| // Generate a new cat name for your cat, based on its favorite food! | |
| public static String catNameGenerator(String catsFavoriteFood) { | |
| String[] catTitle = {"Mister/Miss/Mrs", "Lord", "Big", "Little", "King/Queen", "Captain", "Doctor", "Kitty", "Sweet", "Senior"}; | |
| String [] cuteNames = {"Pumpkin", "Steve", "Jellybean", "Monster", "Summer", "(of) Doom", "(of) Dreams", "Kibble", "Cinnamon"}; | |
| if (catsFavoriteFood.equals(null) || catsFavoriteFood.isEmpty()) { | |
| return "Mister/Miss/Mrs Fluffypaw"; | |
| } | |
| if (catsFavoriteFood.length() < 3) { | |
| return "Captain Whiskers"; |
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
| -- Steps to download and install Docker on Windows | |
| # DOCKER TOOLBOX | |
| # 1. download from below | |
| https://docs.docker.com/toolbox/overview/#whats-in-the-box | |
| # 2. Go to install page for instructions and read | |
| https://docs.docker.com/toolbox/toolbox_install_windows/ | |
| # 3. Check if virtualization is enable, through Task manager: ctrl+alt+delete -> task manager -> performance |