WP Tavern

Slash Edit Plugin

1. Easily Edit a Post or Page Using The Slash Edit Plugin

"If you’re not a fan of the admin bar or it’s disabled and you want a shortcut to edit posts in WordPress, you might be interested in a new plugin called Slash Edit. Developed by Ronald Huereca, Slash Edit adds the ability to edit the following items by adding /edit to the end of a url.

  • Posts
  • Pages
  • Custom Post Types
  • Author and Taxonomy Archives

To load the appropriate editing interface, visit a post or page while logged into WordPress and add /edit to the end of the url. It can also be used as a shortcut to login to the backend of WordPress."

On GitHub – The Personal Website of Ronald Huereca

This plugin works as advertised. I was concerned that there might be a security issue, after all, you can add ‘/edit’ to any web box at random. If you are not logged in – you are prompted to do so. There is no issue here.

Top Ten Current Page Rankings UNIX Linux Distributions

  1. Mint
  2. Ubuntu
  3. Debian
  4. Mageia
  5. Fedora
  6. openSUSE
  7. Arch
  8. CentOS
  9. Zorin
  10. elementary

DistroWatch Weekly

2. Put the fun back into computing. Use Linux, BSD.

"Welcome to this year’s 42nd issue of DistroWatch Weekly! The world of technology changes at a remarkable rate and, in this rapid stream of progress it can be difficult to know how to stay secure.

This week we turn our attention to the Qubes OS project which has an interesting approach to keeping our computers secure and our information private. This week we continue our discussion on rolling-release distributions and their reliability.

Find out below which distributions are running smoothly and which ones are experiencing problems. Another rolling-release, SparkyLinux, is also in the spotlight in a first impressions review this week. Read on to find out how the Debian-based project performs.

In the News section this week we share graphics improvements coming to Fedora via new drivers and to Kubuntu through the KDE desktop. We also share the highlights of FreeBSD’s quarterly status report and talk about Debian’s massive archive of packages and how the project plans to store the growing mountain of data. Plus, we discuss Debian’s debate over whether to allow users to choose their preferred init system. As usual, we bring you the distribution releases of the past week and look forward to fun, new releases to come. We wish you all a fantastic week and happy reading!"

Mark S. Kolich

Software Engineer

3. Mark S. Kolich – Use JavaScript and jQuery to Get User Selected Text

"You may have noticed that a few sites out there trigger some type of event when you use your mouse to select a word or a block of text on the page. After selecting some text, a little pop-up might appear allowing you to look up the definition of the selected word, or search Google for the selected phrase. The New York Times online is a perfect example; while reading any of their articles, select a block of text with your mouse and you’ll notice a little balloon like icon appears. If you click the balloon icon, a pop-up window opens that back searches all New York Times articles for the selected text. Like any reasonable software engineer, I was curious how the New York Times online implemented this select, click, and search feature.

As it turns out, implementing your own is quite easy with jQuery as shown in my example."

This article is from 2009, but an interesting examination of “tool tips” using JavaScript and jQuery.

Script Keys – Agile Tortoise

Drafts is a wonderful iOS app, that can direct your input/output in many different directions, for example to OmniFocus or Day One.

4. Script Keys – Agile Tortoise

"Script keys allow short JavaScripts to be run which manipulate the text currently being edited in Drafts. All normal JavaScript library functions are available, but the below special functions exist to access to and update the text, selections and selection range for the edited text.

These calls are cumulative over the course of the script key script’s execution, and only the final values will be applied to the edited text on successful completion of the script.

Examples of things that can be done with scripts keys include regular expression search and replace of text, insertion of common formatting elements such as Markdown or HTML tags, upper or lower casing text selections – and much more.


getText() : Returns the full text currently being edited.
setText(string) : Replaces full text being edited with string.
getSelectedText() : Return only the selected text. If no text selection exists, this will return an empty string.
setSelectedText(string) : Replace only the current selected text range with the string. Also updates the selected range to match any change in length of the new string.
getTextInRange(start, length) : Return text in the request range.
setTextInRange(start, length, string) : Replace the text in the specified range with the value of string.
getSelectedLineRange() : Returns the range (start,length) of the full line based on the current cursor position
getSelectedRange() : Returns the current selected text range as an array with values [start, length].
setSelectedRange(start, length) : Set the selected range of text. Invalid ranges will be automatically adjusted, and this text selection will be applied after successful completion of the script. 
: Returns current contents of the system clipboard.
setClipboard(string): Set the system clipboard to the string passed.

The best way to get started with scripting keyboard extensions in Drafts, is to look at some examples. And the best place to find example is in the Drafts Action Directory."

Both Drafts and Editorial are great iOS apps, the ideas of which could be recreated on the Mac to great effect.

Brett’s TextExpander Snippets

5. ttscoff/Brett-s-TextExpander-Snippets

"Just collecting a few of my favorite TextExpander snippets here, feel free to use. I have these set to expand after a Tab, but they should work with just about any expansion settings. Related commands all have similar beginnings to make using the ‘Suggest Completions’ feature easier.

This repo now includes the base system I’m using to generate downloads with custom snippets. The files to be customized are named with the extension ‘.tedist’ and the prefixes in the ‘abbreviation’ string of the plist are replaced with ‘[[PREFIX]]’. The rest is handled by the php files.

getsnippets.php is called through ajax and serves as an example for reading the snippets and shortcuts from the plist. Returns json output for the file specified in the query string with ‘file=groupname’ (no extension)."

If you don’t own TextExpander by Smile Software, have a look here.

To find more ‘TextExpander snippets’, search Google or GitHub.

jQuery Excerpts for Text Elements

6. Use jQuery to Create Excerpts for Text Elements

“This is how you can use jQuery to limit characters inside a text area. It is a function to set the maximum length of characters for any page element. You could use it to create excerpts for posts on your blog for example. See more jQuery .each Examples.”

This is how you can use jQuery to limit characters inside a textarea. It is a function to set the maximum length of characters for any page element. You could use it to create excerpts for posts on your blog for example. See more jQuery .each Examples.


And this is how you use it:


pre class=”brush: jscript; title: ; notranslate” title=””>
//example call

CSS Support in eMail

7. Guide to CSS support in email | Campaign Monitor

“A complete breakdown of the CSS support for every popular mobile, web and desktop email client on the planet. Download the complete guide for all 18 clients, or see the top 10 below.”

eMail is the Wild West for standards compliance. This site gives you a good overview of the potential potholes.

Antwort – Responsive email templates

8. InterNations/antwort

"Antwort offers responsive layouts for Email that both fits and adapts to client widths. Don’t underwhelm desktop users with single column layouts that work for mobile. Antwort offers columns on desktop that automatically become rows on mobile.


Author: Julie Ng (@jng5)
Date: October 2014
Version: 1.0.0


  • Works on mobile: Mail on iOS and Email on Android.
  • Works in major clients like AOL, gmail, and Yahoo.
  • Even works in Outlook (2000+).
  • Bulletproof layouts: made with dynamic content in mind.
  • Minimalist in design for maximum customizability."

Demo Site

A LIST APART – Style Guide

9. A List Apart: Style Guide

"Articles written for publication on A List Apart use an informal, conversational tone, though not at the cost of clarity or correctness. Experts require neither excessive formality nor excessive casualness to express their authority. If you write with ALA’s readership in mind and sound like yourself, you’re most of the way there already.


Our article space is intentionally limited to a single page. There is no room for meandering, no space for encyclopedic completeness. You need to get in, score, and get out. State your idea clearly and quickly. If your tutorial solves a problem, state the problem. Don’t warm up to your subject by preceding it with generalizations. You don’t need to tell our readers that Tim Berners-Lee invented the web before getting to your point.


Experienced web professionals read ALA. If you dumb down your article, you will offend these readers. But our readers come from many backgrounds—a reader who knows all 317 CSS workarounds might not necessarily have heard of Edward Tufte—so take time to define your terms and provide pertinent background information, if only as a link."

StyleGuide Template

10. StyleGuideTemplate/ at master · tiffanybridge/StyleGuideTemplate

"What’s this document for? This is a statement of [Company/Product’s] house style as it applies to online content. Ensuring all our online content is consistent, professional, and accurate builds our credibility in the market.

Who should use this document? Everyone. Certainly, staff actually editing content directly in the website content management system will want to refer to this guide regularly. But all staff who produce anything externally-facing should use this guide as a tool to support their content planning, since one way or another it will almost all appear on the website, or refer people back to the website, eventually.

So then this is the final word? Yes and no. Particularly in the online space, conventions of usage change over time. The scope of our online efforts will change over time, and the style guide will be updated to reflect these changes.

A good template to get started writing a style guide, on GitHub. Converted from Word to Markdown – what a good idea.