developer.rackspace.com

...connection usually takes only a few seconds, but if you’re connecting to a server multiple times in succession the overhead starts to add up. If you do a lot...

...of Git pushing and pulling or frequently need to SSH to a dev server, you’ve probably felt the pain of waiting for SSH to connect so you can get...

You need to install the following packages before you can build the Paperclip gem: sudo apt-get install imagemagick librmagick...

makandra dev
rawgit.com

RawGit serves raw files directly from GitHub with proper Content-Type headers, for CDN-like purposes. Note that they don't offer any uptime guarantee. You probably don't want...

...to use it in production, but it may serve you well for some testing/prototyping/etc...

You won't usually have to do this. It's OK to route all formats to a controller, and let...

...readonly attribute. Be aware of the differences: disabled fields don’t post to the server don’t get focus are skipped while tab navigation available for button, fieldset, input, select...

...Firefox cancels any JavaScript events at a fieldset[disabled] readonly fields post to the server get focus are included while tab navigation only available for input[type=text], textarea

...Queue Adapters by Environment Environment Adapter Jobs Run In Worker Needed? development :async Rails server process No test :test Not executed (stored) No production :solid_queue Separate worker

...Jobs execute immediately in a background thread within bin/rails s and write to the server logs. bin/jobs does nothing in development, jobs already run in-process via :async.

...chrome queue limited to 1 for e.g. PDF processing to not overload the application server an api queue, that limits a queue to 2 to protect the API server from...

...too many requests in parallel Example: Sidekiq.configure_server do |config| # Edits the default capsule config.queues = %w[critical default low] config.concurrency = 5 # Define a new capsule which processes jobs from the...

...at first, but is required for Time.current to work properly. If possible, put your server into local time zone, since Ruby's Time will use that. In the example above...

Time.now will be your local time (or the local time of your server) >> Project.create! >> Project.connection.select_one('SELECT created_at FROM projects') => {"created_at...

makandra dev
filippo.io

Enter the hostname of a server to test it for CVE...

browserstack.com

Local testing allows you to test your private and internal servers using the BrowserStack cloud, which has support for firewalls, proxies and Active Directory...

nginx.org

...proxy_hide_header in different contexts: Syntax: proxy_hide_header field; Default: — Context: http, server, location Source But if you use it in multiple contexts only the "lowest" occurrences are...

So if you specify it in the server and location context (even if you hide different header) only the proxy_hide_header in the location block are used.

toptal.com

...It covers a lot of ground, including routing and data transfer between client and server...

kadin.sdf-us.org

...bar, etc.) files created by (badly-behaved) Mac OS X systems on non-AFP server volumes...

teddevito.com

...them suitable for in-browser coding of languages like HTML, CSS, Javascript, or your favorite server-side language. The idea is to be able to use a press of the...

If you use Nginx with SSL and get an intermediate certificate with your certificate you have to do this:

...affected table. Warning pg_repack writes a copy of the whole table. The database server needs to have at least ($size_of_biggest_table * 2) + some buffer free disk space...

Install pg_repack, e.g. for Ubuntu install the package according to your PostgreSQL Server version. There is no need to restart the PostgreSQL Server. $ sudo apt-get install postgresql...

blog.phusion.nl

Interesting approach to caching responses directly in the HTTP server, based on the value of an individual cookie. No word yet how to force cache-invalidation...

youtube.com

...fast without using a lot of Javascript (most of Basecamp still lives on the server). The two tricks they used are PJAX and Russian Doll Caching...

whatsmydns.net

whatsmydns.net is an online service that allows you to instantly perform a DNS lookup to check a hostnames current IP Address and other DNS information against a selection of random...

...name servers around the world. This is especially useful to check the current state of DNS propagation after making changes to your domains zones...

...if you do not know. How are cookies transferred between your browser and the server? Open the development tools in your browser for this page. Can you find the cookies...

...network tab, can you see how the cookies are transferred to or from the server? Can you log yourself out by manipulating a cookie? Can you log yourself back in...

robots.thoughtbot.com

One of many useful techniques when your test suite needs to talk to a remote API.

...the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.35 MySQL Community Server (GPL) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and...

github.com

...config the HTML screenshot will reference assets in the same location where your development server usually provides them. Make sure to add this to config/environments/test.rb # Do not generate digests for...

sysadmincasts.com

Like Railscasts or Ruby Tapas, but for Linux.