...attribute has the same effect as a Content-Disposition: attachment header sent by the server. You can also tell Unpoly to treat that one link as a vanilla Javascript link...

makandra dev

You'll need openssl-3 or newer for servers running 22.04 Ruby version 3.1 uses by default the gem openssl-3.0.0. This can cause issues with the gem net-ssh...

...this can cause an error while deploying an application with capistrano: could not verify server signature (SSHKit::Runner::ExecuteError) or Ed25519::VerifyError: signature verification failed! As temporary workaround add the...

...file attachments. If you need to move the files from local storage (i.e., your servers' harddisk) to Amazon S3, you can simply change settings for Paperclip to use the S3...

stackoverflow.com

...don't need to, but when you want to see which queries your MySQL server currently needs to handle (and if there are locks, etc), you could say SHOW PROCESSLIST...

If your application raises an error like ... Couldn't connect to the Solr server at http://127.0.0.1:8983/solr. 500 "Lock_obtain_timed_out_SimpleFSLock(...)" ... and if your jetty.request.log contains entries...

...sudo ip route del default sudo ip route add default via Add another DNS server to /etc/resolv.conf, for example

makandra dev

Ruby 1.9.2 is very slow when loading files, especially starting Rails servers or running specs takes forever. Do yourself a favor and upgrade to...

edgeapi.rubyonrails.org

This will not work: params[:post].permit(:subject, :body, :author_ids) In your server log you will see a line: Unpermitted parameters: author_ids You need to say this...

"publish_date": { "gte": "2015-01-01" } } } ] } } } Cluster / Nodes / Shards Node ist ein Elasticsearch-Server auf einer Maschine Cluster ist zusammenschluss von Nodes (analog zu einer verteilten SQL Datenbank)

xip.io

...on. You can use these domains to access virtual hosts on your development web server from devices on your local network, like iPads, iPhones, and other computers...

Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to 1024 Listening on localhost:36309, CTRL+C to stop

...rationale behind this is: Facebook, Google, Twitter, and similar will send information to their servers even when users do not interact with their buttons. This implies tracking the user just...

makandra dev
github.com

...can be chosen via command line switches, e.g. for cleaning up multiple local database server installations in batches. Derivative database names like foo_development and foo_test4 for foo are...

...more and more memory and prevent the garbage collector from reclaiming memory. This userRepository service caches users once they were loaded from a remote server and, hence, leaks memory:

makandra Operations

...how many reads hit the cache (blks_hit) and how many had to be served FROM disk (blks_read) SELECT schemaname,relname,last_autovacuum,last_autoanalyze,autovacuum_count,autoanalyze_count...

makandra dev

...installed and sudo finds your gems setup chef-client: follow this guide setup chef-server: follow this guide #Important execute all commands from within your chef-repo directory, else you...

...example the instance use only 20GB disk space but the disk file on the server has 100GB (or even more). To resize the disk file do the following:

...t successfully execute a simple iptables command and got this error on an Ubuntu server: # /sbin/iptables -I INPUT .... iptables: No chain/target/match by that name The cause was that two modules...

After starting the Rails server in a freshly generated Rails 3.1 project you could see an error message such as /usr/lib/ruby/gems/1.8/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime...

makandra dev

...project_type = :rails generated_images_dir = 'app/assets/images/sprites' Add app/assets/images/sprites to your .gitignore. Restart your server. Move the two images into a new folder app/assets/images/layout/buttons. Change your sass stylesheet to:

...need to index well under 5 million words, FULLTEXT will be fast enough to serve your searches until the project reaches end-of-life. But if you expect your data...

"private": true, "dependencies": { "@rails/webpacker": "^3.0.2", "bought-font": "file:vendor/asset-libs/bought-font" }, "devDependencies": { "webpack-dev-server": "^2.9.5" } } Note the path's prefix file: in the dependency of 'bought-font', which tells...

...value of group_concat_max_len to an insanely high value on every database server your application runs on. Like MAX or COUNT, GROUP_CONCAT is a MySQL aggregation function...

...your normal email account, you might be out of luck: For some reason, Exchange servers will simply throw away the plaintext part of your mail, and just save the html...