Alfred Workflow

My workflow creations for Alfred (or Terminal).

Author: Baksi

Last Updated: 05/11/19 00:10:35

Stars: 24

Get Workflow Get Source Code

View on GitHub

AlfredWorkflows

License: MIT
Updating
Contribute

This is a growing repository which curates my workflow creations for Alfred. Some of them are Terminal friendly.

Powerpack is required to enable certain functions.

This page is available in Chinese, see 漢語版.

Catalogue

Other features

Snippets

Please refer to the list AlfredSnippets.

Web Search

Web Search (in Alfred Preferences -> Web Search) enables fast queries from a website by its URL. It is simple but powerful (sorry for the cliché).
Given its simplicity, why do I still bother to introduce it here? Because knowing what it can do is far from know how to do it. Here I will propose a few suggestions that could boost your efficiency.

If you find the one that fancy you, just copy & paste the link to your browser to load it. The icon has to be loaded manually.

Wolfram|Alpha LogoMathWorld LogoSEP Logo red/SEP Logo white/SEP Logo black
Wolfram|AlphaWolfram MathWorldStandford Encyclopedia of Philosophy*
Wolfram|Alpha

Suppose you are solving a question:

How many times faster it is to solve TSP (Travelling Salesperson Problem), by using dynamic-programming-based algorithm ($n!$) than using brute force search algorithm ($n^2 2^n$), given that n=100?

The solution is obtained by computing $frac{100!}{100^{2}times 2^{100}}$.
It could be done in just one line:

alpha 100!/(100^2 * 2^100)

illustration
and you will see the following result in Wolfram|Alpha:
illustration
Powerful, innit?

alfred://customsearch/Compute%20%7Bquery%7D%20in%20Wolfram%20Alpha/alpha/utf8/%2B/https%3A%2F%2Fwww.wolframalpha.com%2Finput%2F%3Fi%3D%7Bquery%7D

The default keyword is alpha.

Wolfram MathWorld

For checking definitions in maths, stats and computer science.

alfred://customsearch/Search%20%7Bquery%7D%20in%20Wolfram%20MathWorld/math/utf8/%2B/http%3A%2F%2Fmathworld.wolfram.com%2Fsearch%2F%3Fquery%3D%7Bquery%7D

The default keyword is math.

Standford Encyclopaedia of Philosophy

A good (actually the best) reference for philosophy. The official dashboard widget is so dumb that cannot be easily used nowadays. Alfred provides a perfect way to access it.

SEP illustration

alfred://customsearch/Search%20%7Bquery%7D%20in%20Standford%20Encyclopedia%20of%20Philosophy/sep/utf8/nospace/https%3A%2F%2Fplato.stanford.edu%2Fsearch%2Fsearcher.py%3Fquery%3D%7Bquery%7D

The default keyword is sep.

* Another option is to search directly in the SEP catalogue, which requires Friend of SEP membership.

alfred://customsearch/Search%20%7Bquery%7D%20in%20SEP%27s%20catalogue/sepf/utf8/%2B/https%3A%2F%2Fleibniz.stanford.edu%2Ffriends%2Fsearch_title%2F%3Fquery%3D%7Bquery%7D

The default keyword is sepf.

Acknowledgement

This project collection is licenced under the MIT License.
It is also published on Packal, please check it if you want to have find out more Alfred widgets written by the author.

Copyright (c) 2018 BaksiLi