jq is useful to slice, filter, map and transform structured json data.
brew install jq
<link href="https://fonts.googleapis.com/css?family=Orbitron" rel="stylesheet"> | |
<div class="id-card-wrapper"> | |
<div class="id-card"> | |
<div class="profile-row"> | |
<div class="dp"> | |
<div class="dp-arc-outer"></div> | |
<div class="dp-arc-inner"></div> | |
<img src="https://cdn.discordapp.com/attachments/972896211369603134/1064966291829555320/holoportrait_small.gif" /> | |
</div> | |
<div class="desc"> |
on run {input, parameters} | |
tell application "System Events" | |
tell process "Finder" | |
set menuList to name of every menu item of menu "File" of menu bar 1 | |
repeat with itemName in menuList | |
if itemName contains "New Folder with Selection" then | |
click menu item itemName of menu "File" of menu bar 1 | |
return | |
end if | |
end repeat |
section, | |
aside { | |
padding: 1em; | |
border: 1px solid black; | |
margin: 1em; | |
} | |
aside { | |
background-color: rgba(100, 100, 100, 0.2); | |
} |
/* | |
Because the quotation marks around a quote are a stylistic addition to set it off from the unquoted text, and thus not semantic content themselves, they can be added to your page via CSS (instead of including them in the content of your document). | |
Note, though, that this means you must use <q> and <blockquote> tags. | |
*/ | |
/* Quotation marks on both sides of nested quotes (e.g., <blockquote><q></q></blockquote>) */ | |
q, | |
blockquote { | |
quotes: "\201C""\201D""\2018""\2019"; |
( Conversation started here, with @murtaugh and @zeldman. )
Ah man, I got Opinions™ on this. I ususally go with something like:
<aside>
<h1>Optional Heading</h1>
<blockquote>
<p>It is the unofficial force—the Baker Street irregulars.</p>
</blockquote>
The code and instructions in this gist are from http://peterdowns.com/posts/open-iterm-finder-service.html. I've had to do this a few times and wanted to distill it the basics. Update: Replaced the first script with one from http://hohonuuli.blogspot.de/2016/02/iterm2-version-3-open-iterm-here-script.html (thanks @smith64fx for the link)
Automator
Application
Actions > Utilities > Run Applescript
open_in_iterm.app
into the window.