I've got often this error on just one server: Err http://de.archive.ubuntu.com precise/universe amd64 Packages 404 Not Found [IP: 141.30.13.20 80] But there was no problem with the network...

...connection or the de.archive.ubuntu.com server. After I deleted the local lists cache with rm -r /var/lib/apt/lists it works again...

dev.to

...takes a significant amount of RAM. It is really ineffective to pay for a server if you need this RAM once a month. Since I don't need to navigate...

edgeapi.rubyonrails.org

This will not work: params[:post].permit(:subject, :body, :author_ids) In your server log you will see a line: Unpermitted parameters: author_ids You need to say this...

makandra dev
github.com

...but instead of worrying about what element on the page to replace, and tailoring the server-side response to fit, we replace the entire body. This means that you get...

...benefits from pjax (no recompiling of the JavaScript or CSS) without having to tailor the server-side response. It just works...

"publish_date": { "gte": "2015-01-01" } } } ] } } } Cluster / Nodes / Shards Node ist ein Elasticsearch-Server auf einer Maschine Cluster ist zusammenschluss von Nodes (analog zu einer verteilten SQL Datenbank)

makandra dev

...makandracards.com/makandra/492109-capybara-running-tests-with-headless-chrome. You might also want to get rid of your local VNC server sudo apt remove tightvncserver. Removed support for serial execution of scenarios tagged with @solo. Serial

...rationale behind this is: Facebook, Google, Twitter, and similar will send information to their servers even when users do not interact with their buttons. This implies tracking the user just...

makandra dev

You'll need openssl-3 or newer for servers running 22.04 Ruby version 3.1 uses by default the gem openssl-3.0.0. This can cause issues with the gem net-ssh...

...this can cause an error while deploying an application with capistrano: could not verify server signature (SSHKit::Runner::ExecuteError) or Ed25519::VerifyError: signature verification failed! As temporary workaround add the...

...more and more memory and prevent the garbage collector from reclaiming memory. This userRepository service caches users once they were loaded from a remote server and, hence, leaks memory:

...example the instance use only 20GB disk space but the disk file on the server has 100GB (or even more). To resize the disk file do the following:

makandra dev

...project_type = :rails generated_images_dir = 'app/assets/images/sprites' Add app/assets/images/sprites to your .gitignore. Restart your server. Move the two images into a new folder app/assets/images/layout/buttons. Change your sass stylesheet to:

...need to index well under 5 million words, FULLTEXT will be fast enough to serve your searches until the project reaches end-of-life. But if you expect your data...

"private": true, "dependencies": { "@rails/webpacker": "^3.0.2", "bought-font": "file:vendor/asset-libs/bought-font" }, "devDependencies": { "webpack-dev-server": "^2.9.5" } } Note the path's prefix file: in the dependency of 'bought-font', which tells...

...character_set_database | latin1 | | character_set_filesystem | binary | | character_set_results | latin1 | | character_set_server | latin1 | | character_set_system | latin1 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+ 8 rows in set (0.01 sec...

...default-character-set is not valid and you need to use character-set-server instead. Check you error log if mysql start leads to a timeout. After this check if...

...value of group_concat_max_len to an insanely high value on every database server your application runs on. Like MAX or COUNT, GROUP_CONCAT is a MySQL aggregation function...

}); Generating a PNG To save the signature as a png on the server, add this to your model (example with Paperclip): class Signature < ActiveRecord::Base HEIGHT = 160

...Unfortunately you will leave the situation broken for future bundle install runs on other servers or workstations. Option 2: Add the missing gems to your Gemfile (your best bet)

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

...This way you can say cap deploy to get the latest code on the server, migrate the database and restart as a default -- if that is what you want...

...AJAX like this: var request = new XMLHttpRequest(); request.open('POST', '/my/url', true); request.onload = function() { console.log("Server responded with %o", request.responseText) }; request.send(formData); In jQuery you would send it like this:

...timestamps that Rails uses by default. So to make sure Cloudfront will not server outdated assets, you have to incorporate a timestamp or something similar into the actual filename. This...

...textarea directly, it will lose its value and never send any changes to the server. // Instead, we use a container element and sync any changes into the textarea. $element.hide() session.setValue...

...SSL, modify config/database.yml and add this: sslca: /path/to/mysql-ssl-ca-cert.pem Ensure only encrypted connections are accepted on server-side. Therefore, run GRANT USAGE ON *.* TO 'encrypted_user'@'%' REQUIRE SSL

railway.at

...option -p tells thin to bind to port 3001. To have a http development server running at the same time, start it with thin start -p 3000. (To run your...