Jump to content

aviaryan

Member
  • Posts

    17
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by aviaryan

  1. 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!

     

  2. 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.

    1

    Cool. 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. 

  3. 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

    Default UI

    Search 1

    Unicode

     

     

     

  4. 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. 

  5. 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. ? 

  6. 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.

     

  7. 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. 

     

  8. 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

    Screenshot 1

    Screenshot 2

    Screenshot 3

     

     

    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

     

     

  9. 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.

     

    FyCSOy5.png

     

     

    # 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

     

×
×
  • Create New...