Jump to content

Search the Community

Showing results for tags 'development'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 24 results

  1. Delete the content of the infamous DerivedData, Xcode and module cache folders. Download
  2. If you regularly need to set the same files or directory structures somewhere, say a set of prebuilt scripts and template files for certain types of regular projects, this workflow is meant to make your life easier. It can take files, directory structures, and even URLs, and set them up as templates that’ll be copied over to your frontmost Finder window (if you’re using Path Finder, it will be used instead). Files and directory structures will be copied, and urls will be downloaded when requested (so you always get the latest version). Templates are kept in Alfred’s Workflow data directory by default, but can be saved anywhere else by setting the custom_templates_dir Workflow Environment Variable. Any path you set will be relative to your home directory. Use this method to easily set up syncing. If you have a template that consists of a directory, you can place inside it an executable script with the name starting as _templatesmanagerscript. (the extension will be your pick), to be executed automatically after copying. It has a lot of options and you’ll likely use most of them, so I’ll fire through them succinctly: Add to TemplatesManager [File Action] — Add a file or directory to your local templates. tml (TemplatesManagerList) [Script Filter] — Show a list of your local templates. Type to sort with your query. Press ↵ to copy the selected one to your frontmost Finder window. tml (with ⌘) — If the selected template is a directory, instead of copying the directory itself, copy what’s inside it. tml (with ⌥) — Delete your template. tme (TemplatesManagerEdit) [Keyword] — Open the templates directory so you can add, remove, and edit them manually. rtml (RemoteTemplatesManagerList) [Script Filter] — Show a list of your remote templates (download name and url). Type to sort with your query. Press ↵ on the selected one to download the file to your frontmost Finder window. rtml (with ⌘) — Paste contents of template file, instead of downloading it. rtml (with ⌥) — Remove the url from your remote templates list. rtme (RemoteTemplatesManagerEdit) [Keyword] — Open the remote templates urls file in a text editor so you can add, remove, and edit them manually. rtma (RemoteTemplatesManagerAdd) [Keyword] — takes the URL in your clipboard and adds it to your remote templates list. Download | Source
  3. Here's a workflow that's useful for developers; it allows you to convert between timestamps and formatted datetime strings with ease. Simply type "df" followed by: "now", a UTC unix timestamp, or a formatted datetime string. This will present you with the parsed date in various formats ready to copy to your clipboard. Download
  4. Quick access to popular libraries, frameworks & tools online developer documentation. With all these great frameworks & libraries out there, it's hard to master each one of them. D2 (Developer Documentation) provides links to online documentation of the most popular frameworks, libraries and other development tools, so you’ll able to get some answers quickly. Workflow can be downloaded from Packal. Think of another great link to add to D2? Open D2 repository on Github Make sure the link is not already in the file Edit data.json file Add your link object to the bottom of the array: { "name": "Tool's name as appear on its website", "description": "Tool's description as appear on its website, up to 100 characters", "tags": ["lowered", "case", "tags"], "link": "direct link to documentation / api page, e.g. https://emberjs.com/api/", "timestamp": "current date as YYYY-MM-DD, e.g. 2017-01-01", "credit": "your_username@some_website, e.g. nire0510@github" } Submit your PR
  5. Packal: http://www.packal.org/workflow/safari-tech-preview-webkit Github: https://github.com/joeworkman/alfred-safari-tech-preview As a web developer, I love to use Safari Technology Preview. However, typing Safari in Alfred always drives me crazy becuase I have to choose which Safari I want to open. I developed this simple workflow so that I can now launch Safari Technology Preview by typing webkit or wk into Alfred. You can also pass an optional URL to the command. If you do the URL will be opened inside Safari Technology Preview. If no URL is passed, the application will simply be activated.
  6. A snippet pack to make putting the true unicode equivalents of things like :sparkles:, :lipstick:, and other emojis used in git commits easier to type. It gives them names relevant to coding. Of course the official gitmoji has a CLI but suppose you want to use an IDE or don't want to install npm but already have Alfred Powerpack, or you just want a more inline way way of adding emoji, or you want the emoji to work with $git log (e.g. :sparkles: will not be interpreted by git log); if so, this is for you. Examples: :sparkles: -> :add: Because one uses ✨ when adding new features :penguin: -> :lin: Because one uses ? when making linux related changes :checkered_flag: -> :win: Because one uses ? for windows related changes :heavy_plus_sign: -> :+dep: Because one uses ➕ when adding dependencies etc.. Added benefit of making emojis appear with $git log because they are just unicode after using this. Inspired by: https://gitmoji.carloscuesta.me/ And also: https://github.com/atom/atom/blob/7929e261a0d6e78ff4ca5196c8b385946e64dbd9/CONTRIBUTING.md#git-commit-messages Full mapping details and download is available on the github
  7. jeffsui

    Workflow Directory

    I've been writing a lot of workflows lately and its been annoying to have to open aflred right click on a workflow and open either the terminal or finder to it. Here is my `wfd` and `wft` commands that do just that. V0.4 - Updated to support non standard workflow directories: Relative Path
  8. Sampayo

    iOS Simulator

    iOS Simulator Alfred Workflow A simple workflow for fast access to your iOS Simulators and apps. It saves you time during iOS development when you have to deal with Simulators' folder structure. Installation Download and open file or download from my GitHub account. Usage To trigger the workflow you have to type sims Features Simulators Show applications (⏎ enter). Launch in simulator (alt ⌥ + ⏎ enter). Show number of applications installed (⇧ shift). Reset contents and settings (⌘ cmd + ⏎ enter). Apps Show content in finder (⏎ enter). Launch app in simulator (alt ⌥ + ⏎ enter). Show app details (⇧ shift). Reset content of Documents, Library and tmp. (⌘ cmd + ⏎ enter).
  9. Open Genymotion devices from Alfred. Workflows 1. !geny - To launch the pre-selected device name 2. !geny-list - Find out list of available device name Setup: ----- 1. !geny-list to find out the list of available device name 2. Note down the device name 3. Open variables screen, set GENYDEVICENAME to your device name, refer the below video for more info 4. !geny to launch the device Demo - https://youtu.be/YiFRa3PeHDA
  10. deanishe

    Search StackOverflow

    StackOverflow Search for Alfred Search for answers on StackOverflow.com from Alfred 2. Download Get StackOverflow for Alfred from GitHub or Packal. Usage .so <query> — Search StackOverflow.com for <query>. See below for syntax. ↩ or ⌘+NUM — Open result in default browser ⌘+L — Show full question title in Alfred's Large Text window Query syntax By default, words in <query> will be search for in the title of posts. To specify a tag, prefix it with ., e.g. python will search for python in the post title, .python will search for the tag python. Results Answered questions will be shown first in the list of results (and have a tick on their icon). Licensing, thanks This workflow is released under the MIT Licence. It is heavily based on Alfred-Workflow, also MIT-licensed.
  11. Hello everyone, I'm creating a small snippet that retrieves data for a given domain and prints out a few options based on the domain availability. Currently I got it working with no issues using a keyword and script filter prints out XML items based on the availability. No issue so far. But it's feels pretty unnatural to use the keyword (I'm using 'whose' which is the name of the workflow), so I'd like to make trigger the domain when the query matches a domain structure. Currently there's already a script with opens the URL (it's called openurlsearch), and I'd like to have my workflow appear like that too. Is it possible? I know that I could try to use the fallback solution, but if you type a domain Alfred will only show the Open URL workflow, so people would have to disable the web search from settings and things would be just too complicated. Any ideas to help me solve this out? Thanks!
  12. Note: This is not a workflow, but a helper CLI (command-line utility) geared toward Alfred users who manage development of multiple workflows intended for sharing. I suggest installing via the npm registry, if you have Node.js installed - if not, consider installing it just to benefit from its great package manager, npm; try curl -L http://git.io/n-install | bash ): [sudo] npm install -g awf Alternatively, here are instructions for manual installation. Note, however, that the npm-based installation makes updating to a newer version much easier. Below is a high-level overview; you can find the full manual in the repo's Usage chapter, or, once installed, you can execute awf help (concise overview), awf help all (full manual), or awf help <sub-command>. ------ awf (Alfred Workflow) is an OS X CLI for managing and assisting in the development of workflows for command-line launcher Alfred 2. It comes with a broad range of features: Note: Some features related to Alfred Preferences.app involve GUI scripting and therefore require that the application running awf - typically, Terminal.app - be granted access to accessibility features - you will be prompted for authorization on first use; for more information, see Apple’s support article on the subject. Retrieving information about workflows List all workflows or workflows matching a filter, optionally with selectable output fields.awf list -s i net.same2u. # list matching workflows by bundle ID substring Print information about a given workflow.awf info net.same2u.speak.awf Locating workflows Locate a workflow’s installation folder by its bundle ID.awf which net.same2u.speak.awf # prints installation folder path Reveal a workflow’s folder in Finder.awf reveal net.same2u.speak.awf Trigger a keyword search for workflows in Alfred Preferences.awf search speak Editing workflows Change to a workflow’s folder in Terminal.awf cd net.same2u.speak.awf # opens a tab in a new window Open a workflow in Alfred Preferences for editing.awf edit net.same2u.speak.awf awf edit # from a workflow source folder Installing and exporting workflows Install a (copy of a) workflow from a source folder.awf install . Export a *.alfredworkflow archive from a source folder.awf export . # exports to '*.alfredworkflow' in same folder by default Developing workflows Note: The purpose of the following features is to allow you to store workflows being developed in a separate location instead of directly among the installed workflows. A symlink to the dev location placed among the installed folders ensures that you can still use and develop the workflow from within Alfred and Alfred Preferences. These features move directories, create symlinks, and delete files. Care is taken not to accidentally overwrite or delete files, but use these features with caution and always create backups. Symlink a dev folder (source folder) into the folder of installed worklows or remove a dev folder’s symlink.awf link . # effective installation without moving the directory awf unlink . # remove a symlink - effective uninstallation Move an existing, regular workflow to a dev folder in a different location and replace the original workflow folder with a symlink to the dev folder.awf todev net.same2u.speak . # move to current folder and perform 'awf link' Conversely, move a dev folder back to the folder of installed workflows as a regularly installed workflow.awf fromdev . # -k keeps the source folder Manage workflow version numbers via file version.awf version patch # bumps the patch component of the workflow's version number
  13. Is there any integration guide for developer?
  14. alfredPG is an Alfred2 workflow that allows you to start a PhoneGap emulation process for ios. The idea is that you can simply type 'pgemulate' and then hit the tab key and alfredPG will list your PhoneGap projects that you are working on. Carry on typing and select the project using the PhoneGap 'appname'. Once you execute the command, it will start the "iOS Simulator" and launch your project ready for testing. NOTE: alfredPG does need a one time configuration in order that you can tell it where your PhoneGap projects are stored on the drive.. See workflow 'readme' for full information. alfredPG is published on; http://www.packal.org/workflow/alfredpg Enjoy dave
  15. shkm

    Edit Hosts

    Here's a simple hosts "editor" workflow to add or remove entries in /etc/hosts from within Alfred. You will be prompted for your password. Currently it lacks any form of feedback, but this may change. Download
  16. NateDickson

    Simple IP Address Grabber

    I created a simple workflow to return the IP address of any domain you give it. When you enter a domain name it can understand it will fill in the first result item with the address, pressing enter will copy the address to the clipboard. The download link!
  17. Ok, I am in the process of re-tooling my workflow development ...erm... workflow. I use Sublime Text 3 and write all my workflows in Python (with some AppleScript occasionally thrown in). My basic question to the community is this: How is your environment set up for Alfred workflow development? But, as that question is perhaps overly broad, here are some specific sub-questions: How do you do version control?do you make the workflow directory the repo? do you do this in Alfred's auto-generated workflow dir (~/[parents]/Alfred.alfredpreferences/workflows/XXXXX-11111/)? How do you structure complex workflows?is the structure similar to the standard Python package structure, with the workflow dir acting as the package dir? if you have multiple scripts, how do you organize them? How do you run/test the workflow as you are building it?in Sublime, with Python, I have problems with imports as soon as I create any structure beyond a flat collection of scripts. I run the scripts from Sublime, not the command line. I need a Custom Build System, does anyone use one for Python alfred workflow devel? There are lots of other specific questions, but my general aim is to just hear from people. Right now, I am re-writing my ZotQuery workflow, which if anyone uses it or has looked at it, you would know that it is big and gnarly. I have most all of the code written, but the workflow's organization is shit. It's far too big to all sit in one script (and still allow me to navigate it). I need some organizational inspiration. So hit me with your setups. stephen
  18. I was working on a Django app where the source was going onto Github. The Django documentation is fairly explicit about how this key should be kept Keep this value secret. Running Django with a known SECRET_KEY defeats many of Django’s security protections, and can lead to privilege escalation and remote code execution vulnerabilities. I had the option of going online and generating a key but I thought it would be as handy to generate my own locally (connectivity being what it is in rural Ireland). To do this I've set up a shortcut Cmd + Shift + J to call a script that uses the same code as django-admin.py to generate a random string. The output is raised in a notification and copied to the clipboard Hope it's useful to someone Available on Packal - http://www.packal.org/workflow/django-secret-key-generator NOTE: I am using Django code so the Django licence will be in effect for derivative works: Copyright © Django Software Foundation and individual contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of Django nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  19. EvanLovely

    Code Snippets

    I made a nice Alfred workflow for searching through a folder of plain text file snippets that copies the contents and then inserts it into your current focus point. Additionally, it's easy to see, search, and set Mavericks tags on the snippets. Since the whole storage of snippets is done with the file system, it makes it really easy to add and edit the snippets with other means. Go check it out!
  20. MattCheetham

    Search Xcode Documentation

    I got bored of fighting with Xcode to get to the documentation and look around for stuff so I created a simple workflow. Bulk of the code isn't mine as I got the main applescript here Just pulled it together as its nice to be able to search. Usage docs <keyword> - Searches documentation via XCode. Download http://cl.ly/2R3i0z1X2l2w
  21. davidcalhoun

    Safari Remote Inspect

    I've created a Alfred 2 workflow for remotely inspecting an iOS device by name using Safari's remote web inspector. You can view the source and download on GitHub.
  22. In many workflows that I've downloaded, I've found that much of the metadata isn't included. It's fairly simple to write the few sentences that make the workflows more meaningful, but the most important one that I've seen is the bundleid, which is often left blank. While not absolutely necessary for the workflow to function on its own, the metadata can help other workflows that interact with the installed workflows in Alfred. Also, it does really help to fill in the website data. If you aren't using github or another page that has more information and lists some other workflows, then it might be best just to link to the forum post in which you release the workflow. Also, this request might just come out of a bit of OCD that I have.
  23. Hey guys, I've just created "Dev Doctor" it has autosuggestions for development amongst others http://wemakeawesomesh.it/alfred-dev-doctor/ A simple walkthorugh of the kinds of things you can do with Alfred Dev Doctor. A really simple documentation helper for alfred. Supports: Languages & Frameworks with autosuggest search PHP - php {query} JavaScript - js {query} jQuery - jq {query}, jquery {query} HTML - html {query} CSS - css {query} Python - py {query}, python {query} node.js - node {query} Ruby on Rails - rails {query} Haskell - haskell {query} Erlang - erlang {query} C - c {query} Languages & frameworks with keyword search: Laravel - larval {query} Bootstrap - bs {query} Flask - flash {query} .NET - .net {query} Java - java {query} Android - android {query} iOS - ios {query} Asset search github repos - github {query} icons - icon {query} Let me know what you think of it It's also on github https://github.com/sydlawrence/alfred-dev-doctor Syd
  24. cLarnhof

    CocoaPods

    Something for the developers among you: This workflow adds a repository to your currently active XCode project using CocoaPods. CocoaPods Workflow Those of you unfamiliar with CocoaPods, check out their website.
×