One day our team has discussion about how to estimate amount of source code for one of our projects. First idea was just calculate total files size, but... A whole bunch of questions arised immediately: there are a lot of vendor code in project, there are binary files, there are images, generated code, multi-byte character encodings and so on.
Our goal was to understand just how many pure code was written by our team. And we want to know characters, lines and printed-pages estimate counts for projects. So this pet-project was born as an answer to this questions.
Long story short: https://packagist.org/packages/mitoteam/jpgraph.
We use JpGraph library in several projects. It is looks like abandoned project: almost no updates from maintainers, website and documentation is not updated either. We tried to look for alternative... and there are none! All other charts libraries are either paid ones or have much less functionality. So we stayed with JpGraph.
"The shoemaker’s child always goes barefoot"... Our site was created under Drupal 6 CMS in 2008. It was almost frozen since 2012. It took several years to finally find a spare time to migrate out site to modern Drupal 9 CMS.
For now we just moved all important content from old site and did some basic setup. There is a lot of work ahead. But at least is is possible now to add information about company, projects, team, skills and so on. So stay tuned, we'll do a lot of updates in near future.
There are also couple ideas about technical articles for site.
Several days ago I needed to add an ability to add "spoilers" to comments and nodes at VELOBY.NET web site (Minsk's cycling community). Spoiler is a part of text, that is hidden from viewing by default. It expands by click showing previously hidden content to users.
I've googled nice Collapse Text module for Drupal. Installed it, enabled in input format settings. Everything is fine with it.
We use CKEditor as wysiwyg-editor on VELOBY.NET. And I wanted to add a button to its toolbar, to be able to insert [collapsed]...[/collapsed] meta tags before and after text, selected in editor. Googling almost an hour gave me nothing. So I decided to write own plugin for CKEditor with this functionality.
This small article is about creating this plugin.
We are glad to introduce you our new project: MT Browser Switcher!
This small utility allows you to assign URLs to several different browsers so different websites can be opened with different browsers. This can be useful if you use some browser for everyday surfing but prefer another browser for particular websites. For example you use Opera for everyday surfing, but you prefer to work with your GMail account using Google Chrome since Google services work much more faster and more stable with Google's native browser.