...cause Webpacker (the Rails/Webpack integration) to compile your assets. When you run a dev server While development it is recommended to boot a webpack dev server using bin/webpack-dev-server.

...server compiles once when booted. When you access your page on localhost before the initial compilation, the page may load without assets. The dev server will detect any changes to...

makandra dev

...between two runs is fetched and executed immediately. This is especially risky for MCP servers and other dev tools commonly launched via npx @scope/tool. Try to avoid npx, or only...

...Detecting and correcting the image orientation does not require extra hardware on our web servers, it just adds a bit of complexity to the overall pipeline. Approach Tesseract ships with...

makandra dev
github.com

...shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here is how to: General non-printing escape sequences in your prompt...

...a directory index when you access http://yourpage.com/system/attachments. You can configure your apache server to expire file-URLs after some time, so they are only available as long as...

mail-tester.com

...sender address of the application's domain, our operations team will have configured your servers and DNS records to cover the most obvious cases (SPF records, reverse DNS lookup, etc...

...an exception has no mapping, Rails will assume a status code of 500 (internal server error) and will render a red "We're sorry, but something went wrong"

...on all of them. 3) Switch to a persisted storage for sessions on the server Another option to prevent this session replay attack is to switch to persisted storage for...

...creation on deploy before, you can do it like this: Install geordi on your servers. It brings the dumple script. Store the attached db.rake to lib/capistrano/tasks/. Require it by adding...

...which hold time zone information and Time.now only in those that run with the server's time. If you don't, bad things can and will happen. More information can...

...value and produce a lost update. The Postgres-native fix is to compute the increment server-side inside an atomic INSERT...

...ON CONFLICT DO UPDATE statement and gate it by...

...already entered something into the next field before Unpoly updates that field with a server response, discarding your changes. The steps I wait for active ajax requests to complete (if...

...Uses a filename from the response URL if no filename is sent by the server. Does not leave the current page when downloading. Works with both static files and send...

Fails the test if the server doesn't respond with a HTTP 2xx status. Works in CI. Limitations The helper cannot inspect downloads that are triggered or created by...

Note that we prefer not using the Rails asset pipeline at all and serving all assets through Webpack for the sake of consistency. Preparations Remove version locks in Gemfile...

Remove version locks in package.json for webpack and webpack-dev-server Install by calling bundle update webpacker and yarn upgrade Update file contents Work through the Webpacker...

...sufficient context is provided. Example Create notification.resolver.ts: Return the state$ property from the notification service: Use an async resolver; Update overview.component.ts: Replace injected notification service: Use @Input() id: number with...

...pattern more frequently than necessary. With experience, it can fully replace manual edits and serve as a solid foundation for correctly specifying requirements and plans in more advanced AI-based...

...hardcoded asset hosts in webpack, otherwise all chunks would be loaded through the # Capybara server of the first test process. If that test process hasn't launched a Capybara

...Webpacker.compile That's it. Enjoy! 🎉 Similar scenario: running an application with Webpacker on multiple servers. How to serve identical assets from all servers...

github.com

...used as a baseline within research to compare approach to each other. This can serve as a ground for further research into this topic within this problem domain. Implementation

defined by ActionDispatch::ExceptionWrapper.rescue_responses. In the event of an unexpected internal server error, the exception that caused the error will still be raised within the test so...

makandra dev

...IDENTIFIED BY 'some_password'; GRANT REPLICATION SLAVE ON *.* TO 'replicator'@'%'; Adjust MySQL configuration : Edit /etc/mysql/my.cnf: server-id = 1 log_bin = /var/log/mysql/mysql-bin.log replicate-do-db = some_project_production replicate-do-db...

...other_project_production replicate-ignore-db = mysql server-id needs to be unique among all connected master and slave servers. When replicate-do-db is provided only the chosen databases...

makandra dev

...and could use a "quick" transition to give a dynamic feel. Finally, animations that serve to underline some function like a move-to-trash can use the "distinct" duration, which...

We use the whenever gem to automatically update the crontab of the servers we deploy to. By default, whenever will update all servers with a matching role (we use the...

...work with other Linux distros, as long as you are using the Xorg display server. It likely won't work on Wayland. The script assumes that external display order is...

...more processes than just your tests while your test suite is running: The Rails server booted by each test process (in a separate process) The Chrome browser started by each...

Your IDE Your window environment Background services Fixing flaky tests Running fewer test processes is only a bandaid. Your test suite has issues with uncontrolled timing issues. Reducing...

...be evaluated when running middleman for the specific environment. Default for the local dev server is development, default for building is production. Activate an environment with -e staging or --environment...

...be "built", too. However, testing in :build mode oddly # takes thrice as long as :server: mode, so you might try and skip this # setting for faster test runs. config[:mode...