Install VPN in Ubuntu

Ubuntu 14.04

$ sudo apt-get install network-manager-openconnect openconnect

Ubuntu 15.10

$ sudo apt-get install network-manager-openconnect-gnome

Ubuntu 16.04

Refer: https://support.onevpn.com/knowledgebase/linux-ubuntu-anyconnect/

The magic sauce was from rebooting after

$ sudo apt-get update
$ sudo apt-get install lib32z1 lib32ncurses5
$ sudo apt-get install network-manager-openconnect

Reboot and install vpnsetup.sh (zipped file)

$ sudo sh ./vpnsetup.sh

---

Ubuntu 16.04

Install this rpm (it's zipped): networkmanager-openconnect_1.1.93-1_amd64.deb

Refer: http://tomtomtom.org/networkmanager-openconnect/

Only need to changes this, and also used this for the connection name, and then save, get to these settings upper right-corner up/down arrow icons
Gateway: gateway.hollandamerica.com

---

Install with Chrome, Firefox seems to have issues accepting the plug-in and SSL certificate

https://gateway.hollandamerica.com/
https://faq.oit.gatech.edu/content/how-do-i-install-cisco-anyconnect-client-linux

If you have to uninstall a previous version first:
$ sudo /opt/cisco/vpn/bin/vpn_uninstall.sh

$ chmod 755 vpnsetup.sh
$ sudo ./vpnsetup.sh

Dash / Start menu
Cisco Anyconnect VPN

If you get this error message while trying to connect " AnyConnect cannot confirm it is connected to your secure gateway. The local network may not be trustworthy. Please try another network."

Try this:
$ sudo cp /etc/ssl/certs/* /opt/.cisco/certificates/ca

Disable Autoplay in Firefox

Type about:config into the URL bar, and confirm you'll be careful by clicking the I'll be careful, I promise button. 2. Search for the string labeled media.autoplay and double-click it to flip its status to off. Opera and Chrome have an extension that prevents videos from playing automatically.

How do you move the Doc on a Mac?

Hold down the SHIFT key and grab the Dock's handle bar, which separates the app icons from the folder icons and Trash, then drag the Dock to the Left, Right, or Bottom of the screen to relocate it to that position.

GPG Error Public Key is NOT Available

Example of error: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4DF9B28CA252A784

Fix with this:

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <KEY>

Refer: http://askubuntu.com/questions/520828/gpg-error-no-pubkey-warning-the-following-packages-cannot-be-authenticated

Ubuntu ClipGrab

Refer: https://www.how2shout.com/linux/install-clipgrab-on-ubuntu-20-04-lts-download-youtube-videos/

Step 1: If we want to also convert the Youtube and other online videos on your Linux system then we need FFmpeg library installed on our system. For that use the command:

sudo apt install ffmpeg

Goto: https://clipgrab.org/

Step 2: Open Clipgrab official website, here is the link. Click on the “Show all download options” and then download “Binaries for 64-bit Linux“.

ClipGrab Youtube downloader for Linux

Step 3: When the download of the file gets completed, right-click on the Clipgrab Youtube downloader App image and select properties.

Make Clipgrab AppImage executable Ubuntu 20.04 min

Step 4: To run the Clipgrab, first, we need to make it executable. For that, mark the checkbox given in front of “Allow executing file as program“. option.

Allow permission to run Clipgrab min

Step 6: Now, double click on the ClipGrab file, this will open this Youtube downloader. After that select the Downloads tab and paste the URL of the online video you want to download on your Linux system and then click on the “Grab this Clip!”.

Youtube downloader for Linux min

Create Cligrab Desktop and Application launcher shortcut (optional)

By default, the file will be in your Downloads folder because we got it from the browser. But there are chances of deleting it accidentally, thus let’s move it to some secure place.

Older NOTES

Install ClipGrab by Building Locally
AppImage was NOT working on Ubuntu 20.04
Install GCC Compiler Tools
Bash
sudo apt install qtbase5-dev qtwebengine5-dev
sudo apt install build-essential

Refer: https://www.reddit.com/r/linuxquestions/comments/frhk98/ubuntu_18044_lts_cant_execute_appimage_file_no/

Get newest source code here:
https://clipgrab.org/download-clipgrab/

Bash
wget https://download.clipgrab.org/clipgrab-3.8.11.tar.gz
Need to also install ffmpeg to avoid the following error:
No installed version of avconv or ffmpeg could be found. Converting files and downloading 1080p videos from YouTube is not supported.
Bash
sudo apt-get install -y ffmpeg

Run the application in terminal

./clipgra

Deprecated Notes

Refer; https://www.linux.com/blog/how-download-and-convert-youtube-vimeo-dailymotion-or-other-clipgrab-ubuntulinux-mint

Refer: http://www.linuxandubuntu.com/home/how-to-download-and-convert-youtube-vimeo-dailymotion-or-other-by-clipgrab-in-ubuntulinux-mint#clipgrab

Ubuntu 14.04

$ sudo add-apt-repository ppa:clipgrab-team/ppa
$ sudo apt-get update
$ sudo apt-get install clipgrab

ImageMagic – Swapping Colors in PNG or JPG Files

Installing ImageMagic
$ sudo apt-get install imagemagick imagemagick-doc

The new Yellow Colors are this:

Selected state: #FFCB66
Hover state: #FCB614

The interesting thing about ImageMagic is the convert actually has the target color first and the color to replace second, as a parameter.

In order to change the colors for the location_and_decks, do the following:

Use the PNG files because they are lossless and convert them.

This is for changing blue to yellow for the selected items

for f in *.png; do
convert ./"$f" -fuzz 0% -fill "#FFCB66" -opaque "#0D932C" ../../locations_and_decks/"$f"
done

Unfortunately, the hovers for blue, were the same color as the border, so we took the selected and converted them to hovers; however, the names needed to be changed too.

for f in *.png; do
convert ./"$f" -fuzz 0% -fill "#FCB614" -opaque "#0D932C" ../../locations_and_decks/hover/"$f"
done

After getting all of the PNG's into the same folder you can use the following to convert all of the PNG files into JPG files.

for f in *.png; do
convert ./"$f" -background white -flatten -alpha off ../locations_and_decks/"${f%.png}.jpg"
done

Reset Snag-It

If Snag-It is having problem, technical support sent the following steps to fix it.

Jason L. (TechSmith Support)

Thank you for contacting us. If you have any custom QuickStyles you would like to keep, please open Snagit and browse to the file menu Snagit > Export Styles...

Remove com.techsmith.snagit.plist
-----------------------------------------------------
1.) Close Snagit and confirm its not running by accessing Activity Monitor.  Look for Snagit in the running list of applications.
2.) Click on your Finder and then click the Go menu at the top.  Hold down the Option key on  your keyboard and choose the Library item in the Go dropdown.  Then go to Preferences.
3.) Locate all com.techsmith.snagit.plist files and move them to your trash (there may be one with a 4 in it too)
4.) Confirm that com.techsmith.snagit.plist is no longer in the Preferences folder.
5.) Reboot the computer and try Snagit again.

Please let me know if you have any questions.

Kind Regards,
Jason
Technical Support Specialist

Installing Selenium Builder for Windows 10 and Ubuntu 14.04

The biggest issue was getting a version of Firefox that works, the workaround was to install the Firefox ESR Edition

Windows 10 Installation

Install Java JDK - jdk-8u111-windows-x64.exe

Install Python - python-2.7.12.msi
Choose advance configuration to add Python to class path

Install Firefox ESR Edition - "Firefox Setup 45.5.0esr.exe
https://www.mozilla.org/en-US/firefox/organizations/all/

Update your path variable to add this:
"C:\Program Files\Mozilla Firefox\"

Launch Firefox and install the Selenium Builder Plugin
https://addons.mozilla.org/en-us/firefox/addon/selenium-builder/

Download Selenium Jar File
http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar

Launch the Jar for command line
java -jar selenium-server-standalone-2.53.1.jar

You are now ready to record and playback via Firefox

---

Ubuntu 14.04 Installation

Install Java 8

$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer

Remove current version of Firefox
$ sudo apt-get remove firefox

Download 64-bit version of Firefox
https://www.mozilla.org/en-US/firefox/organizations/all/

Extract Firefox
sudo tar -xvjf firefox-45.5.0esr.tar.bz2 -C /opt

Create Firefox ESR
sudo ln -s /opt/firefox/firefox /usr/bin/firefox

Create an icon
$ sudo apt-get install gnome-panel
$ sudo gnome-desktop-item-edit . --create-new

Updating
$ sudo apt-get install gksu
$ gksudo firefox