- 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 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
#pragma once | |
#include "ofMain.h" | |
ofMesh generatePieMesh( float value, float radius = 10.f, float segments = 32 ) { | |
// Create our mesh. | |
ofMesh mesh; | |
mesh.setMode( OF_PRIMITIVE_TRIANGLE_FAN ); | |
// Add the center point |
This file contains 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
import argparse | |
import string | |
import requests | |
import time | |
parser = argparse.ArgumentParser( | |
description='Get all Google Suggest results for a query.') | |
parser.add_argument('query') | |
parser.add_argument('--sleep', type=float, default=0.1) | |
parser.add_argument('--verbose', action='store_true') |
This file contains 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
#!/usr/bin/python | |
# vim: fileencoding=utf-8 | |
# SPDX-License-Identifier: MIT | |
u"""Translate YAML written text to graphviz dot language | |
Input YAML text like below: | |
--- |
This file contains 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
.kanban-board { | |
background-color: #f2f5f9; | |
max-height: 600px; | |
overflow-x: auto; | |
overflow-y: auto; | |
} | |
.kanban-column { | |
background-color: transparent; | |
} |