How to Remove Skype for Mac

Author: , Posted on Friday, March 27th, 2020 at 11:30:41am
  1. Quit Skype
  2. From your Applications folder, drag the Skype icon into the Trash
  3. In the top Finder menu, select Go -> Go to Folder… or press Shift-Command-G to bring up the “Go to the folder” prompt
  4. Open ~/Library/Application Support and drag “Skype Helper” to the Trash
  5. Open ~/Library/Application Support/Microsoft and drag “Skype for Desktop” to the Trash.
  6. Open ~/Library/Preferences and drag both com.skype.skype.plist and com.skype.skype.Helper.plist to Trash 
  7. Right or Ctrl-click Trash and select Empty Trash

How To Downgrade PIP After Upgrade on Amazon Linux

Author: , Posted on Wednesday, March 25th, 2020 at 2:27:28pm

I tried upgrading pip when prompted to do so:
sudo pip install --upgrade pip

This worked, but removed the system install in /usr/bin/pip and replaced it with /usr/local/bin/pip – NOT GOOD!

The solution is as follows:

How To Calculate CSS Height On The Fly Using Calc

Author: , Posted on Wednesday, March 25th, 2020 at 10:45:03am

I needed to use an iframe between a pre-defined header and footer that would auto-fill the full height on any size screen.

On a desktop, the combined height of the header + footer was 223px and for mobile was 157px, so below find the CSS example:

calc(100vh - 223px) – for desktop
calc(100vh - 157px) – for mobile

See:
https://www.w3schools.com/cssref/css_units.asp
https://css-tricks.com/fun-viewport-units/

How To Delete Lines Using PERL Edit In Place

Author: , Posted on Monday, March 23rd, 2020 at 10:50:46am

Using PERL, we can easily do a search and replace across multiple files.

perl -ni -w -e 'print unless m/^gdb\d+/;' yourFileSpec

R.I.P Kenny Rogers

Author: , Posted on Saturday, March 21st, 2020 at 4:25:36pm

How To Find Commits With Code Containing a String

Author: , Posted on Friday, February 7th, 2020 at 2:27:34pm

How To Find a Git Commit ID in Branches and Merges

Author: , Posted on Friday, February 7th, 2020 at 1:15:27pm

First, get on the branch that you know already has the commits you are looking for:

Copy-and-paste the commit(s) you want:

~or~

Optionally, display the code changes for a visual confirmation:

Finally, extract the list of branches that contain the desired commits:

Example:

How To Show the Origin in Git

Author: , Posted on Thursday, January 30th, 2020 at 11:35:47am

Recently, I wanted to see the “origin” of the git repository I was working in.

The command is: git remote -v

For example:

How To Disable WordPress Profile Access for Subscribers

Author: , Posted on Friday, January 24th, 2020 at 3:44:55pm

How To Update a WordPress Plugin Manually Using rsync

Author: , Posted on Friday, January 24th, 2020 at 11:17:25am

If you are unable to update a plugin via the WP admin console, then you can do the update manually.

Download the zip file to your local hard drive and extract it.

Then, from the command line, do the test run first:

*Make sure to use the trailing slashes with rsync for proper operation with directories.

Validate the output, then remove the --dry-run and do it for real: