Ubuntu Upgrade 15.10 to 16.04

Refer: https://askubuntu.com/questions/848085/upgrade-from-15-10-to-16-04-no-new-release-found

You can change your software sources from wily to xenial, then update, upgrade and dist-upgrade.

1. 'sudo nano /etc/apt/sources.list'
2. Check every rows to find the word wily and change those to xenial 2. Ctrl-X to save, Y to yes, Press Enter key
3. Update, upgrade, dist-upgrade. – Arijit Chatterjee

Oracle ODBC, SQL*Plus, Xampp on Windows 10

Install Java 1.8 JDK

Oracle Drivers and SQL*Plus
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html

Microsoft
https://www.microsoft.com/en-ph/download/details.aspx?id=40784

Using Oracle 11g Installation

Extract tns_admin.zip and move to C:\tns_admin

SET TNS_ADMIN=C:\tns_admin as global variable for system

Extract win64_11gR2_client.zip
Run win64_11gR2_client\client\setup.exe
Accept "Environment does not meet minimum requirements."
Use default installation: C:\app\<username>\product\11.2.0\client_1

Extract win32_11gR2_client.zip
Run win32_11gR2_client\client\setup.exe
Accept "Environment does not meet minimum requirements."
Use default installation: C:\app\<username>\product\11.2.0\client_2

Verify Installation:
sqlplus web_owner@TSTWEB2

Install the 64-bit Drivers, and then the 32-bit Drivers right on top of it.
Make sure to install the ODBC connections in 32-bit
Use the Oracle in OraClient11g_home1 and NOT the Microsoft ODBC driver

CLI – Command Line Tools

Refer: https://zeroturnaround.com/rebellabs/5-command-line-tools-you-should-be-using/

icdiff - Meld replacement for the command line

Refer: https://www.jefftk.com/icdiff

Ubuntu 18.04

Refer: https://www.howtogeek.com/350011/whats-new-in-ubuntu-18.04-lts-bionic-beaver-available-now/

Using Gnome: https://www.howtogeek.com/330941/what-unity-users-need-to-know-about-ubuntu-17.10s-gnome-shell/

Cannot View PNG

Problem viewing a PNG, could be the new WebP format from Google.

On Ubuntu you can use gThumb or XnView

Review: https://itsfoss.com/webp-ubuntu-linux/

 

Does the Jersey Client Close the Connection when there is an Exception

Refer: https://stackoverflow.com/questions/25674220/does-the-jersey-client-close-the-connection-on-exception

No. Neither does Jersey call client.close() in case of an exception nor does the JerseyClient implement AutoCloseable.

You can easily test this. A client throws a IllegalStateException if you invoke a method after closing:

Client client = ClientBuilder.newClient(); client.close(); client.target("http://stackoverflow.com").request().get(); // IllegalStateException

But you can invoke a method after catching an exception:

Client client = ClientBuilder.newClient();
try {
    client.target("http://foo.bar").request().get(); // java.net.ConnectException: Operation timed out
} catch (Exception ex) {
    client.target("http://stackoverflow.com").request().get(); // works
}

So closing is your job.

Update: JAX-RS 2.1 will use AutoClosables.

Akamai Book2 Required Fix

From: Girish Keshav <gkeshav@akamai.com>
Date: Wednesday, March 21, 2018 at 1:23 AM
To: "Van, Johnna (HA Group)" <JVan@HollandAmericaGroup.com>
Subject: Re: eCommerce issue

Book2.hollandamerica.com  origin does not likes/honors requests from www.hollandamerica.com but likes from book2.hollandamerica.com and beta.hollandamerica.com

So all I did was to forward the request to book2.hollandameirca.com and modify the host from www.hollandamerica.com to book2.holland America.com

So in short

Instead of receiving https://www.hollandamerica.com/cruise-ecommerce/brand/HAL/v1/cruise/O873/price/payment

It receives

https://book2.hollandamerica.com/cruise-ecommerce/brand/HAL/v1/cruise/O873/price/payment

Linux Lite turn off Num Lock for Vostro 1520

Linux Lite kept turning on Num Lock and making logon confusing, because numbers were accidentally being used.

Refer: https://www.linuxliteos.com/forums/installing-linux-lite/don%27t-want-numlock-enabled-on-login-screen/

$ nano /etc/lightdm/lightdm.conf

Change this line to off:
greeter-setup-script=/usr/bin/numlockx on