Misc

A section dedicated to other applications and tools worth getting to know.

keka

Keka is an amazing application, that was suggested to me by one of my IT professors at USC.

Then, open keka, configure your preferences, and set keka to be your default app. Now you can compress and decompress any file on your computer by pressing ⌃ ⇧ K

keka will automatically know which action to perform based on the file it received as input. It will use the configurations you specified in the app. I recommend GNU's .gzip files because they use an algorithm that is superior in compression to the one used in Microsoft's .zip filetype. Also, because tar uses gzip so it's a good idea to get started.

figlet

figlet I/O

You can use figlet to convert any string into a lovely piece of ASCII art.

figlet 'Hello World'
 _          _ _                            _     _
| |__   ___| | | ___   __      _____  _ __| | __| |
| '_ \ / _ \ | |/ _ \  \ \ /\ / / _ \| '__| |/ _` |
| | | |  __/ | | (_) |  \ V  V / (_) | |  | | (_| |
|_| |_|\___|_|_|\___/    \_/\_/ \___/|_|  |_|\__,_|

Window Management Applications

This is a great app that my friend Russel Wakugawa showed me. If you work on a laptop, managing your screen space is important. Unfortunately there aren't many built-in keybindings to resize and maximize applications. Although the gesture-based resizing is graceful and pretty, they aren't very useful because the animations are so slow.

An important update: Spectacle is no longer maintained. I encourage you to use Moom as an alternative instead. I've found it to be even better than Spectacle

lsyncd

The lsyncd program allows bi-directional syncing of files between a local and remote host. If you have a folder that you make changes to often, it would be useful to just change once, update everywhere.


Mutt

ImageMagick

Hugo

JetBrains

Useful subcommands exist for the following IDE command-line interfaces:

If you specify a directory with an existing project, the IDE opens this project.

If you open a directory that is not a part of a project, the IDE adds the .idea directory to it, making it a project.

Path Variables

TinyPNG

REST APIs

An Application Programming Interface or API is a set of rules that lets programs talk to each other, exposing data and functionality across the internet in a consistent format.

APIs accessed through HTTP typically use Representational State Transfer or REST. This is an architectural pattern that describes how distributed systems can expose a consistent interface. When people use the term ‘REST API,’ they are generally referring to an API accessed via HTTP protocol at a predefined set of URLs.

These URLs represent various resources - any information or content accessed at that location, which can be returned as JSON, HTML, audio files, or images. Often, resources have one or more methods that can be performed on them over HTTP, like GET, POST, PUT and DELETE.

Twilio

GitHub

When creating a linking a file hosted on GitHub, you can add a highlight to the relevant lines of code using a

You can view Google's own documentation on search operators, but they leave a lot of them out. I've included some of my favorites below:

Also, I've written down two search operators that I'm convinced very few self-proclaimed search masters are aware of. These are two search operators that were added in 2018, that most people haven't caughten drift of just yet.

Clever combined usage of search operators, and be amazed by how precise the returned results are

"whenever * says * I *"

They're also rolling out a new feature called Google Collections which allows you to save images without downloading, pretty neat.

You can reverse search for images at images.google.com, details provided in their support documentation

Selenium

safaridriver --enable
#Simple assignment
from selenium.webdriver import Safari

driver = Safari()

driver.get('https://google.com')

print(driver.current_url)
driver.quit()

WebP

A new image format for the web

Getting Started

The version installed from Homebrew opts out of some fun features like converting GIF files to WebP format. For this reason, I've decided to learn how to build this library from source, and have included the instructions below for others to follow along with.

cwebp Encoder

dwebp Decoder

Utility Commands

Looping

Slack

Slack supports URL Schemes, which they document on their developer API site

Fonts

Firefox

Hidden Keyboard Shortcuts

To copy the location behind a hyperlink, do the following:

  1. Hover the cursor over the link
  2. Right click (or Left-Click)
  3. Type a

Google Chrome uses c, which is what you would normally expect to select a command titled Copy Link Address. If you're curious, you can check out why a was chosen. Personally, I feel it's a discussion worth reading.

Search Operators

Mozilla Firefox

When using the address bar to search, you can filter the results suggested using a set of special characters separated by spaces

Operator Searches for results in...
^ browsing history
* bookmarks
+ bookmarks with matching tags
% currently open tabs
$ in the URL
? in search suggestions
# with every term matching title/tag

Google Chrome

The shortcuts above require a little more configuration in order to be usable on Google Chrome. To be able to search bookmarks, you'll want to visit chrome://settings/searchEngines, add a search engine, and provide it with the URL chrome://bookmarks/?#q=%s. The %s should be provided as-is, but it will expand to contain the contents of your query when you are performing a search using this search engine.

You can search history as well. The process is very similar: simply repeat the steps outlined above, and provide the following URL: chrome://history/?#q=%s.

Quick Find

Some websites use / as the keyboard shortcut to focus the cursor on the main search bar of the page. The problem, however, is that Firefox uses / as the keyboard shortcut for Quick Find, and intercepts a user when they press /.

To disable the usage of / by Firefox

  1. Go to about:config
  2. Search for accessibility.typeaheadfind.manual
  3. Set its value to false

youtube-dl

Audio can be extracted using the -x or --extract-audio option

QR Code Generator

Stumbled upon the amzqr project and I found it absolutely delightful.