Coder Social home page Coder Social logo

bourbakis / alfred-hacks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dorkitude/alfred-hacks

1.0 1.0 0.0 139 KB

A variety of useful scripts/extensions for Alfred

Home Page: http://dorkitude.com

License: Other

Shell 2.81% AppleScript 97.19%

alfred-hacks's Introduction

Installation

You can install an extension by opening the ".alfredapp" (in the binaries folder) file in Alfred for Mac.

Usage

iCal Quick Entry

In Alfred, just type cal {X} where {X} is natural language describing an event.

This extension will the event to your iCal via OS X Lion's "Quick Event" feature.

For example, try typing this into Alfred:

cal Dinner with Michelle tomorrow at 6:30pm

Background Command

In Alfred, type bg {X} where {X} is a terminal command.

The extension will execute your command in the background and send the output to Growl.

This is super useful and you'll discover more reasons to use it over time. Trust me, install this and you'll find it starting to replace tons of Terminal commands.

Here are some examples off the top of my head.

Making a directory:

bg mkdir ~/Library/Scripts/Applications/OmniFocus

Looking up a domain:

bg whois dorkitude.com

Launching MacVim (in this case, opening my Vim configuration file in it):

bg mvim ~/.vimrc

Copy Command Key to Clipboard

I occasionally find myself wanting to enter the symbol for Apple's Command Key (โŒ˜) into something I'm writing -- documentation, tweets, IM conversations, etc.

I got tired of googling for "Apple Command Key" or "St. John's Arms" just to copy/paste the symbol, so I made this simple Alfred extension.

Once it's installed, you can just type this into Alfred:

`commandkey`

...and the script will put the symbol in your clipboard โŒ˜. Paste on, young soldier!

Copy Date to Clipboard

In Alfred, type date and your clipboard will be populated with today's date in YYYY-MM-DD format.

For example, I just typed this into Alfred:

date

And my clipboard became:

2011-12-12 

This little extension is super useful since I am anal about the filenames of legal docs, contracts, journal entries, and that sort of thing.

Copy File Contents to Clipboard

In Alfred, navigate to a file using commands such as open , ~ or /, and press the right arrow to open the file actions. Select Copy Contents to Clipboard to add the content of the file to the clipboard.

Google in a new Chrome window

In Alfred, type gw {x} where {x} is a search query. This will perform a Google search in a new window, so as not to disturb your precious 500-something tabs!

alfred-hacks's People

Contributors

brettporter avatar dorkitude avatar ivkosh avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.