↓ Skip to main content
  1. Tags/

Hammerspoon

Automating Leanpub book publishing with Hammerspoon and CircleCI

Automating Leanpub book publishing with Hammerspoon and CircleCI

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.
Just Enough Lua to Be Productive in Hammerspoon, Part 1

Just Enough Lua to Be Productive in Hammerspoon, Part 1

·1324 words·7 mins
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.
Using Spoons in Hammerspoon

Using Spoons in Hammerspoon

·2016 words·10 mins
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

Getting Started With Hammerspoon

·1545 words·8 mins
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.