$ oc describe AppliedClusterResourceQuota
Last update: Tue Jan 14 23:15:49 UTC 2020 by @luckylittle
- Understand, identify, and work with containerization features
- Deploy a preconfigured application and identify crucial features such as namespaces, SELinux labels, and cgroups
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
| oc create serviceaccount user-root | |
| oc adm policy add-scc-to-user anyuid -z user-root | |
| oc patch dc/myAppNeedsRoot --patch '{"spec":{"template":{"spec":{"serviceAccountName": "user-root"}}}}' | |
| or | |
| oc set sa dc myAppNeedsRoot user-root |
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
| apply plugin: 'java' | |
| apply plugin: 'eclipse' | |
| sourceCompatibility = JavaVersion.VERSION_1_8 | |
| targetCompatibility = JavaVersion.VERSION_1_8 | |
| eclipseJdt << { | |
| ant.propertyfile(file: ".settings/org.eclipse.core.resources.prefs") { | |
| ant.entry(key: "eclipse.preferences.version", value: "1") | |
| ant.entry(key: "encoding/<project>", value: "utf-8") |
Setup CodeReady Containers -1.14.0 on Remote Server and connect from Laptop.
These steps work for Fedora 31.
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
| #!/usr/bin/env bash | |
| # Secure workaround for https://issues.sonatype.org/browse/MVNCENTRAL-1369 | |
| # Navigate to the root of your Spring Boot project where a Maven wrapper is present and run this script | |
| cd .mvn/wrapper | |
| wget https://gist.githubusercontent.com/kbastani/d4b4c92969ec5a22681bb3daa4a80343/raw/f166086ef051369383b02dfb74317cd07b6f2c6e/settings.xml | |
| cd ../../ | |
| ./mvnw clean install -s .mvn/wrapper/settings.xml |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
- XAMPP for Windows: https://www.apachefriends.org/download.html
- The VC14 builds require to have the Visual C++ Redistributable for Visual Studio 2015 x86 or x64 installed
- The VC15 builds require to have the Visual C++ Redistributable for Visual Studio 2017 x64 or x86 installed
NewerOlder