...is from a real project: In a long form, a automatically validates against the server when changed. One test changed the , then immediately scrolled down many pages and submitted the...

...JavaScript periodically requests updates from a server to keep a in sync with the latest server-site data. Sometimes the test ended right after a polling request was sent, but...

...this 3rd party website! Now download the older version directly from Google's Download Servers: $ VERSION_STRING="85.0.4183.121-1" # Replace this value with the one you copied earlier

...VERSION_STRING}_amd64.deb" It's possible that Google remove older versions from their download servers and not all listed versions are still present for downloading. Keep in mind that the...

semaphoreci.com

...their custom DSL and use Rake instead. For connecting with and operating on the servers, they bring a new gem SSHKit which does the heavy lifting. It's SSHKit's...

...user setting any more. Set the deploy user directly as an option to the server directive. Also, the roles syntax has become more ruby'esque, and the first server will...

By default, Capistrano truncates server responses and places an ellipsis at the end of lines that are longer than your terminal. Error messages are never truncated. While this can be...

makandra dev
developers.facebook.com

For server-to-server requests to the Facebook Graph API you can skip requesting an Oauth token, an instead use the combination of app_id|app_secret as...

awsdocs.s3.amazonaws.com

...aws-credential-file ./aws-credential.txt The output should look something like this: arn:aws:iam::322191361670:server-certificate/www.example.com arn:aws:iam::322191361670:server-certificate/testCert Now you have to upload...

...and includes the server certificate Amazon Resource Name (ARN) and GUID: arn:aws:iam::322191361670:server-certificate/www.example.com-2011 ASCACexampleKEZUQ4K If you got the error message similar to A client error...

...inaction_mailer. Setup inaction_mailer Install the gem: sudo gem install popthis Start the server: popthis tmp/sent_mails/ # e.g. the folder containing the .txt-mails generated by inaction_mailer Now, configure...

...your mail client as follows: Server: localhost Protocol: POP3 Port: 2220 Username: anything Password: anything

Unless all MySQL server defaults are set to UTF-8, mysqldump encodes UTF-8 characters incorrectly and only outputs correct UTF-8 when you switch to Latin 1 (!). Also you...

...this, make sure your /etc/mysql/my.cnf looks like this: [mysqld] default-character-set = utf8mb4 collation-server = utf8mb4_unicode_ci [mysql] default-character-set=utf8mb4 After that do sudo /etc/init.d/mysql restart

To reduce download time, application servers usually serve content using gzip compression, if the browser supports it. When using a tool like Wget to explicitly download an application's response...

...the server responds with the uncompressed version: wget http://example.com/ If you are curious about the compressed file's size, pass the corresponding HTTP header: wget --header="accept-encoding: gzip...

After you configured your ODBC describe in Fix [RubyODBC]Cannot allocate SQLHENV when connecting to MSSQL 2005 with Ruby 1.8.7...

makandra dev

...ECONNREFUSED or Timeout::Error) Finally you might to be smart in case your Solr server is unreachable (crashed, network unreachable, etc.). Even if you decide not to present a cool...

...Solr on your production machines but run it on top of some Java application server, e.g., Tomcat. So tell your SysOp team that you'll need Solr on staging and...

...and Bundler 1.17.3 with https://rubygems.org/ anymore. This is a result of a server certificate on December 5th, 2020. The resulting errors will look like following: TypeError: can't modify...

...certificate for https://index.rubygems.org/versions. Error fetching data: hostname was not match with the server certificate (https://rubygems.org/*) Fix 1: Use docker and gemstash (recommended for makandra employees)

Switch to MariaDB Remove MySQL: sudo apt remove mysql-common mysql-client mysql-server mysql-apt-config Install MariaDB: sudo apt install mariadb-server mariadb-client mariadb-common libmariadb2...

...liberal SQL mode for your app, you must make sure that all developers, staging server and production server use the same SQL mode...

...tcp -SecurityTypes None &>/dev/null DISPLAY=":6" Your webdriver will now start within a VNC server (which will only listen to your machine). To take a look, open a VNC viewer...

...the tests will keep running. Custom resolution The X session provided by the VNC server can have a custom resolution. Just pass your preferred resolution like this: -geometry 1280x1024

...Cli is working: $ aws iam list-server-certificates { "ServerCertificateMetadataList": [ { "Path": "/", "Arn": "arn:aws:iam::5xxxxxxxxxxx:server-certificate/www.example.com-201307-201407", "ServerCertificateId": "AXXXXXXXXXXXXXXXXXXXX", "ServerCertificateName": "www.example.com-201210-201310", "UploadDate": "2012-10-10T11...

} ] } Upload your certificate: $ aws iam upload-server-certificate --server-certificate-name www.example.com-2013010-2014010 --certificate-body file://www.example.com.crt --private-key file://www.example.com.key --certificate-chain file://www.example.com.ca-bundle { "ServerCertificateMetadata": {

...or RAILS_ENV=env_name if you want to run a script on the server. at Rails 2 it's script/runner bundle exec script/runner -e env_name path/to/script.rb argument1 argument2...

...code from your repository. In order to do so, Capistrano connects to your repository server from the application server you're deploying to with SSH. For this connection you can...

...s ~/.ssh/id_rsa [default] the very same key you used for connecting to the application server - forwarded automatically to the git repository. If you prefer the second way, add this to...

...will tunnel HTTP requests to one given domain and port through an intermediary SSH server: ssh -L 8080:targethost:80 tunnelhost http://localhost:8080 will now connect you to...

github.com

fake_stripe spins up a local server that acts like Stripe’s and also serves a fake version of Stripe.js, Stripe’s JavaScript library that allows you to collect your...

...customers’ payment information without ever having it touch your servers. It spins up when you run your feature specs, so that you can test your purchase flow without hitting Stripe...

web.archive.org

...more information, see the linked page. cap invoke To run shell commands on all servers, you can also use Capistrano's invoke. Its syntax is a bit more complicated:

Here is a hacky way to load dumps directly from the source server, without fully copying them over and extracting them first. It may break horribly for you. This is...

...apt-get install pv Know the location of the dump file on the remote server. We'll use /mnt/dumps/my_project.dump.bz2 in the example below. Find out the size of the (bzipped...

...your keyring or ssh-agent. Your ssh-agent will throw all keys against a server until one matches. Most servers will deny access after 5 attempts. This issue might come...

You can use gem list to list all gems available from a remote gem server: gem list -r --clear-sources -s 'https://user:password@gemserver.tld/' This is useful to debug cases...

If you are a makandra employee and are running your app on makandra servers, you can skip this step. All servers and developer machines at makandra are already configured...

...is not gitignored, or your changes are only valid for your machine, not any servers. Inside a Docker environment, this file might be ignored. How to fix. Globally: