Bootstrap WISWYG

Bootstrap WISWYG

Tiny bootstrap-compatible WISWYG rich text editor, based on browser execCommand, built originally for MindMup. Here are the key features:

  • Automatically binds standard hotkeys for common operations on Mac and Windows
  • Drag and drop files to insert images, support image upload (also taking photos on mobile devices)
  • Allows a custom built toolbar, no magic markup generators, enabling the web site to use all the goodness of Bootstrap, Font Awesome and so on…
  • Does not force any styling – it’s all up to you
  • Uses standard browser features, no magic non-standard code, toolbar and keyboard configurable to execute any supportedbrowser command
  • Does not create a separate frame, backup text areas etc – instead keeps it simple and runs everything inline in a DIV
  • (Optionally) cleans up trailing whitespace and empty divs and spans
  • Requires a modern browser (tested in Chrome 26, Firefox 19, Safari 6)
  • Supports mobile devices (tested on IOS 6 Ipad/Iphone and Android 4.1.1 Chrome)

Apache2 vs Nginx for PHP application

Apache2 vs Nginx for PHP application

The conclusion is that it doesn’t matter which server you are going to chose. The real performance wins are purely on PHP side. Using an accelerator with caching can multiply the number of requests your infrastructure can maintain.

The biggest merge ever

I am having a really proud and exciting moment at work right now.  We’ve just deployed the biggest merge ever.  I can’t really share enough details to provide you with the context (NDA and all), but here is a GitHub screenshot that gives you an idea.

the biggest merge ever

If you are not familiar with GitHub and don’t know how to read this, here is a summary:

  • 1,633 individual commits
  • 2,696 modified files
  • 424,292 lines of code added
  • 82 lines of code removed
  • work done by 4 people

And it all went so smooth, that we even deployed it on Friday, without a single second of downtime.  Awesomeness!

Update (April 15, 2013): And just when I thought that that was the biggest merge ever, we did one more the next working day.  Have a look!

the biggest merge ever again