Fullcalendar.io for Vue: No more custom scripts

Few years, ago, I had to dance around fullcalendar.io library to get it working nicely in VueJS framework. Some wrappers, custom components and lots of external jQuery code to make it work. No more of it! Now, cakephp-[calendar](https://github.com/QoboLtd/cakephp-calendar/) can be re-written using fullcalendar-vue package. And it sound like a perfect weekend task: Getting rid of custom event treating RFC all the way with Recurrences Clean State Management and stand-alone JS npm package (instead of all-in-one solution) Congratulations to developers from fullcalendar community, who did a great job moving away to TypeScript, and making the codebase more incorporating with modern frameworks like Vue/React/Angular....

June 21, 2019 · 1 min · anvyst

Psalm - static analysis of PHP

Once every blue moon, I dive into Github repositories to check for something useful for my everyday routines. This time, I stumbled upon Psalm from Vimeo. Psalm is designed to understand that complexity, allowing it to quickly find common programmer errors like null references and misspelled variable names. vimeo Psalm documentation I’ve been using phpstan for basic code static analysis for a while. I was running it with various rule levels, depending on the complexity of the codebase....

October 9, 2018 · 1 min · anvyst

Chronos: CakePHP replacement for carbon

Chronos is a drop-in library replacement for nesbot/carbon. It provides immutable date/datetime objects. Immutable objects help us to ensure, that DateTime objects aren’t accidentally modified. <?php<br>require 'vendor/autoload.php';<br>use Cake\Chronos\Chronos;<br>printf("Now: %s", Chronos::now());<br>?>

August 23, 2016 · 1 min · anvyst

WHMCS Addons: Domain Blocker

After few trials, I finally decided to publish some information on a small add-on I’ve been working on a month ago for WHMCS platform. Domain Blocker add-on emerged from attempts of cutting down the number of phishing domain registrations, that’s been received on daily basis for the last couple of months. It uses CartValidation hooks that prevent any domain registrations that use “offensive”/“blacklisted” words, and tiny eye-candy for the backend with Twitter Bootstrap v2....

February 21, 2015 · 1 min · anvyst

Cassandra at Github: integration

John Nunemaker on implementation of Analytics at Github using Cassandra: The collector became a Rails app with one purpose - to receive events and queue them in Kestrel, which I used on Gauges. The processor pulled from the queue and stored the raw data in Cassandra. The other component of processing (Hadoop) then iterated the raw data on intervals and turned it into aggregated “indexes”. The reporter became a Rails app with one purpose as well, to receive API requests from github....

September 29, 2014 · 1 min · anvyst

GitHub: closing issues via commit messages

If anyone missed it (like I did), it’s worth noting due to my ultimate laziness: When you enter “Fixes #45” into a commit message, issue #45 is closed once that commit is merged into your default branch. If the bug isn’t fixed in your default branch, the issue remains open. Once the commit with the fix is merged into your default branch, the issue is automatically closed. If you make a commit in a non-default branch with the “Fixes #33” syntax, the issue is referenced with a tooltip....

August 6, 2014 · 1 min · anvyst

Gittip: appreciate those who motivates you

Somehow, this project passed me, even though the idea is quite good! Certainly, you won’t make your living with it (but who knows!), but it might show you (and others) whether you work is appreciated.

August 6, 2014 · 1 min · anvyst

Guess when I took vacations this year?

I’d say, Sundays and summer vacation - were the laziest days. Not a single commit was given on those days!:)

November 14, 2013 · 1 min · anvyst

Githubs, emails, inboxes

One thing I find a bit annoying (annoying?), is participating in different GitHub projects which are mostly developed overseas. Every morning you get bunch of emails you go through on topics already discussed and fixed. Is there a timezone settings for email notifications for GitHub, or should I simply change a place of living to comply with their timezone?

November 14, 2013 · 1 min · anvyst