Notice: is_singular was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /sites/pacmax.org/files/wp-includes/functions.php on line 5313

Notice: is_singular was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /sites/pacmax.org/files/wp-includes/functions.php on line 5313

Notice: Undefined index: in /sites/pacmax.org/files/wp-content/plugins/graphql-api/vendor/getpop/migrate-component-model/migrate/kernel/strata/stratum-manager.php on line 42
bitly | PACMAX

bitly

Created By: Gimmy, 4 Stars, Last Updated: 03/08/20 12:45:40

Love this? Please consider supporting its creator by starring or sponsoring this project on GitHub!

From the project's README:

alfred-workflow-bitly

Alfred 4.0 workflow which shorten the url via bitly.
Demo

Dependencies

  • jq – jq is a lightweight and flexible command-line JSON processor

Installation

  1. Install jq
  2. Download and import the shorten.alfredworkflow.
  3. Set the environment variable BITLY_ACCESS_TOKEN.
  4. Optionally, if jq is in a non-standard location, set JQPATH. For example: /usr/lib/bin. This shouldn’t be necessary in 99% of cases.

You can get the JQPATH via which command.

$ which jq
/usr/local/bin/jq

🔥 Note that /usr/local/bin is your JQPATH instead of /usr/local/bin/jq

You have to generate a personal access token from bitly.
How-do-I-find-my-OAuth-access-token ?

Envs

Usage

bitly ${LONG_URL}

bitly https://stackoverflow.com/