makandra dev

...MKV container, H.264 codec, "0" constant rate factor and "veryslow" preset results in the best video quality. Peek Note The original peek project has been deprecated. If you are experiencing...

...feature-set to the original peek. If you don't insist on high the best video and you don't need audio recording, you could also use Peek, which is...

When you have files in your .gitignore they won't be considered for changes, but still you might want to...

...your code a good manner, it can affect readability in a terrible way. The better option is to bundle your local font into an npm package and to add a...

travisonrails.com

You set a flash message and it shows up as it should. However, it is displayed again the next time...

Add deprecation warnings and their solution or link to available solutions. Global access to Rake DSL methods is deprecated. Please...

makandra dev

Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...

makandra dev

...I want to point out that it has clear strengths, too. Pro Simple and beautiful interface. Outstandingly organized source code. Have never seen a JS library that was this structured...

...name ( by ) until it starts replacing into tags. Seriously. This is just horribly broken beyond repairs, so we do it ourselves. While the documentation states that allowedTags is processed upon...

This step will pass if the specified select is sorted. Then /^the "(.*?)" select should be sorted$/ do |label, negate|

If your external displays not switching on or showing a weird behavior (for e.g. all displays getting the same configuration all the time) you can fix it by switching off...

...in the first step. Afterwards you can apply your whole configuration via xrandr. This behavior could be a bug in the kernel and may be fixed in linux 4.8.

Instead of using this hack you might want to use MariaDB 10.x which can work with both old and...

bugs.ruby-lang.org

TL;DR Under certain circumstances, dynamically defined symbols may break keyword arguments in Ruby 2.2. This was fixed in Ruby...

tl;dr You can use attribute? as shorthanded version of attribute.present?, except for numeric attributes and associations. Technical Details

makandra dev

Never use raise_error without specifying the Error you expect. expect { do_a_lot_of_complicated_stuff }.to raise_error...

This should be fixed in the latest LTS-branches of our mysql2 fork, 0.2.x-lts and 0.3.x-lts...

...failed apparently. Here is a traceroute to 1.2.3.4: HOST: foo.example.com Loss% Snt Last Avg Best Wrst StDev...

devdocs.io

All browsers + IE9 know the CSS :empty selector. It lets you hide an element when it has no content, i.e...

...after hooks. But, just like the default task, it calls update_code at the beginning, symlink to link the "current" path and restart once all done. -- Those are the hooks...

...first update the code and then migrate -- making the deploy:update_code hook the better choice...

makandra dev
github.com

FactoryBot allows to create traits from Enums since version 6.0.0 The automatic definition of traits for Active Record enum attributes...

Starting with Ruby 2.0 you can define methods with keyword arguments. In 2.1+ required keyword arguments can be defined by...

If you want to make your Rails application be capable of sending SMTP emails, check out the action mailer configuration...

ariejan.net

...to choose smaller column sizes for performance (it won't matter until your project becomes big, so don't worry about it for now). Integer column lengths, mediumint, bigint, and...

...use this kind of call if your code is run by a background job. Better, don't use it at all. Exception Notifier 2.6 and 3 ExceptionNotifier::Notifier.background_exception_notification...

When you try to remove a non-existing index using remove_index, the migration will incorrectly pass without an error...

...ES5. This means that examples for transpiled results or the "Try CoffeeScript" web console behave differently, and lookup up stuff when working on older projects may be somewhat hard.