...to slow or offline, you can also read a gem documentation offline. Start a server with gem server and go to http://0.0.0.0:8808/. Here you will find a list...

I had trouble serving an MP4 video to my iPad. Although the video complied with all the specs (H.264 codec, up to 1080p, 30 FPS) I always got this error...

...This video could not be loaded, either because the server or network failed or because the format is not supported: http://10.40.0.177:3000/video.mp4 After spending a lot of time fighting...

...malicious users can upload executables (like an .exe or .scr file) and use your server to distribute it. However, modern operating systems usually warn before executing files that were downloaded...

...be spoofed. When the user later accesses a file upload via an URL, the server will choose a Content-Type header based on the file's extension, regardless of what...

...checks in Thunderbird. Open Edit -> Account settings and select your incoming mail account. Under Server settings uncheck "Check for new messages on startup" and "Check for new messages every X...

Under Advanced, uncheck "Use IDLE command if the server supports it...

makandra dev
github.com

...s -> staging, m -> makandra), bundle if needed, check the selected stage exists Improve geordi server: Takes port as argument (e.g. geordi ser 3001), option --public (-P) starts the server with...

...cucumber, rspec), as rake usually runs all employed tests Rename geordi devserver to geordi server (the former is still supported) Improved command descriptions and README Fix geordi firefox --setup: Fail...

...application you often need to move data between the client (HTML, Javascript) and the server (Ruby, Rails). Step 1: Moving HTML snippets Add a find-as-you-type search to...

In this step, the rendering of the search results should happen on the server. So the client is pulling snippets of HTML from the server. For the part of...

...what happens: For drivers like Selenium, Capybara will boot up a Thin or Webrick server in a separate thread. It then makes a GET request to /__identify__ to see if...

...the server is ready to accept requests. Since you don't have a route that responds to /__identify, Capybara will wrap your Rails app in a middleware that responds to...

developers.google.com

The attached article outlines considerations when choosing client-side vs. server-side implementations of the Google Geocoding APIs (geocoder, directions, not maps drawing). The main points are:

...client side the quota is per-client, so basically unlimited When implementing APIs on the server-side, be aware that quota is measured by IP. When hosting in the cloud...

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

...Problem can occur when using the integrated Ruby Mine Debugger: Try to restart the server without debugging mode

This tool is used on our application servers (and called when deploying) but it also works locally. Just call dumple development from your project directory to dump your database.

...seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying to. Simply add set :deploy_via, :remote_cache set :copy_exclude, [ '.git...

Host: www.example.com The application/xml accept header might lead to unexpected results on your server. You can force REST Client to ask the server for default text/html that way: RestClient.get...

If you want to make your Rails application be capable of sending SMTP emails, check out the action mailer configuration...

...language when they visit the root path. Here is how to do it without a server-side component (like a Rails application). Use JavaScript's navigator.language (real browsers and IE11...

bugs.launchpad.net

...and could be very dangerous (e.g. if you're logged in to a production server in a terminal that is on another workspace). To prevent the broadcast from affecting other...

...windows, go to Preferences and disable DBus server...

Connect to your memcached host. (AWS elasticache is memcached) telnet foohost23.cs2631.0001.euw1.cache.amazonaws.com 11211 Once you're connected, find out which 'slabs...

...distinct version of RubyGems to be installed to replicate the same behavior across multiple servers. Usually would do this to update your RubyGems, but this always takes you to the...

...old to match the format created by pg_dump. The version of the PostgreSQL server doesn't matter here. For example, the official Ubuntu 20.04 sources include only PostgreSQL...

...workaround below. Background Creating and restoring a database dump has four components: the source server, pg_dump, the target server, and pg_restore. pg_dump will create a dump, and...

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

...HTTP request for every asset and block other assets from being loaded until the server responds with 304 not modified. This will slow down your page loading considerably, and cause...

...unnecessary load on your servers. This card describes how you can setup your application in a way that browsers can properly cache your assets. The caching conundrum A caching solution...

...response includes caching headers like Expires or Cache-Control, their validity depends on the server's Date header if present. Otherwise, the browser uses its local time. This can lead...

...its own local system time. This subtle behavior ensures that cookies remain consistent with server time, even if the client’s clock is incorrect. However, this can lead to unexpected...

makandra Operations

Sending a testmail from a server with a configured exim is easy as pie. From your usershell: tell exim that we want to send a mail to an recipient and...

github.com

...added to your project and your Apache2/Passenger only replies with an Error 500 (Internal Server Error) you won't get any love from both application and Apache logs.

...there. It should also fail but you will most likely see this error: Internal Server Error undefined method `new' for "Rack::Bug":String While the following is (for some reason...