Mina: Ruby deployer & automation tool designed for speed

Mina Logo

http://nadarei.co/mina/ (via)


Mina works really fast because it’s a deploy Bash script generator. It generates an entire procedure as a Bash script and runs it remotely in the server.

Compare this to the likes of Vlad or Capistrano, where each command is ran separately on their own SSH sessions. Mina only creates one SSH session per deploy, minimizing the SSH connection overhead.

Article: DRYer Ruby Class Definitions w/ Struct

Ruby logo

http://www.runtime-era.com/2014/04/dryer-ruby-class-definitions-w-struct.html

From the article:

Many web developers subscribe to a principle know as the DRY principle. It translates to Don’t Repeat Yourself. I try my best to adhere to the DRY principle, but sometimes I repeat snippets of code here and there, especially if the footprint is small. Well, today, a coworker showed me a clever way to DRY up some of my “small footprint” repeated code. It’s probably some age-old Ruby technique, but I just discovered it today, and I’m really excited about it! So, I’ll share it.

pjax: Load HTML from server into current page without a full page load, written in Ruby

http://pjax.heroku.com/

From the pjax website:

pjax loads html from your server into the current page without a full page load. It’s ajax with real permalinks, page titles, and a working back button that fully degrades.

The idea is you can’t tell the difference between pjax page loads and normal page loads. On complicated sites, browsing just “feels faster.”

Github Repo

Jekyll: Blog-aware static website generator written in Ruby

Jekyll logo

I’ll probably manage my next blog using a static site generator, and Jekyll is the current front-runner. The Jekyll documentation is quite good.

  • Supports Markdown and Textile markup
  • Uses the Liquid templating engine
  • Blog aware: Supports permalinks, categories, pages, posts, & custom layouts
  • Can import from CSV, Drupal 6, Drupal 7, Enki, Ghost, Google Reader, Joomla, Jrnl, Marley, Mephisto, Movable Type, Posterous, RSS, S9Y, Textpattern, Tumblr, Typo, WordPress, and WordPress.com
  • Free hosting with Github Pages
  • Comes with a built-in development server for local preview