I highly recommend that you make use of RubyMine's feature to pin tabs. When you pin all "important" files...

wiki.github.com

The following example is from the Cucumber wiki: Given a blog post named "Random" with Markdown body """ Some Title, Eh...

tl;dr: Ruby's Bundler environment is passed on to system calls, which may not be what you may want...

makandra dev
github.com

Sometimes you need to run background jobs that you can't make important guarantees about - they may run out of...

benmabey.com

...about the differences between imperative and declarative scenarios. In my opinion, both styles have benefits and should be used appropriately based on the situation. The majority of examples on rspec...

makandra dev
github.com

If you render markdown from user input, an attacker might be able to use this to inject javascript code into...

The ExceptionNotification has plugins that talk to external APIs rather then just sends emails, like microsoft teams or slack. You...

MySQL and MariaDB have an SQL mode setting which changes how MySQL behaves. The SQL mode value is comprised of multiple flags like "STRICT_TRANS_TABLES, NO_ZERO_IN_DATE...

...Each flag activates or disables a particular behavior. The default SQL mode varies widly between versions of MySQL and MariaDB. In general, more recent versions of MySQL and MariaDB have...

lucaguidi.com

...shared and writable by threads. If incorrectly coordinated, those threads can lead to unexpected behaviors...

...element.offsetHeight > 0; Or maybe you'd even like to patch Prototype so it behaves like jQuery: Element.addMethods({ visible: function() { return offsetWidth > 0 && offsetHeight...

tableconvert.com

https://tableconvert.com/ is an online tool to convert tables between different formats (e.g. json, markdown, csv).

In case Ruby does not detected the expected encoding of a file automatically you can specify the known encoding manually...

ImageMagick has a command line tool called identify which can read image metadata: >identify -verbose DSC00136.JPG Image: DSC00136.JPG Format: JPEG...

...You could also use social media buttons, but disable them by default. The rationale behind this is: Facebook, Google, Twitter, and similar will send information to their servers even when...

makandra dev

You need to install the official plugin, it is not bundled with RubyMine by default. Example: Setup a watcher...

If your rails application is unable to send mails, it might be useful to debug your settings using the rails...

makandra dev
semaphoreci.com

...run "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec rails runner 'ScriptRunner.go'" end becomes desc 'Run script' task :script do on primary :app do within current_path do

...user directly as an option to the server directive. Also, the roles syntax has become more ruby'esque, and the first server will by default be the primary one:

We usually generate our commit messages from Pivotal Tracker IDs and titles, like [#15775609] Index view for conflicts

campaignmonitor.com

CSS support in major e-mail clients is horrible. This will give you an overview what you will not be...

makandra dev
select2.org

Select2 comes with AJAX support built in, using jQuery's AJAX methods. ... For remote data sources only, Select2 does not...

stackoverflow.com

TL;DR You shouldn't call $scope.$apply() or $scope.$digest() inside a function that can be invoked by Angular...

This is how you regain disk space from OpenStack instances if you are using kvm and qcow. If your instance...

github.com

...where a Contact record may be associated with a Group record: class Contact < ApplicationRecord belongs_to :group validates_presence_of :name, :street, :city, :email end class Group < ApplicationRecord

gist.github.com

Here is some JavaScript code that allows you to click the screen and get the clicked element's text contents...