Ubuntu ::: Uninstalling Programs Through Commandline or Terminal

To generally remove an application while leaving settings for a possible future re-installation, type: $ sudo apt-get remove package_name In order to fully uninstall an application on Ubuntu, use: $ sudo apt-get –purge remove package_name Source

ADB Shell Screenrecord ::: Record Video Of Android Screen

Adb allows us to use a flag to record our Android screens to a file. In order to record your screen use: $ adb shell screenrecord /sdcard/file-you-want-to-record.mp4 You will NOT be prompted after this command is entered. Instead, your cursor will hang, and you will need to take whatever actions in your adb shell on Read the full article…

VIM Editor ::: Reloading .vimrc File Without Restarting Vim

In order to reload .vimrc file in Vim without having to reload Vim: Enter VIM ::: vim filename Open your Vim’s config file ::: :vs ~/.vimrc Put in your Vim’s settings, ie ::: set number or syntax on Use :wq to save these alterations and close .vimrc file Then you can reload your .vimrc file Read the full article…

VIM Editor ::: Undo And Redo In Vim

In order to undo a change, while in Normal mode, press: This will undo very last action made. Can be used repeatedly to alter several actions. In order to redo a change, while in Normal mode, press: Source

VIM Editor ::: How To Create Splits/Windows In Vim

To create a vertical split in Vim, type: To create a horizontal split in Vim, type: To open a file in a new split, type: Source

VIM Editor ::: Resizing Window Splits

To make splits in VIM editor wider: To make splits in VIM editor more narrow: To make splits in VIM editor more wide by 30 characters: OR: To make splits in VIM editor more narrow by 30 characters: OR: Source

VIM Editor ::: Cutting, Copying, Yanking, Deleting and Pasting in Vim

In Vim, cutting and copying rely on two different commands: d in Vim means delete, in other editors, this might be named, cut. y in Vim means yank, in other editors, this might be named, copy. Therefore, in Vim to perform a Cut & Paste operation: Position your cursor where you wish to start your Read the full article…

Greensock(GSAP 3) ::: Proper WordPress 5 Integration and Enqueuing

In order to properly load GSAP 3 with WordPress 5, we need to create a custom file for our code with these onload event listeners: App.js // wait until DOM is ready document.addEventListener(“DOMContentLoaded”, function(event){ console.log(“DOM loaded”); //wait until images, links, fonts, stylesheets, and js is loaded window.addEventListener(“load”, function(e){ //custom GSAP code goes here console.log(“window loaded”); Read the full article…

VIM Editor ::: Navigating Split, Windows, Or Panes

In Vim, it can be extremely useful to use multiple buffers inside various panes at once. To navigate through these splits, it has been helpful to remap commands like in our .vimrc like this:

Vim Editor ::: Reloading .vimrc

In order to reload .vimrc while editing it in vim, type: % stands for current file name(see :h current-file) and :so is short for :source, which reads the content of the specified file and treats it as Vim code. In general, to reload the currently active .vimrc, type: