Installing Certificates on Mac

From: "Fnu, Preeti (HA Group)" <PFnu@HollandAmericaGroup.com>
Subject: Re: Lingering cert issues - causing work stoppage
Date: May 5, 2017 at 1:33:50 PM PDT

These steps worked for me on Mac. Below are the steps

# Copy the certificate into the directory Java_home\Jre\Lib\Security
# Change your directory to Java_home\Jre\Lib\Security>
# Import the certificate to a trust store.

$ keytool -import -alias comodoaddtrustexternalcaroot -file COMODOAddTrustExternalCARoot.cer -keystore cacerts -storepass changeit

$ keytool -import -alias comodorsacertauthority -file COMODORSACertAuthority.cer -keystore cacerts -storepass changeit

$ keytool -import -alias addtrustexternalca -file AddTrustExternalCARoot.cer -keystore cacerts -storepass changeit

Quick CLI system tool neofetc

Refer: https://www.maketecheasier.com/display-system-information-neofetch-linux/

Usage: neofetch

Installation:

$ echo "deb http://dl.bintray.com/dawidd6/neofetch jessie main" | sudo tee -a /etc/apt/sources.list
$ curl -L "https://bintray.com/user/downloadSubjectPublicKey?username=bintray" -o Release-neofetch.key
$ sudo apt-key add Release-neofetch.key && rm Release-neofetch.key
$ sudo apt-get update && sudo apt-get install neofetch scrot

Windows 10 Cleanup

The goal is to cleanup files in the WinSxS folder
Refer: http://www.ghacks.net/2016/03/14/analyze-the-winsxs-folder/

Open a command prompt as Administrator
$ Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

The following kicks off the cleanup, this could take a while:
$ Dism.exe /online /Cleanup-Image /StartComponentCleanup

Sublime Setup in Ubuntu 14.04

Install it via the Ubuntu Repositories
https://www.sublimetext.com/docs/3/linux_repositories.html#apt

Grab commands: install-sublime-ubuntu-repo.txt

$ wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
$ sudo apt-get install apt-transport-https
$ echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
$ sudo apt-get update
$ sudo apt-get install sublime-text

Sublime 3.0 Shortcut

$ sudo ln -s /opt/sublime_text/sublime_text /usr/bin/sublime

Sublime 2.0

$ sudo ln -s /home/mruckman/Downloads/Sublime\ Text\ 2/sublime_text /usr/bin/sublime

Refer: http://www.technoreply.com/how-to-install-sublime-text-2-on-ubuntu-12-04-unity/

When you launch the application from the /usr/bin/sublime entry, you can then right click and lock to the launcher in Ubuntu

Installing Plug-in XML Format in Sublime 3

Installing Plug-in
Open the editor and hit Ctrl+Shift+P to open Command Palette.
Type"Install Package" and hit Enter. Type Indent XML.

Select the highlighted plug-in and click Enter. You should see the message that saying the plug-in has been installed successfully.

Restart the editor. At least I had to.

Formatting XML

Copy the non formatted XML
Hit Ctrl + K + F.

You can also do it from the Menu option.

Formatting JSON
Hit Ctrl + K + F.
You can also do it from the Menu option.
That's it for today. Happy Formatting !