- Open up Automator.app located in your Applications folder.
- Choose ”Service” in the dialog sheet when creating a new document.
- In the
Services receives selected:
menu at the top of the ”Canvas” on the right, change to ”Files & Folders”. - In the sidebar to the left, search for
Get Selected Finder Items
- Drag this Action to the ”canvas” on the right side.
- Again, go to the sidebar at the left and this time search for
Run Shell Script
- Drag the
Run Shell Script
action to the ”canvas” on the right side. - At the right in the
Run Shell Script
action, change thePass input
fromto stdin
toas arguments
- Copy paste this into the action text box, removing the
Cat
command in the text box:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
osascript -e 'set volume with output muted' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* # OFFICIAL GITHUB BRAND COLORS | |
-------------------------------------------------------------------- | |
Official Github Brand Colors (August 20, 2015) from the | |
GitHub internal CSS framework (Primer) version 2.3.3 | |
Source URI: http://primercss.io/colors/ | |
1.a = Github Branding Color Swatches | |
-------------------------------------------------------------------- */ | |
.swatch-github-blue { | |
background-color:#4078c0; |
PLEASE SCROLL DOWN AND READ THE COMMENTS FOR A MORE UP TO DATE WAY (AND EASIER) TO DO THIS
When using Homebrew (http://brew.sh) and searching formulas or pull requests you may get the dreaded error message: Github API Rate limit exceeded
Let's fix that! (yeah!)
PLEASE SCROLL DOWN AND READ THE COMMENTS FOR A MORE UP TO DATE WAY (AND EASIER) TO DO THIS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/.wp-cli | |
php composer.phar self-update | |
php composer.phar require 'wp-cli/wp-cli=@stable' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* While most people are using text-rendering: optimizeLegibility; | |
* in their projects for better text rendering, it's actually non | |
* standard CSS (it's a SVG property). | |
* The standard way is to use the font feature settings for OpenType. | |
* The snippet below replicates text-rendering: optimizeLegibility; | |
*------------------------------------------------------------------- */ | |
-moz-font-feature-settings:"kern" 1, "liga" 1; | |
-moz-font-feature-settings:"kern=1, liga=1"; | |
-ms-font-feature-settings:"kern" 1, "liga" 1; |
NewerOlder