https://github.com/komarserjio/notejam
Supported frameworks
In progress
- Javascript (node.js)
- Express
- Python
- web2py
- PHP
- CakePHP
- CodeIgniter
https://github.com/komarserjio/notejam
Supported frameworks
In progress
- Javascript (node.js)
- Express
- Python
- web2py
- PHP
- CakePHP
- CodeIgniter
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.
Puppet, Chef, Salt, & Ansible are mostly overkill for the basic server orchestration tasks I have to do, so I will take a look at this.
http://www.runtime-era.com/2014/04/dryer-ruby-class-definitions-w-struct.html
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 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.”
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.