+
kudusch.deRSSContact

Kudusch’s Trash

A blog about Life, the Universe and Everything…


Minifer for Alfred

minify

If you are a web developer, chances are, you stumbled over this piece of software. This minifier removes all unnecessary line breaks, comments and whitespace in your CSS or JS code.

To make it even simpler to use, I wrote an Alfred Workflow that minifies any CSS or JavaScript code in your clipboard.

Kudos to Matthias Mullie for creating Minify!

To use Minifer for Alfred, just download and install the Workflow.


Version 1.0:
-initial release

Tags: alfredalfred2cssjavascriptjsminifierminifyworkflow
February 28, 2016


Sass Helper for Alfred

Sass Alfred

I just discovered the truly awesome css language extension Sass and as usual I wanted to use it via Alfred App. So I glued together this little workflow:

Sass Helper

You can either convert the currently selected file in the Finder or paste Sass code to the workflow. Of cause you’ll have to install Sass on your machine to make this work. But that’s super easy.

So, have fun and take care.


Version 1.0:

-initial release

Tags: alfredalfred2csssassworkflow
November 26, 2014


Video Downloader for Alfred

This workflow lets you download videos or just the audio track of a video from YouTube, Vimeo, Vine and many more [1] to your computer.

The workflow uses youtube-dl to download the videos and ffmpeg to extract the audio. Both come bundled with the workflow so there’s no need to install anything else.

You just open Alfred, type…

video-dl (optional: video url)

… to download the video from the currently opened Safari tab or paste the URL to the video. Choose whether you want to download the video or just the audio from the URL and wait for your download to finish.

 

To install the workflow click the download link and add it to your existing workflows by double clicking the file. After that you’re ready to go, no extra configuration required.

Changelog:

Version 1.1
-bug fixes and new updated version of youtube-dl

Version 1.0
-initial release

Notes:

1: Full list of supported sites ()

September 22, 2014


ASCII Converter for Alfred 2

This is another little workflow for the Alfred Powerpack

image

image

With this workflow you can convert a string of characters into their ASCII code values and vice versa.
You can convert from and to hexadecimal, binary and decimal.
The results will be displayed as soon as you run the workflow and copied to your clipboard when you press enter.

You can either enter a string or just use your clipboard content.

ASCII converter

 

This extension is written in AppleScript and does not require an internet connection to work; the conversion is done inside the script and does not rely on an extern service.

Enjoy.

If you experience any problem with this extension, found a bug or have feature request, hit me on twitter.

Changelog:
Version 1.1
-fixes a rather stupid bug where the conversion for hex would not be in hexadecimal, but in hexal

Version 1.0
-rewritten as an Alfred 2 workflow
-detection of input

 

March 19, 2013


Control Notification Center and Growl.app from Alfred.app

An Alfred v2 workflow to control Growl.app and Mountain Lion’s Notification Center.
You’ll need version +1.3 of Growl.

You can use the following keywords:

Show the current status of Growl and NotificationCenter : stat
Pause Growl and Notification Center : pause
Resume Growl and Notification Center : resume
Pause or resume Growl : growl
Pause or resume Notification Center : notificationcenter
Close all Growl notifications : close_growl
Close all NotificationCenter notifications : close_nc
Show Growl’s rollup : show
Hide Growl’s rollup : hide
Enable Growl’s incoming network : enable
Disable Growl’s incoming network : disable/
Restart Growl : restart

Just download this extension, install it and it’s ready to use.

If you don’t have Growl installed, you can just download the NotificationCenter only version of the workflow.

Download!
(Growl and NotificationCenter)

 

Download!
(NotificationCenter only)

This extension is written in AppleScript and uses the Shell.

If you experience any troubles with this, hit me on twitter.
Enjoy.

Changelog:
v.2.3:
-support for Mac OS X 10.10 Yosemite
-you can now download this workflow in two versions (one with growl, one without)
v.2.2:
-added support for Mac OS X 10.9 Mavericks’ new security features
v.2.1:
-added support for Mac OS X 10.9 Mavericks
v.2.0.0:
-now rewritten as an Alfred 2 workflow
-added option to close all pending NotificationCenter items

If you don’t have the Alfred Powerpack or you don’t want to use Alfred for this task, you can either extract the code from the workflow file or just ask me for the source.

March 16, 2013