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...
...as expected (which might be compromised e.g. due to security products or enterprise proxy servers...
...you require and Rails will use the vendored version of the gem after a server restart. Unfortunately you need to perform some additional steps to marry Rails and the copied...
...script is aware of vendored gems and will scp-copy them to the remoty server. Without Bundler Don't use gem unpack since the gemspec will be missing. Use this...
...package management system. This example send an email from from@example.com to to@example.com via the server mail23.example.com with the user from@example.com and password mysupersecurepasswordyouneverget for authentication and require the connection to...
$ swaks -tls --to to@example.com --from from@example.com --auth-user from@example.com --server mail23.example.com Password: mysupersecurepasswordyouneverget === Trying mail23.example.com:25... === Connected to mail23.example.com. <- 220 mail23.example.com ESMTP Exim 4.76 Mon, 04 Nov...
...s possible you get this "error" message: *** [err :: example.com] There are no Phusion Passenger-served applications running whose paths begin with '/var/www/example.com'. *** [err :: example.com] This is just because there were...
...no running passenger process for this application on the server which could be restarted. It's not a real error. The application process will start if the first request for...
...attribute has the same effect as a Content-Disposition: attachment header sent by the server. You can also tell Unpoly to treat that one link as a vanilla Javascript link...
...http with https in the Gist link). connect the clients (aka agents) to the server (aka puppetmaster) following these instructions add pluginsync = true to the [main] section of puppet.conf on...
...the clients and the server #Important sudo all the time! If you connect an agent to the puppetmaster once without using sudo and later try to connect using sudo, you...
...make two requests for every page. The browser will first request /foo, then the server will return a redirect to /foo/ (mind the trailing slash), then the browser makes a...
...retrieve the actual HTML. You can probably fix this by configuring your static web server. What we want is: Accessing /foo should directly return the content of /foo/index.html without a...
...trusted, secure machine only. Usually this is your production environment. Run this on the server (not on your machine) as root.\ Replace your-domain.tld with the domain you request the certificate...
...media to your SSL dealer. The key should never be transfered away from the server...
...the bandwidth internally, you can use netcat and dd like this: On your first server: nc -v -l 55333 > /dev/null On your second server: dd if=/dev/zero bs=1024K count...
...rarely, it can happen when the client is attempting the initial connection to the server. In this case, if your connect_timeout value is set to only a few seconds...
...Aborted_connects'. It will increase by one for each initial connection attempt that the server aborts. You may see reading authorization packet as part of the error message; if so...
"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)
...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...
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...
...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...
Capistrano automatically logs each (successful) deployment into a file on your application servers. It is located at the root of your server's project folder, i.e. the parent of releases...
We recently had a problem on a Memcache cluster, where one of the servers showed a significantly worse cache hit rate and a lot more evictions. It turned out that...
...the only reason was that the server was running for a few months longer than the others. Some investigation showed this to be a known problem with Memcache: Once your...
YARD 0.6 adds the ability to serve documentation for gems as well as the current project with yard server. Just like gem server in RubyGems, you can serve gem docs...
...The advantage to YARD’s server is that you don’t need to pre-generate the static docs (with a gem install) before running the server. If you installed your...
...current date in their name, like access.2011-04-20.log, without any need to restart the web server every night (like logrotate does). The last argument above is the rotation time in seconds...
...minutes with a custom shell script. Be advised that in that time frame a server crash (or reboot, if not taken care of) means that those in-memory log files...
...upload the certificate to AWS IAM I get this error: $ aws iam upload-server-certificate --server-certificate-name www.example.com-2013010-2014010 --certificate-body www.example.com.crt --private-key www.example.com.key --certificate-chain www.example.com.ca...
You probably already manage servers you often connect to inside the ~/.ssh/config file. What is nice: you may define alias names for hosts so that you can say something like...
...ssh foobar-staging. This is especially helpful for servers whose hostnames are hard to remember or who don't have a DNS record at all (and must be accessed via...
...are two ways within systemd to manage the fact that you need the gluster service active before mounting the mountpoint. Thus in the past the mount triggered before the gluster...
...service was running and didn't mount again. /etc/fstab You can use the x-systemd.autmount feature which mounts the mountpoint as soon as it's accessed localhost:/shared /gluster/shared glusterfs defaults...
...screen (not strictly necessary, but I had weird clipping issues otherwise). Start a vnc server for your second display with x11vnc -clip xinerama0 -scale 0.8 (or xinerama1 for the second...
...zoom with the scale parameter. Show the screen using vncviewer. Enter localhost as the server. Get accustomed to how this behaves. Mouse movement is a bit weird, because your cursor...
The Angular ngSrc directive serves to properly set an image src via Angular. As anything in Angular, it updates the image as soon as the contained Angular expression changes. However...
...blank" image src when the image is empty. As somebody on Stackoverflow writes, //:0 serves this purpose: It adopts the current protocol, omits the hostname and sets the port to...