Automating Leanpub book publishing with Hammerspoon and CircleCI
April 16, 2019
I am the author of two books: Learning CFEngine and Learning Hammerspoon, both self-published using Leanpub. The source of my books is kept in GitHub repositories. In this post I will show you how I use the Leanpub API together with Hammerspoon and CircleCI as part of my workflow, to automate and monitor the building, previewing and publishing of my books. </div> <div class="admonition-content">The Hammerspoon section of this post is Mac-specific (since Hammerspoon is a Mac-only application), but the integration between GitHub, CircleCI and Leanpub can be applied regardless of the OS you use.
New release of "Learning Hammerspoon" is out!
April 8, 2019
I am happy to announce a new release of my new book "Learning Hammerspoon", including a brand new chapter and many other improvements.
First release of "Learning Hammerspoon"
October 16, 2018
I am happy to announce the first release of my new book "Learning Hammerspoon", a book devoted to using Hammerspoon to make using your Mac easier, faster and more fun.
My Hammerspoon Configuration, With Commentary
January 8, 2018
In my ongoing series of literate config files, I present to you my Hammerspoon configuration file.
Just Enough Lua to Be Productive in Hammerspoon, Part 2
November 1, 2017
In this second article of the "Just Enough Lua" series, we dive into Lua's types and data structures.
Just Enough Lua to Be Productive in Hammerspoon, Part 1
October 21, 2017
Hammerspoon's configuration files are written in Lua, so a basic knowledge of the language is very useful to be an effective user of Hammerspoon. In this two-part article I will show you the basics of Lua so you can read and write Hammerspoon configuration. Along the way you will discover that Lua is a surprisingly powerful language.
Fixing the Outlook-to-OmniFocus Script
September 11, 2017
Here’s how to fix the breakage caused by one of the recent updates to Microsoft Outlook in the Outlook-to-OmniFocus AppleScript included with my SendToOmniFocus spoon.
Using Spoons in Hammerspoon
September 1, 2017
In this second article about Hammerspoon, we look into _Spoons_, modules written in Lua which can be easily installed and loaded into Hammerspoon to provide ready-to-use functionality. Spoons provide a predefined API to configure and use them. They are also a good way to share your own work with other users.
Getting Started With Hammerspoon
August 21, 2017
This is the first installment of a series of posts about Hammerspoon, a staggeringly powerful automation utility which gives you an amazing degree of control over your Mac, allowing you to automate and control almost anything. In the word of Hammerspoon's motto: _Making the runtime, funtime_.