Sending email from command line on Linux

Refer: https://tecadmin.net/ways-to-send-email-from-linux-command-line/

$ mail -s "Test email" someone@hotmail.com < /dev/null

$ cat email.txt
<BOF>

Subject: Terminal email sent

line 1
line 2
<EOF>

$ mail -s "Test email" someone@hotmail.com < email.txt

Gnome getting window buttons back

It is not immediately obvious how to do this, with GNOME Tweak Tool having no easy-click option to move them, and many old forum answers no longer applying.

Install dconf-editor from the Software app and then navigate to org.gnome.desktop.wm.preferences.

Akamai Staging

Step 1: dig www.hollandamerica.com | grep -i edgekey
Step 2: take the edgekey value and append -staging to it and dig it again
Step 3: dig www.hollandamerica.com.edgekey-staging.net
Step 4: Use the answer section and grab the IP address, use in your hosts file
Step 5: Turn on modify headers with Akamai Pragma and look for X-Akamai-Staging

Add desktop icon for Gnome

Save the following in a file with the extension: .desktop

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=command to run here
Name=visible name here
Comment=comment here
Icon=icon path here

Macbook Set visibility attribute to invisible

Refer: http://www.macworld.com/article/2030765/8-ways-to-hide-files-and-folders-in-os-x.html

If you have Apple’s Developer Tools installed, go to Terminal and enter setfile -a V followed by the name of the file or folder. That sets its visibility attribute to invisible; you can undo this by repeating the command with a lower-case v.

Angular Notes

Image Optimization

https://github.com/JamieMason/ImageOptim-CLI

http://addyosmani.com/blog/image-optimization-tools/

https://halpjira01.flagship.hal.com:8444/confluence/display/SBF/2015/05/19/Responsive+Images

ADA Compliance

https://docs.angularjs.org/api/ngAria

Akamai Error Lookup

Logon to Luna Control Center

Support Link

More Tools...

Translate Error String

Paste in the string to translate