To capture and log Sentry events locally during development without sending to the server, add this to config/initializers/sentry.rb inside the Sentry.init block: if Rails.env.development? # Use dummy transport to prevent...
...appendix below for available event attributes end DummyTransport prevents actual HTTP transmission to Sentry servers; events are captured locally but not sent background_worker_threads = 0 to disable async processing...
openssl req -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout server.key -out server.crt Explanation req -new Create a new request ... -newkey ... using a new key ...
...monitored. We are experts in Linux and AWS environments, as well as self-hosted server infrastructures. Have a look at makandra operations. Trainee program and makandra curriculum In makandra cards...
...that can help both newcomers and experienced developers in web development and DevOps. It serves as practical support for anyone who wants to expand their technical skills or anyone who...
...response in form round trips, since the id can not be assigned by the server while it may be outputting Unpermitted parameter: :id within the console. You are not setting...
When requests arrive at the application servers simultaneously, weird things can happen. Sometimes, this can also happen if a user double-clicks on a button, for example. This often leads...
...Protokoll baut es auf, auf welchem Port läuft es? Was ist OpenSSH? Was ist ein Server-Fingerprint und wie sehen Fehler beim Abgleich aus? Was ist public key-Authentfizierung, wie...
...konfiguriert man es am Server, wie hinterlegt man öffentliche Schlüssel für Benutzer? Was ist ein Bastion- oder Jump-Host und warum verwendet man das? Wie funktionieren scp und rsync?
...for the given locale. Note that Hyphenopoly is primarily a NodeJS module and targeted at server-side hyphenation, but it can be configured for the client-side as well.
You might use screen or tmux to run a temporary command on a server which continues to run after the SSH session is closed. Consider systemd-run as alternative. It...
...will turn every command in a systemd service unit: # Run `openssl speed` as unit run-benchmark.service $ sudo systemd-run --unit=run-benchmark openssl speed # Query the current status $ systemctl status run-benchmark.service...
First we export the checks on the nodes we want to monitor: @@nagios_service { “check_unicorns-${::hostname}”: host_name => $::hostname, service_description => ‘Unicorn Status’, check_command => ‘check_unicorn-${::hostname...
...Then we realize the resources on the Nagios server Nagios_service <<| |>> Now it is quite easy to create new monitoring checks with Puppet. With the ease of creating monitoring checks...
...font files, even unneeded ones, but that consumes only disk space on your application servers. Updating to the latest version of a font is trivial. Yes, fonts are updated, occasionally...
...seen cases in production where such queries consume GBs of memory bringing down our servers. The solution Just use .preload instead. Rails will use separate queries to preload the data...
We’ve been working on one of our first Angular projects with a Rails backend. It’s been a great...
A small library to provide the Rails I18n translations in Javascript clients.
Integrity is the angel watching over your shoulder while you code. As soon as you push your commits, it builds...
...origin requests. It defines under which circumstances a cookie should be sent to the server, putting cookies into three different classes: SameSite=None Send the cookie whenever a request is...
...a very narrow scope Has no separate build process in development. Instead the Rails server directly compiles the asset whenever it renders a javascript_tag, stylesheet_tag or image_tag...
...example project and resources below: What "packs" are How to use the webpack dev server How to add and remove npm packages with yarn How import and export of relative...
...BY c.relpages DESC; This requires superuser permissions to install the amcheck extension to the server. If you're a makandra customer, we've already added this extension for you.
...Test All Indexes In All Databases? If you have admin permissions on your database servers, you can use this script to check all databases on your server: #!/usr/bin/env bash
...good thing. It's possible to configure this requirement at the web- or proxy server level, where nginx or apache will just redirect every request on http to https. Some...
...application directly on the VM it's running and usually it's the proxy server or webserver that does handles SSL, the port where the application is running is often...
Getting an entire test suite green can be a tedious task which involves frequent switches between the CLI that is...
...Eventually you will want want the same detection logic to be available on both server and client side. This card shows how to get a Ruby method touch_device? for...
...code, it can just merge all files together. You may need to restart your server if you add files to config/locale. Using subfolders You can also use subfolders, but then...
...the xlog.db file? The file contains metadata about your wal archive on the barman server. It's updated when new WAL data arrives or when barman deletes outdated WAL data...
...use to describe nontrivial migrations in Rails / ActiveRecord. Note that the techniques below should serve you well for tables with many thousand rows. Once your database tables grows to millions...