aviaryan
-
Posts
17 -
Joined
-
Last visited
-
Days Won
1
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by aviaryan
-
-
2 hours ago, deanishe said:
Yeah. If nothing is selected in the query box, and you haven't set a "copy text" for an item, ⌘C copies the selected item's arg.
1Cool. I didn't know we had a copy text parameter. Any place where I can find all this documented?
2 hours ago, deanishe said:Yeah. If nothing is selected in the query box, and you haven't set a "copy text" for an item, ⌘C copies the selected item's arg.BTW: You might want to add a copy of the .alfredworkflow file to your releases on GitHub. People generally expect to find the installable files in releases.
Yes. I had been including the binary in the releases in my previous 2 workflows. Just got a bit lazy this time. I have added it now.
-
1 hour ago, deanishe said:
The whole "$ to copy URL" is unnecessary: just hit ⌘C on a result to copy the URL.
Thanks. Didn't know about that.
I have updated the workflow to incorporate this change.
-
On 9/6/2017 at 9:02 AM, aviaryan said:
Same here. It would be great if we can have this working in Alfred 3.
PS - I think I will go ahead and make one web scraping based google inline search workflow. That way at least it will keep working for some time to come.
Here is the link if anyone is interested.
Feedback appreciated.
-
This workflow allows you to do inline Google searches right from the Alfred bar. You can either open the result URL or copy it to clipboard. Please go to GitHub for documentation.
GitHub: https://github.com/aviaryan/alfred-google-search
Download: https://github.com/aviaryan/alfred-google-search/raw/master/Google Search.alfredworkflow
Screenshots
-
-
On 12/6/2016 at 2:59 AM, Dukat said:
The inline results 'gi' doesn't appear to work.
Has anyone found a fix or another workflow that works? Thanks.
Same here. It would be great if we can have this working in Alfred 3.
PS - I think I will go ahead and make one web scraping based google inline search workflow. That way at least it will keep working for some time to come.
-
On 9/1/2017 at 0:11 PM, deanishe said:
But npm defaults to local installations, so if you just use npm "normally", you can call your program with ./node_modules/.bin/program_name
That is a good idea. Will try it out in the next version. ?
-
12 minutes ago, xilopaint said:
It works, but the calculator is a bit slow. Any chance to speed up?
I think it is slow because of the multiple computations that are being sent to it while you type. I will try to do something to improve this.
10 minutes ago, deanishe said:That seems an excessively complex solution. Can't you just use /usr/local/bin/insect?
I remember it didn't work out earlier for some reason (hence a lot of comments in the run.sh script). I will try it again now.
EDIT - It didn't work with #!/bin/bash. Works with zsh.
10 minutes ago, deanishe said:The best solution is to bundle the dependencies in your workflow.
This isn't a perfect solution with Node-based workflows, as you still have to install Node, but the workflow will at least "Just Work" for people who have Node installed without them having to install an extra bunch of stuff just for your workflow. On every Mac they have.
If you can point me towards an example workflow, that would be awesome. ?
-
8 minutes ago, xilopaint said:
Not working for me:
[2017-09-01 02:49:16][STDERR: input.scriptfilter] /Users/xxx/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.1831759F-4FB8-40C5-B097-A5D3D126312C/run.sh:12: command not found: insect
Please see https://github.com/aviaryan/alfred-clc/issues/1. There is a possible fix there.
I think applying it should fix your problem. I will update the workflow soon.
-
-
6 minutes ago, xilopaint said:
I don't know if it's your case but the workflow doesn't work if your default macOS language is not English.
Does this mean that "Desktop" is named something else in non-English Macs?
-
10 hours ago, xilopaint said:
Is not possible to bundle the workflow with insect?
The only way insect is installed is by first installing NodeJS and then installing insect globally using npm (same thing happens under the hood using homebrew).
I don't think it would be a good idea to bundle it with the workflow.
-
Alfred - CLC
This workflow adds a powerful calculator right in your Alfred bar.
Installing
Install insect
brew install insect # or npm install -g insect
Then download CLC workflow file and double click to open it with Alfred.
Using
clc [expression]
Example expressions
sqrt(1.4^2 + 1.5^2) * cos(pi/3)^2 2 min + 30 s 40 kg * 9.8 m/s^2 * 150 cm 60 mph -> m/s 6 Mbit/s * 1.5 h -> GB # sum of the first ten squares sum(k^2, k, 1, 10)
NOTE: Since this workflow uses insect for the calculations, please see its README for more possible types of expressions.
Screenshots
GitHub: https://github.com/aviaryan/alfred-clc
Download: https://github.com/aviaryan/alfred-clc/raw/master/clc.alfredworkflow
Packal: http://www.packal.org/workflow/clc
-
v2.0.0 released
* Fixed bug with custom screenshot folders. It now takes screenshot directory from com.apple.screencapture before defaulting back to ~/Desktop.
https://github.com/aviaryan/alfred-last2imgur/pull/3
Download links in OP.
-
Thanks. ?
Works well.
-
This workflow uploads last screenshot that you took, to Imgur. It has options to minify the image (requires ImageOptim) and automatically delete the image after upload.
After uploading, direct link to the image is copied to clipboard.
# upload last screenshot to imgur without doing anything extra last2imgur # upload last screenshot to imgur and then delete it last2imgur d # minify last screenshot, upload to imgur and then delete it last2imgur dm # minify last screenshot and then upload to imgur last2imgur m
Source: https://github.com/aviaryan/alfred-last2imgur
Download: Last 2 Imgur workflow file
Authy Alfred Workflow
in Share your Workflows
Posted · Edited by aviaryan
Hi, I notice this creates 2 files .authy.json and .authycache.json. They contain my password, secret keys of 2fa of my sites, etc.
Isn't this unsafe?
Edit - Btw, nice work. Set it up on my machine. Now I don't have to open Authy 3-5 times a day. Thanks!