...to remove an element from it, after you've successfully deleted it from the server. The README suggests to say something like $scope.users = _.without($scope.users, user). While that works at...

linuxsa.org.au

...up little more than one extra line in the output of ps. On a server I want to get informed if there are zombie processes and track them with a...

...two choices, fix it or kill it. In this case it's no critical service and I can just restart it...

makandra dev
select2.org

...format and extend the input with ajax options. You should paginate your results on server side to reduce the load. Select2 supports an "infinite scroll" feature, which will be enabled...

...DETAIL: There is 1 other session using the database. This could be the rails server, rubymine and many more. Beside terminating the session connection manually you can also find out...

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...

Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the site you're about to test is placed behind a...

"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)

...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...

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 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...