Jump to content

isometry

Member
  • Posts

    47
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Thanks
    isometry got a reaction from hpiwzqda in SSH with smart hostname autocompletion   
    This one has been at the top of my Alfred wishlist since I downloaded my first Alfred v0.whatever beta: a workflow to open an ssh session (using the default ssh: protocol handler) with "smart" hostname autocompletion (based on ~/.ssh/config, ~/.ssh/known_hosts, /etc/hosts, Bonjour or any file containing the names of hosts you need to connect to).
     
    Comments and suggestions welcome.
     
    Download v1.3 for Alfred 2
    Download v2.3 for Alfred 3
    Download v3.1 for Alfred 4
    Download v4.0 for Alfred 5
     
    Source and Issue Tracker on github
     
    Robin
     
    Updates
    2013-03-14 00:00, v0.4: rudimentary fuzzy matching, to pull entries from /etc/hosts as well as ~/.ssh/known_hosts, and to deal with usernames properly.
    2013-03-14 09:00, v0.5: smart host matching.
    2013-03-14 22:45, v0.6: ~/.ssh/config and Bonjour discovery (including full BTMM support), and improved error handling.
    2013-03-14 23:00, v0.61: explicitly removed 'broadcasthost' from the list of possible matches.
    2013-03-15 00:30, v0.7: match '.' as '.'
    2013-03-16 10:45, v0.8: refactored code and add tab autocompletion.
    2013-03-16 13:30, v0.9: oops - the last update broke the workflow if you didn't have pybonjour installed; fixed. Continued refactoring: now using nikipore's alfred-python module.
    2013-03-16 14:15, v0.10: further refactoring to break core functionality out into a dedicated module (enabling module compilation). Combined with caching of file parsing results this should deliver significantly enhanced performance (not that it was slow before).
    2013-03-16 23:00, v1.0: complete refactoring and move release to github. New feature: display the source(s) of each suggested completion. This ought to be the last update for a while.
    2013-03-16 08:40, v1.1: fixed breakage when either of ~/.ssh/config or ~/.ssh/known_hosts didn't exist.
    2016-06-02 21:00, v1.3: fixed path to Alfred cache (thanks @okapi!).
    2016-10-07 12:30, v2.0: The Alfred 3 Release (including removal of built-in sources and addition of custom sources)
    ...
    2022-12-30 16:30, v4.0: The Alfred 5 Release (including removal of Bonjour source and switch to User Configuration)
  2. Like
    isometry got a reaction from deanishe in ^tty - iTerm search and control with alfred-ssh fall-through   
    Great. v1.2 is now released with extra snappy.
  3. Thanks
    isometry reacted to cands in ^tty - iTerm search and control with alfred-ssh fall-through   
    Thanks for making this very useful workflow! Version 1.2 is a nice improvement, it's much nicer to use now with increased speed.
  4. Like
    isometry got a reaction from cands in ^tty - iTerm search and control with alfred-ssh fall-through   
    Great. v1.2 is now released with extra snappy.
  5. Thanks
    isometry reacted to deanishe in ^tty - iTerm search and control with alfred-ssh fall-through   
    Ho ho. This is totally awesome!
     
    I love that it picks up individual TTYs, and not just iTerm tabs (I tend to always run split tabs, with a shell on one side and a test server on the other).
     
    So good!
     
  6. Like
    isometry got a reaction from cands in ^tty - iTerm search and control with alfred-ssh fall-through   
    A JXA-based workflow for Alfred 3 users to quickly switch between or close iTerm windows, tabs and panes based on title and tty, or trigger your preferred ssh workflow when no open session is found (supports both isometry/alfred-ssh and deanishe/alfred-ssh).
     
    GitHub: https://github.com/isometry/alfred-tty
    Latest Release: https://github.com/isometry/alfred-tty/releases/latest
    Usage
    Trigger the workflow with the keyword tty or via hotkey followed by some characters from the title of an open window, tab or pane; press Enter to activate the selected window/tab/pane, Alt-Enter to close it, or Cmd-Enter to trigger your ssh workflow. For example, enter tty as3 to switch to a tab with the title user@azure-server-03.
     

     
    If no active terminal matches, or you use the Cmd-modifier, trigger your preferred ssh workflow, e.g. ⇄ ssh as3.
    By default, the ssh workflow is assumed to be net.isometry.alfred.ssh (i.e. isometry/alfred.ssh, version 2.3+). Override by setting the ssh_workflow and ssh_trigger variables; for deanish/alfred-ssh, set the ssh_workflow variable to net.deanishe.alfred-ssh.
     

     
    In order to make working with more than one window/tab/pane with the same title easier, the tty is displayed beneath the result, and can be provided as a second argument to the trigger. For example, enter tty lo 3 to select the the session with title localhost running on /dev/ttys003.
     
    To select by tty alone, use two spaces between the trigger and the tty number. For example, tty  4 will select /dev/ttys004.
     
    Optionally associate a hotkey trigger to further accelerate operation, e.g. Ctrl+Cmd+T, or change the trigger word via the keyword variable.
     
    Combine with an iTerm2 profile configured as ssh protocol handler (e.g. Name:=$$USER$$@$$HOST$$, Command:=$$ and Schemes handled:=ssh) and an alfred-ssh workflow to make opening and jumping between remote sessions across many windows, tabs and panes easy.
  7. Like
    isometry got a reaction from deanishe in ^tty - iTerm search and control with alfred-ssh fall-through   
    A JXA-based workflow for Alfred 3 users to quickly switch between or close iTerm windows, tabs and panes based on title and tty, or trigger your preferred ssh workflow when no open session is found (supports both isometry/alfred-ssh and deanishe/alfred-ssh).
     
    GitHub: https://github.com/isometry/alfred-tty
    Latest Release: https://github.com/isometry/alfred-tty/releases/latest
    Usage
    Trigger the workflow with the keyword tty or via hotkey followed by some characters from the title of an open window, tab or pane; press Enter to activate the selected window/tab/pane, Alt-Enter to close it, or Cmd-Enter to trigger your ssh workflow. For example, enter tty as3 to switch to a tab with the title user@azure-server-03.
     

     
    If no active terminal matches, or you use the Cmd-modifier, trigger your preferred ssh workflow, e.g. ⇄ ssh as3.
    By default, the ssh workflow is assumed to be net.isometry.alfred.ssh (i.e. isometry/alfred.ssh, version 2.3+). Override by setting the ssh_workflow and ssh_trigger variables; for deanish/alfred-ssh, set the ssh_workflow variable to net.deanishe.alfred-ssh.
     

     
    In order to make working with more than one window/tab/pane with the same title easier, the tty is displayed beneath the result, and can be provided as a second argument to the trigger. For example, enter tty lo 3 to select the the session with title localhost running on /dev/ttys003.
     
    To select by tty alone, use two spaces between the trigger and the tty number. For example, tty  4 will select /dev/ttys004.
     
    Optionally associate a hotkey trigger to further accelerate operation, e.g. Ctrl+Cmd+T, or change the trigger word via the keyword variable.
     
    Combine with an iTerm2 profile configured as ssh protocol handler (e.g. Name:=$$USER$$@$$HOST$$, Command:=$$ and Schemes handled:=ssh) and an alfred-ssh workflow to make opening and jumping between remote sessions across many windows, tabs and panes easy.
  8. Like
    isometry got a reaction from KyleKing in Terminology workflow - explore the English language on term.ly   
    A simple workflow to explore the English language via Agile Tortoise, Inc's excellent interface to Princeton University's WordNet database.
     
    Uses the keyword "term" followed by the word or term you want to define/explore.
     

     
    Download / Source
     
    If you like it, Agile Tortoise's Terminology app does the same thing for iPhone/iPad (NB: I have no affiliation to them).
     
    - isometry
  9. Like
    isometry got a reaction from misterflibble in SSH with smart hostname autocompletion   
    This one has been at the top of my Alfred wishlist since I downloaded my first Alfred v0.whatever beta: a workflow to open an ssh session (using the default ssh: protocol handler) with "smart" hostname autocompletion (based on ~/.ssh/config, ~/.ssh/known_hosts, /etc/hosts, Bonjour or any file containing the names of hosts you need to connect to).
     
    Comments and suggestions welcome.
     
    Download v1.3 for Alfred 2
    Download v2.3 for Alfred 3
    Download v3.1 for Alfred 4
    Download v4.0 for Alfred 5
     
    Source and Issue Tracker on github
     
    Robin
     
    Updates
    2013-03-14 00:00, v0.4: rudimentary fuzzy matching, to pull entries from /etc/hosts as well as ~/.ssh/known_hosts, and to deal with usernames properly.
    2013-03-14 09:00, v0.5: smart host matching.
    2013-03-14 22:45, v0.6: ~/.ssh/config and Bonjour discovery (including full BTMM support), and improved error handling.
    2013-03-14 23:00, v0.61: explicitly removed 'broadcasthost' from the list of possible matches.
    2013-03-15 00:30, v0.7: match '.' as '.'
    2013-03-16 10:45, v0.8: refactored code and add tab autocompletion.
    2013-03-16 13:30, v0.9: oops - the last update broke the workflow if you didn't have pybonjour installed; fixed. Continued refactoring: now using nikipore's alfred-python module.
    2013-03-16 14:15, v0.10: further refactoring to break core functionality out into a dedicated module (enabling module compilation). Combined with caching of file parsing results this should deliver significantly enhanced performance (not that it was slow before).
    2013-03-16 23:00, v1.0: complete refactoring and move release to github. New feature: display the source(s) of each suggested completion. This ought to be the last update for a while.
    2013-03-16 08:40, v1.1: fixed breakage when either of ~/.ssh/config or ~/.ssh/known_hosts didn't exist.
    2016-06-02 21:00, v1.3: fixed path to Alfred cache (thanks @okapi!).
    2016-10-07 12:30, v2.0: The Alfred 3 Release (including removal of built-in sources and addition of custom sources)
    ...
    2022-12-30 16:30, v4.0: The Alfred 5 Release (including removal of Bonjour source and switch to User Configuration)
  10. Like
    isometry reacted to rbn.frn in SSH with smart hostname autocompletion   
    This is shockingly sweet. Thank you so much, Isometry!
  11. Like
    isometry got a reaction from thec13 in SSH with smart hostname autocompletion   
    This one has been at the top of my Alfred wishlist since I downloaded my first Alfred v0.whatever beta: a workflow to open an ssh session (using the default ssh: protocol handler) with "smart" hostname autocompletion (based on ~/.ssh/config, ~/.ssh/known_hosts, /etc/hosts, Bonjour or any file containing the names of hosts you need to connect to).
     
    Comments and suggestions welcome.
     
    Download v1.3 for Alfred 2
    Download v2.3 for Alfred 3
    Download v3.1 for Alfred 4
    Download v4.0 for Alfred 5
     
    Source and Issue Tracker on github
     
    Robin
     
    Updates
    2013-03-14 00:00, v0.4: rudimentary fuzzy matching, to pull entries from /etc/hosts as well as ~/.ssh/known_hosts, and to deal with usernames properly.
    2013-03-14 09:00, v0.5: smart host matching.
    2013-03-14 22:45, v0.6: ~/.ssh/config and Bonjour discovery (including full BTMM support), and improved error handling.
    2013-03-14 23:00, v0.61: explicitly removed 'broadcasthost' from the list of possible matches.
    2013-03-15 00:30, v0.7: match '.' as '.'
    2013-03-16 10:45, v0.8: refactored code and add tab autocompletion.
    2013-03-16 13:30, v0.9: oops - the last update broke the workflow if you didn't have pybonjour installed; fixed. Continued refactoring: now using nikipore's alfred-python module.
    2013-03-16 14:15, v0.10: further refactoring to break core functionality out into a dedicated module (enabling module compilation). Combined with caching of file parsing results this should deliver significantly enhanced performance (not that it was slow before).
    2013-03-16 23:00, v1.0: complete refactoring and move release to github. New feature: display the source(s) of each suggested completion. This ought to be the last update for a while.
    2013-03-16 08:40, v1.1: fixed breakage when either of ~/.ssh/config or ~/.ssh/known_hosts didn't exist.
    2016-06-02 21:00, v1.3: fixed path to Alfred cache (thanks @okapi!).
    2016-10-07 12:30, v2.0: The Alfred 3 Release (including removal of built-in sources and addition of custom sources)
    ...
    2022-12-30 16:30, v4.0: The Alfred 5 Release (including removal of Bonjour source and switch to User Configuration)
  12. Like
    isometry got a reaction from Tyler Eich in Unix man page workflow   
    Open man pages with name and section filtering.
     
    The 'man' keyword exploits the x-man-page: protocol handler, so will default to opening in Terminal.app but can easily be switched to iTerm2.app. 'hman' opens pages in your default browser, and 'pman' opens PDFs in the default PDF reader.
      Download / Source
     
     
    Usage
    man open(1)  # open a specific page
    pman style   # open a PDF of the style(9) manpage
    man open     # search all sections for pages matching 'open*'
    man *open    # search all sections for pages matching '*open*'
    man 2 open   # search section 2 for pages with 'open' in the name
     
    Enjoy.
  13. Like
    isometry got a reaction from derico in iTunes Movie Trailers Search   
    Inspired by samvlu and MattCheetham here, I thought I'd try something a little different from my other workflows.
     
    I present iTunes Movie Trailers Search with poster icons. Find a movie by title and hit enter to open the movie trailer page in your default browser.
     
    Comments and pull requests welcome. Are the posters – as I suspect – a waste of time, bandwidth and space?
     
    Download / Source
     
    Note: initial population of the poster cache can take a few seconds, so give your first few searches time to complete.
     
    Usage
    trailer avenge    # "Captain America: The First Avenger" + "The Avengers"
    trailer latest    # Special case: return Apple's "Just Added" listing
     
    --
    Robin
  14. Like
    isometry got a reaction from Domenic in iTunes Movie Trailers Search   
    Inspired by samvlu and MattCheetham here, I thought I'd try something a little different from my other workflows.
     
    I present iTunes Movie Trailers Search with poster icons. Find a movie by title and hit enter to open the movie trailer page in your default browser.
     
    Comments and pull requests welcome. Are the posters – as I suspect – a waste of time, bandwidth and space?
     
    Download / Source
     
    Note: initial population of the poster cache can take a few seconds, so give your first few searches time to complete.
     
    Usage
    trailer avenge    # "Captain America: The First Avenger" + "The Avengers"
    trailer latest    # Special case: return Apple's "Just Added" listing
     
    --
    Robin
  15. Like
    isometry got a reaction from cjlucas in Unix man page workflow   
    Open man pages with name and section filtering.
     
    The 'man' keyword exploits the x-man-page: protocol handler, so will default to opening in Terminal.app but can easily be switched to iTerm2.app. 'hman' opens pages in your default browser, and 'pman' opens PDFs in the default PDF reader.
      Download / Source
     
     
    Usage
    man open(1)  # open a specific page
    pman style   # open a PDF of the style(9) manpage
    man open     # search all sections for pages matching 'open*'
    man *open    # search all sections for pages matching '*open*'
    man 2 open   # search section 2 for pages with 'open' in the name
     
    Enjoy.
  16. Like
    isometry got a reaction from DavidK in PLEASE VOTE: Your favourite workflows   
    Others have mentioned it already, but my ssh workflow is what I've wanted from Alfred since I first lumped for a Mega Supporter license in his infancy over two years ago. As soon as I found the new Script Filter object, I knew what I had to do. Having not yet found this forum, I started by reverse engineering David's PHP-based built-in Google Suggest workflow to figure out what my Python script had to output to get a result. D'oh 
     
    My pipe workflow isn't getting much love, probably because I haven't sold it very well, but I'm also using that *alot* to filter and transform text.
     
    Others I currently find myself using regularly:
     - Colors by Tyler Eich
     - Create OmniFocus Tasks by Aaron B. Hockley (great for adding a todo for an item in Gmail)
     - Movies by Simon Støvring (inspiringly awesome)
  17. Like
    isometry got a reaction from MattCheetham in iTunes Movie Trailers Search   
    Inspired by samvlu and MattCheetham here, I thought I'd try something a little different from my other workflows.
     
    I present iTunes Movie Trailers Search with poster icons. Find a movie by title and hit enter to open the movie trailer page in your default browser.
     
    Comments and pull requests welcome. Are the posters – as I suspect – a waste of time, bandwidth and space?
     
    Download / Source
     
    Note: initial population of the poster cache can take a few seconds, so give your first few searches time to complete.
     
    Usage
    trailer avenge    # "Captain America: The First Avenger" + "The Avengers"
    trailer latest    # Special case: return Apple's "Just Added" listing
     
    --
    Robin
  18. Like
    isometry got a reaction from macosxguru in Filter clipboard through your favourite one-liners   
    Not sure people are feeling the love for this one  so I've added some built-in one-liners to try and illustrate its power. I've used it at least 5 times today already.
     
    Examples include:
    filtering the contents of the clipboard with grep modifying the contents of the clipboard with sed, awk or perl base64 encoding/decoding the clipboard encrypting/decrypting the clipboard with AES-256 sorting the clipboard reversing the lines in the clipboard strip blank lines from the clipboard upper/lowercasing the clipboard add line numbers to the clipboard full listing of the built-ins
  19. Like
    isometry got a reaction from Enhorn in SSH with smart hostname autocompletion   
    This one has been at the top of my Alfred wishlist since I downloaded my first Alfred v0.whatever beta: a workflow to open an ssh session (using the default ssh: protocol handler) with "smart" hostname autocompletion (based on ~/.ssh/config, ~/.ssh/known_hosts, /etc/hosts, Bonjour or any file containing the names of hosts you need to connect to).
     
    Comments and suggestions welcome.
     
    Download v1.3 for Alfred 2
    Download v2.3 for Alfred 3
    Download v3.1 for Alfred 4
    Download v4.0 for Alfred 5
     
    Source and Issue Tracker on github
     
    Robin
     
    Updates
    2013-03-14 00:00, v0.4: rudimentary fuzzy matching, to pull entries from /etc/hosts as well as ~/.ssh/known_hosts, and to deal with usernames properly.
    2013-03-14 09:00, v0.5: smart host matching.
    2013-03-14 22:45, v0.6: ~/.ssh/config and Bonjour discovery (including full BTMM support), and improved error handling.
    2013-03-14 23:00, v0.61: explicitly removed 'broadcasthost' from the list of possible matches.
    2013-03-15 00:30, v0.7: match '.' as '.'
    2013-03-16 10:45, v0.8: refactored code and add tab autocompletion.
    2013-03-16 13:30, v0.9: oops - the last update broke the workflow if you didn't have pybonjour installed; fixed. Continued refactoring: now using nikipore's alfred-python module.
    2013-03-16 14:15, v0.10: further refactoring to break core functionality out into a dedicated module (enabling module compilation). Combined with caching of file parsing results this should deliver significantly enhanced performance (not that it was slow before).
    2013-03-16 23:00, v1.0: complete refactoring and move release to github. New feature: display the source(s) of each suggested completion. This ought to be the last update for a while.
    2013-03-16 08:40, v1.1: fixed breakage when either of ~/.ssh/config or ~/.ssh/known_hosts didn't exist.
    2016-06-02 21:00, v1.3: fixed path to Alfred cache (thanks @okapi!).
    2016-10-07 12:30, v2.0: The Alfred 3 Release (including removal of built-in sources and addition of custom sources)
    ...
    2022-12-30 16:30, v4.0: The Alfred 5 Release (including removal of Bonjour source and switch to User Configuration)
  20. Like
    isometry got a reaction from nikipore in Unix man page workflow   
    Open man pages with name and section filtering.
     
    The 'man' keyword exploits the x-man-page: protocol handler, so will default to opening in Terminal.app but can easily be switched to iTerm2.app. 'hman' opens pages in your default browser, and 'pman' opens PDFs in the default PDF reader.
      Download / Source
     
     
    Usage
    man open(1)  # open a specific page
    pman style   # open a PDF of the style(9) manpage
    man open     # search all sections for pages matching 'open*'
    man *open    # search all sections for pages matching '*open*'
    man 2 open   # search section 2 for pages with 'open' in the name
     
    Enjoy.
  21. Like
    isometry got a reaction from schoeps in Unix man page workflow   
    ...and another update to add the 'pman' keyword to render and open PDF man pages in your default PDF reader.
  22. Like
    isometry got a reaction from schoeps in windowmanager, ssh server list, toggle Alfred :ignore, SASS watch files, search by file kind   
    You've probably seen it already, but you might find my SSH workflow more powerful. It supports username override and smart-completes hostnames based on the contents of ~/.ssh/config, ~/.ssh/known_hosts, /etc/hosts and (optionally) Bonjour:
     
    Thread and direct download
  23. Like
    isometry reacted to xhinking in Github Alfred Worklfow   
    Github with Alfred
     
     
    Current Version:
    Search Github Repos Search Your Gists Search Your Starred Repos Get All Your Starred Repos Get All Your Gists Create A Gist Get API Requests Limit


     
    Don't Forget set your github username by:
    Set XXXX
     

    Github API limited 60 times per hour.
     
    Feel free to fix the bug and improve this workflow!
     
    Download 
  24. Like
    isometry got a reaction from mdelegge in Unix man page workflow   
    Open man pages with name and section filtering.
     
    The 'man' keyword exploits the x-man-page: protocol handler, so will default to opening in Terminal.app but can easily be switched to iTerm2.app. 'hman' opens pages in your default browser, and 'pman' opens PDFs in the default PDF reader.
      Download / Source
     
     
    Usage
    man open(1)  # open a specific page
    pman style   # open a PDF of the style(9) manpage
    man open     # search all sections for pages matching 'open*'
    man *open    # search all sections for pages matching '*open*'
    man 2 open   # search section 2 for pages with 'open' in the name
     
    Enjoy.
  25. Like
    isometry got a reaction from schoeps in SSH with smart hostname autocompletion   
    This one has been at the top of my Alfred wishlist since I downloaded my first Alfred v0.whatever beta: a workflow to open an ssh session (using the default ssh: protocol handler) with "smart" hostname autocompletion (based on ~/.ssh/config, ~/.ssh/known_hosts, /etc/hosts, Bonjour or any file containing the names of hosts you need to connect to).
     
    Comments and suggestions welcome.
     
    Download v1.3 for Alfred 2
    Download v2.3 for Alfred 3
    Download v3.1 for Alfred 4
    Download v4.0 for Alfred 5
     
    Source and Issue Tracker on github
     
    Robin
     
    Updates
    2013-03-14 00:00, v0.4: rudimentary fuzzy matching, to pull entries from /etc/hosts as well as ~/.ssh/known_hosts, and to deal with usernames properly.
    2013-03-14 09:00, v0.5: smart host matching.
    2013-03-14 22:45, v0.6: ~/.ssh/config and Bonjour discovery (including full BTMM support), and improved error handling.
    2013-03-14 23:00, v0.61: explicitly removed 'broadcasthost' from the list of possible matches.
    2013-03-15 00:30, v0.7: match '.' as '.'
    2013-03-16 10:45, v0.8: refactored code and add tab autocompletion.
    2013-03-16 13:30, v0.9: oops - the last update broke the workflow if you didn't have pybonjour installed; fixed. Continued refactoring: now using nikipore's alfred-python module.
    2013-03-16 14:15, v0.10: further refactoring to break core functionality out into a dedicated module (enabling module compilation). Combined with caching of file parsing results this should deliver significantly enhanced performance (not that it was slow before).
    2013-03-16 23:00, v1.0: complete refactoring and move release to github. New feature: display the source(s) of each suggested completion. This ought to be the last update for a while.
    2013-03-16 08:40, v1.1: fixed breakage when either of ~/.ssh/config or ~/.ssh/known_hosts didn't exist.
    2016-06-02 21:00, v1.3: fixed path to Alfred cache (thanks @okapi!).
    2016-10-07 12:30, v2.0: The Alfred 3 Release (including removal of built-in sources and addition of custom sources)
    ...
    2022-12-30 16:30, v4.0: The Alfred 5 Release (including removal of Bonjour source and switch to User Configuration)
×
×
  • Create New...