Remove Chromium from Ubuntu Keyring

Remove keyring dependency with the following:

Try taking the passwords off of your keyring. This would work well for a virtual environment.

  • Open Applications -> Accessories -> Password and Encryption Keys.
  • Click View -> "By keyring"
  • Right-click on the "login" keyring.
  • Select "Change password"
  • Enter your old password and leave the new password blank.

This did not work...

Go to (Unity button)/Passwords and Keys
On tab Passwords choose the proper key (I'd got only one, so you may need to find proper key). Right-click on it and Delete.
Restart Chromium

It'll ask for password --- do not type any and continue.
Choose "Use unsafe storage"

Update Git

Refer: https://askubuntu.com/questions/579589/upgrade-git-version-on-ubuntu-14-04

$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt-get update
$ sudo apt-get install git
$ git --version

Grep with SubString

Refer: https://stackoverflow.com/questions/38270261/how-to-extract-a-string-from-between-two-patterns-in-bash

Looking for parameter between -Dappdynamics.agent.nodeName= and closing space

$ ps aux | grep -i appdynamics | grep -oP '(?<= -Dappdynamics.agent.nodeName=)[^ ]+'

$ grep -oP '(?<= -Dappdynamics.agent.nodeName=)[^ ]+' input.txt

-o tells grep to only output the matching part(s) of each line.

-P activates support for PCREs (Perl-compatible regular expressions), which support look-behind assertions such as (?<= inet:), which allow a sub-expression (inet:, in this case) to participate in matching, without being captured (returned) as part of the matched string. [^ ]+ then simply captures everything after inet: up to the first space char. (character set [^ ] matches any char. that is not (^) a space, and + matches this set 1 or more times).

Install Latest Version of youtube-dl

Try this instead because youtube-dl no longer seems to work as of September 22, 2024

sudo snap install video-downloader

Check your version with: youtube-dl --version

Try ppa:nilarimogard/webupd8. I do get upgrades every couple of days and I think, according to the message You get, that it should solve/answer Your question. If You did an upgrade from 13.04 to 13.10 You might have forgot (I guess) to update sources-list.d folder, for example, if You used WebUpd8 before.

$ sudo apt-add-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install youtube-dl

Usage:

$ youtube-dl -f mp4 --output "yourfilename.%(ext)s" https://youtu.be/your-link-here
$ youtube-dl --extract-audio --audio-format mp3 --audio-quality 256 --output "yourfilename.%(ext)s" https://youtu.be/your-link-here

If you are getting a warning about avconv being out of date.

Refer: https://askubuntu.com/questions/563245/avconv-warning-while-downloading-youtube-video

before

$ avconv |& grep \ version | awk '{print $3}'
9.18-6:9.18-0ubuntu0.14.04.1,

$ sudo add-apt-repository ppa:heyarje/libav-11 && sudo apt-get update
$ sudo apt-get install libav-tools

after

$ avconv |& grep \ version | awk '{print $3}'

Issue now requires the enter key to be hit to finish the download

Getting Ubuntu to Update Behind Firewall

This worked

Sample Error:

Err:70 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 503 Service Unavailable [IP: 91.189.88.161 80]

Refer: https://askubuntu.com/questions/26528/error-503-service-unavailable-when-using-apt-get-update-behind-proxy

$ sudo su -

$ echo 'Acquire { http::User-Agent "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"; };' >> /etc/apt/apt.conf

You could also just update the apt.conf file in place instead of using the echo command.

update-ubuntu-user-agent.txt

In case you cannot update from a repository, you can select the best mirror possible.

Ideas to try:

  • Get keys manually - http://redcrackle.com/blog/how-add-ubuntu-apt-get-key-behind-firewall
  • Adding a repository to use port 80 - https://gist.github.com/maciakl/4531580

VMWare Download Page

They make it quite difficult to find the non-paid version of VMWare Workstation for download.

Refer: https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0

Docker Oracle Client

$ docker pull store/oracle/database-instantclient:12.2.0.1

Refer: https://store.docker.com/profiles/mruckman/content/sub-e067a44b-9ead-41c7-b597-de06ee2ef454

About this Docker Image

This Docker image contains the Oracle Instant Client 'Basic', 'SDK' and 'SQL*Plus' packages. It can be extended to run OCI, OCCI, and JDBC applications. It can also be extended to build and run scripting language drivers that use OCI such as Python's cx_Oracle, Node.js's node-oracledb, PHP's OCI8, and Ruby's ruby-oci8.

The SQL*Plus command-line query tool is also included, allowing quick ad-hoc SQL and PL/SQL execution.

About Oracle Instant Client

Oracle Instant Client is a repackaging of Oracle Database libraries, tools and header files usable to create and run applications that connect to a remote (or local) Oracle Database.

Usage

You can run a container interactively to execute ad-hoc SQL and PL/SQL statements in SQL*Plus:

docker run -ti --rm store/oracle/database-instantclient:12.2.0.1 sqlplus hr/welcome@example.com/pdborcl

Adding Oracle Database Drivers

To extend the image with optional Oracle Database drivers, follow your desired driver installation steps. The Instant Client libraries are in /usr/lib/oracle/12.2/client64/lib and the Instant Client headers are in /usr/include/oracle/12.2/client64/.

The Instant Client libraries are in the default library search path.