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
cacher | PACMAX

cacher

Created By: Cacher, 28 Stars, Last Updated: 10/06/21 08:33:08

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

From the project's README:

alfred-cacher

Alfred Workflow for finding a snippet from your Cacher library.

Demo

Prerequisites

Installation

Step 1

Run the following shell command from a Terminal window.

npm install --g alfred-cacher

Step 2

  1. View your API credentials at: app.cacher.io/enter?action=view_api_creds
  2. You should see a dialog open with your API KEY and API TOKEN.

API Credentials

Step 3

  1. Open Alfred Preferences.
  2. Click on the “Workflows” tab and find Cacher.
  3. Click on the “Configure workflow and variables” button.
  4. Add the following under Workflow Environment Variables:
    • CACHER_API_KEY: [API Key from Step 2]
    • CACHER_API_TOKEN: [API Token from Step 2]
  5. Click “Save”

Set Environment Variables

Usage

In Alfred, type snip [keywords] and wait for results to return. Select a snippet and press Enter to copy
its contents to the clipboard.

Libraries Used

  • alfy – Create Alfred Workflows using Node
  • Fuse.js – Lightweight fuzzy-search

Author / License

Released under the MIT License by Rui Jiang of Cacher.