References:
- Docker Hub Image
- Oracle Instant Clinet - Required for DB connections from third party libs
- Connecting Python to Oracle
My current docker command to start a new container:
docker run -d \
References:
My current docker command to start a new container:
docker run -d \
These steps were originally documented by mediatemple.net and I am copying it here for incase that source disappears on me.
STEP 1 - Add the user. In the following example, we will use the user name admin. The command adduser will automatically create the user, initial group, and home directory.
[root@root ~]# adduser admin
[root@root ~]# id admin
uid=10018(admin) gid=10018(admin) groups=10018(admin)
[root@root ~]# ls -lad /home/admin/
drwx------ 2 admin admin 4096 Jun 25 16:01 /home/admin/
The following example was taken from openstack-archive/deb-python-oauth2client which was an archived project at the time of writing.
# Copyright 2016 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Ran into a problem in VSCode recetnly with Lombok logging annotation causing a "log cannot be resolved" warning in VSCode.
Also, when running the project, as soon as that particular log.info
line is hit, and exception is thrown.
First, I realized I didn't add the lombok plugin - so make sure that is installed.
I also opted to restart the Java language server when VSCode prompted me to do so.
Now, the log.info
line was no longer "underlined" in VSCode, but the error still persisted... What was going on??
Originally from https://www.chrisjhart.com/Windows-10-ssh-copy-id/ (visited 2021-07-06)
The below is run in Windows PowerShell
Step 1: Create keys (once-off)
ssh-keygen
With time the .kube/config file will contain a mix of dev, test and prod cluster references.
It is easy to forget switching off from a prod cluster context and make a mistake and run for example kubectl delete ns crossplane-system
.
Use the following setup to avoid these kinds of errors and keep clusters separate.
Also refer to the GitLab Documentation
docker volume create gitlab-data
docker volume create gitlab-logs
docker volume create gitlab-config
import java.net.InetAddress; | |
import java.net.UnknownHostException; | |
void displayStuff(String whichHost, InetAddress inetAddress) { | |
print("--------------------------" + "\n"); | |
print("Which Host:" + whichHost + "\n"); | |
print("Canonical Host Name:" + inetAddress.getCanonicalHostName() + "\n"); | |
print("Host Name:" + inetAddress.getHostName() + "\n"); | |
print("Host Address:" + inetAddress.getHostAddress() + "\n"); | |
} |