Gardening, stamina and Joshua’s chalk drawings

Our back garden in a state of order
Our back garden in a state of order

One of the delights of this past weekend — apart from almost seeing the blood moon eclipse last night (there was too much cloud cover at 03:47 when I peered out of my south-westwards facing study window) — was getting the back garden tidied up.

Of course, the front garden still looks like a jungle. (Sorry neighbours!) But the back garden looks splendid and neat. The secret to tidy-looking gardens, I believe, is simply in defining straight lines and borders. It’s a bit like web design. But without the benefits of flexbox.

What is frustrating, though, is that my stamina still hasn’t returned after last year’s headache.

It’s been over a year now since I was in hospital. When I got out my GP said that I shouldn’t expect to begin to get my energy back until January or February; it was more like April when I began to feel that I was making some improvement.

But then in July the headaches began again. I know I was pushing myself too hard: cycling every couple of days, staying up too late, and I need to get my eyes tested again (appointment booked for Monday).

Time to reel myself in a bit and be a bit more sensible and disciplined.

Still, in the meantime at least the shed is tidy. And who doesn’t love a tidy potting shed?

Look! You can now walk in through the door and not tread on something.
Look! You can now walk in through the door and not tread on something.

And I think I may have discovered that Joshua is the secret identity of Banksie.

I love this cheerful drawing of a man and... a thing.
I love this cheerful drawing of a man and… a thing.

Seemingly to the right of the cheerful man is his thought bubble. I need to ask Joshua again what he’s thinking. Because I seem to recall that it was something random. Like a pie.

Bulk install packages in Sublime Text

A couple of weeks ago I was setting up a new laptop and kept putting off installing Sublime Text (my code editor of choice) because I knew that it would also involve about fifteen minutes patiently working through my curated list of packages (add-ons / plugins), installing each one by one.

There’s got to be a simpler way, I suddenly thought. Sublime Text saves me so much time doing other stuff automatically, surely they’ve thought about this too.

I was right.

In fact, front-end developer extraordinaire Paul Irish asked this very question back in 2012.

How do it it

So, here is how to do it:

  1. Install Sublime Text (2 or 3).
  2. Install Package Control.
  3. Create a JSON file listing the "installed_packages" you want (see below) and save it to Packages/User/Package Control.sublime-settings.
  4. Restart Sublime Text and allow it to pick up and install the new packages.

Just be aware of any packages that need dependences that Sublime Text cannot install, for example Git or Zeal (offline documentation browser).

Save locations

You can easily find the save location by going to Preferences > Browse Packages.

On Windows the save location is:
C:\Users\[YOUR USERNAME]\AppData\Roaming\Sublime Text 3\Packages\User

Package Control.sublime-settings

This is my installed packages list from work and home; I keep a copy in Dropbox so that I can keep the two in sync.

The names listed are exactly as they are listed in the Package Control: List Packages list.

{
    "installed_packages": [
        "Alignment",
        "AutoFileName",
        "Autoprefixer",
        "Bootstrap 3 Snippets",
        "BracketHighlighter",
        "Color Highlighter",
        "CSS Color Converter",
        "CSScomb",
        "DevDocs",
        "Emmet",
        "GitGutter",
        "Handlebars",
        "jQuery",
        "JSHint Gutter",
        "Markdown Preview",
        "MarkdownEditing",
        "MarkdownTOC",
        "Package Control",
        "Placeholders",
        "Sass",
        "Search WordPress Codex or QueryPosts",
        "SideBarEnhancements",
        "Status Bar File Size",
        "SyncedSideBar",
        "Tag",
        "Theme - Minimal",
        "TodoReview",
        "Tomorrow Color Schemes",
        "View In Browser",
        "WordPress",
        "WordPress Developer Resources",
        "WordPress Generate Salts",
        "Zeal"
    ]
}

 

Needless to say, doing that made installing Sublime Text so much easier and quicker.

I will try to keep this list updated, as much for my own benefit as any one else’s.

GitHub repository

I have stored my most up-to-date settings in a GitHub repository: sublime-text-settings.