...from Spreewald 1.7+) and open VNC for Firefox. Features: It does not freeze your server like when you're using a debugger. (Compared to the Then console step)

...interacting with the server. (Compared to taking screenshots in Capybara) It is a faster alternative for using a @single tag Given there is a cucumber scenario which looks like this...

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

...your SOAP talk. In my case my tests had to talk to the same service the staging servers talk to, so any recorded results would contain some random other data...

...bundle install or gem install. Also see: When upgrading/downgrading RubyGems and Bundler on a server, you must clear bundled gems

...IP. Also manually set its DNS setting so it uses Google public DNS. This serves on the IP 8.8.8.8. On the restarted Ubuntu, connect to the internet with UMTS. Also...

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

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

sudo apt-get install nginx Define your nginx config, e.g. at /etc/nginx/conf.d/reverse-proxy.conf: server { listen 127.0.0.1; location /foo/ { proxy_pass https://www.example.com/; } } Reload your config (if it fails...

...run sudo nginx -t to debug) sudo service nginx reload Done. Visit http://localhost/foo/ and you'll see results of https://www.example.com/. Note that nginx handles HTTPS out of...

...look like this: # Begin Whenever generated tasks for: project100 MAILTO="log@example.com" MAILFROM="cron@example.com" # When server is booting up, ensure Sidekiq is running @reboot start_sidekiq 23 8 * * * baz 30 * * * * plop...

describe '#crawl_messages' do it 'should process messages in batches so the server stays alive' do message = stub message.should_receive(:crawl) Message.should_receive(:find_in_batches).and_yield...

Better do: mysqldump -uroot -p database -r utf8.dump Note that when your MySQL server is not set to UTF-8 you need to do mysqldump --default-character-set=latin1...

tableplus.io

Option 2: Drop each table individually Prefer this for production or staging servers. Permissions may be managed by your operations team, and you do not want to be...

...IP addresses via DHCP correctly (DHCPDiscover), but after the answer of the dnsmasq dhcp server (DHCPOffer) we did not see any further traffic on the host machine. FYI: The instance...

...new differently named directory. Example: git clone git@example.com:repo repo-copy (if your git server is slow you can also just copy the repository rsync -a repo/ repo-copy)

...other test databases. Make sure you create those test databases. If there are further services (e.g. a Redis store), update your configuration for them, too (e.g. use a different Redis...

...using Capistrano, a new folder is created within the releases directory on the remote server containing the application code. By default Capistrano 3 keeps the last 5 releases in case...

...from the form field's ngModel (which means it's not sent to the # server, and old values would not be overwritten). # # This directive makes sure that form fields with...

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

Run script /dev/null to own the shell (more info over at Server Fault); then try screen again. Important: Do not chmod the virtual terminal device like suggested...

...The rails-erb-loader-dependencies comment is only needed to make the webpack-dev-server automatically regenerate the file, when your secrets.yml changes...

developer.mozilla.org

...to offer your users a live preview before they upload the file to the server. HTML5 via jQuery Luckily, HTML5 has simple support for this. Just create an object URL...

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

Ask your operations team to do it. After the update, log onto the server and remove the broken Bundler cache directories like (e. g. shared/bundle)

stackoverflow.com

...per e-mail or Airbrake. Why? Rack has introduced this limit to prevent your server from being DOSed through large form submissions. The default value should also be enough for...

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