How can I inspect the file system of a failed `docker build`?

Everytime docker successfully executes a RUN command from a Dockerfile, a new layer in the image filesystem is committed. Conveniently you can use those layers ids as images to start a new container. Take the following Dockerfile: FROM busybox RUN echo ‘foo’ > /tmp/foo.txt RUN echo ‘bar’ >> /tmp/foo.txt and build it: $ docker build … Read more

JavaScript console.log causes error: “Synchronous XMLHttpRequest on the main thread is deprecated…”

This happened to me when I was being lazy and included a script tag as part of the content that was being returned. As such: Partial HTML Content: <div> SOME CONTENT HERE </div> <script src=”https://stackoverflow.com/scripts/script.js”></script> It appears, at least in my case, that if you return HTML content like that via xhr, you will cause … Read more

Stop Visual Studio from launching a new browser window when starting debug?

Open your startup project’s properties (Project → {ProjectName} Properties… from the main menu or right click your project in the Solution Explorer and choose Properties), then navigate to the Web tab and under Start Action choose Don’t open a page. Wait for a request from an external application. You will still be able to use … Read more

What does status=canceled for a resource mean in Chrome Developer Tools?

We fought a similar problem where Chrome was canceling requests to load things within frames or iframes, but only intermittently and it seemed dependent on the computer and/or the speed of the internet connection. This information is a few months out of date, but I built Chromium from scratch, dug through the source to find … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)